Hi all,
I'm currently working on our new PI 2.0 server and playing a bit with templating features.
Thanks to the VTL markup language I understood that it is possible to "program" some feature based on variable content, state,...
I would like to know if it would be possible to have some access to variables specific to a device. What I would like to do is to create a template that launch command based on the make and model of the device.
For example to save the running-configuration I need to apply the command "do copy run start" on an IOS device whereas on an NXOS device I have to apply the command "copy run start".
I don't want to create two templates (one for NXOS and the other for IOS).
Do you have any clue on doing this and if it is possible ?
Thanks !