09-13-2024 05:59 AM
Hello,
I was already using Day0 templates in PnP mode and I'm starting on DayN templates.
There is something that bothers me and I suppose I'm making a mistake somewhere.
I want to push a specific template for a piece of config, but when I use provisioning, CatalystCenter systematically pushes a part of generic network config inherited from "Network Settings", DNS, domain etc... and I don't know how to not push this part of config. I just want to push my template defined in the DayN project.
Thanks in advance.
Solved! Go to Solution.
09-13-2024 09:41 AM
Hi,
You have several options:
1. Push the template using the 'Provision Template' option under Template Hub
2. Use the 'Provision Template' workflow under Catalyst Center menu -> Workflows -> Provision Templates:
3. Push the template using the Template Programmer API
Adam Radford create a script that utilizes the template programmer API to push templates to target network devices which you can use as a reference. Please note that this script does not support pushing templates that utilize variable binding or system variables:
https://github.com/CiscoDevNet/DNAC-TemplateProgrammer
The options above will only push the template configuration, network intent configuration does not get pushed during these workflows like they do when you execute a Day-N provisioning workflow.
HTH!
09-13-2024 09:41 AM
Hi,
You have several options:
1. Push the template using the 'Provision Template' option under Template Hub
2. Use the 'Provision Template' workflow under Catalyst Center menu -> Workflows -> Provision Templates:
3. Push the template using the Template Programmer API
Adam Radford create a script that utilizes the template programmer API to push templates to target network devices which you can use as a reference. Please note that this script does not support pushing templates that utilize variable binding or system variables:
https://github.com/CiscoDevNet/DNAC-TemplateProgrammer
The options above will only push the template configuration, network intent configuration does not get pushed during these workflows like they do when you execute a Day-N provisioning workflow.
HTH!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide