04-14-2023 02:38 PM - edited 04-14-2023 02:41 PM
Hello,
Tried assigning a TCL script to add a couple of VLANs to an EXOS switch during ZTP+ discovery. It does not get used.
The script is valid as I know I can run it and select a discovered switch to update which works.
I know ZTP+ does not support Load Configuration templates but thought this could be an alternative to send config during discovery?
Any thoughts appreciated.
Rob
Solved! Go to Solution.
04-17-2023 07:40 AM
Make sure the devices are checking out a license from XIQ, otherwise those Site actions will not happen.
Under Devices, you need to see them getting a tick for XIQ Onboarded, and at least a Pilot license.
04-17-2023 12:40 AM
If I recall correctly, you cannot assign a CLI script under Actions Custom Configuration. TCL should work though I think.
Python does work; maybe you might find this workflow useful:
https://github.com/extremenetworks/ExtremeScripting/tree/master/XMC_XIQ-SE/oneview_workflows
"Apply Config Template"
04-17-2023 04:05 AM - edited 04-17-2023 04:13 AM
Thanks Ludovico, I'll try the workflow. My TCL script did not work which was to add VLANs to the EXOS config but as Ryan pointed out it is possible to do this by adding the VLANs to the Site. I could also assign VLANs using Port Templates by device and port.
For some reason ZTP+ discovery did not add the new device to Control or Default Policy Domain which I expected it to as the checkboxes are ticked to do that. Even when I manually Add the device and choose Run Site's Add Actions it doesn't add to Access Control>Switches and the Policy Domain.
Rob
04-17-2023 07:40 AM
Make sure the devices are checking out a license from XIQ, otherwise those Site actions will not happen.
Under Devices, you need to see them getting a tick for XIQ Onboarded, and at least a Pilot license.
04-17-2023 05:14 AM
After I reconnected my XIQ-SE to Cloud IQ the Site Actions started working.