- Since the addition of templates and configurations as separate entities, using templates to hold our general templates for a certain switch model. This includes a full standard deployment config with variables for vlan differences.For example, we are starting our 3750G LCM. So we will take a copy of the config before swapping them out and convert that over to what works with our 3850/3650s and use an entire full config, hard coded essentially, and deploy the new switches using that "configuration".
- The issue as our environment changes, need to update the templates. Would like to delete the old and add the new because of the time stamp and the updates within the template itself. However, unable to delete the templates if they are associated with any rule, failed, pending, or provisioned. Hence ended up with multiple "3850/3650 template" under templates. Would also like to keep a record of all deployments that were done with PNP so wouldn't go an delete every rule once they are provisioned, and deleting rules warns you that it might reset the device .
- Just looking for a solution how the configurations and templates are are meant to be used from the dev's aspects.
Here is the device mentioned in the error when attempting to delete the template:
If you have templates/configs associated with provisioned devices, you should be able to delete them. Devices pending, in error etc. have this restriction in order to prevent dangling configs associated with devices but have been deleted.
You could simply upload the template again without deleting and it will get updated. But if there are new properties added, those will have to be taken care of before trying to provision.
if it helps, you can replace, rather than delete/upload a configuration file. You should be able to do this for templates too.
Rather than delete the file, just select upload, and choose replace.
If we just keep replacing the old version, it is hard to track which device config from which version of the same template if we do not have version control. Obviously, this will be enhancement. Also need to consider if we can have a report on the number of device config generated by which template.