06-04-2021 12:59 AM
Dear All,
Hope you are well.
For our customer we are automating the device provisioning in DNAC.
When the device is in the inventory in the section of unassigned devices, if configured via the DNAC GUI, it shows three steps:
1. assign to a site,
2. shows the template(s) to be deployed
3. summary of the network settings such as DNS, DHCP, AAA, etc to be configured in the switch
We want automate those steps, we were able to implement the first two and we are missing the API for the last point. Or perhaps we are missing something?
1. assign it to a site (API > Sites > Assign device to site: /dna/system/api/v1/site/{siteId}/device)
2. deploy a template (API > Configuration templates > Deploy template: /dna/intent/api/v1/template-programmer/template/deploy)
3. have the device to be configured with the network settings, such as DNS, DHCP, AAA, etc of the site (which were inherited from the global settings). (API ?)
We have looked into the API > Network settings, however there it only pertains to the site itself and not to the devices in that site. Perhaps I am missing something?
Via APIs, we are missing the network config in the switch.
Via DNAC GUI, the DNS, DHCP, AAA, NTP, etc it is configured.
Thank you for your input, appreciate.
Solved! Go to Solution.
06-04-2021 05:24 AM
What you're trying to do appears to be a device provision workflow (site settings are pushed to the device) - from a GUI perspective, the workflow includes assigning the device to a site (based on which DNAC settings are derived), assigning a template to the device and finally a summary of all of this.
There is no API for this currently - it was roadmapped some time back and eventually committed. It should be available with the next GA release for the DNAC (this should be 2.2.2.4, I believe).
06-04-2021 05:24 AM
What you're trying to do appears to be a device provision workflow (site settings are pushed to the device) - from a GUI perspective, the workflow includes assigning the device to a site (based on which DNAC settings are derived), assigning a template to the device and finally a summary of all of this.
There is no API for this currently - it was roadmapped some time back and eventually committed. It should be available with the next GA release for the DNAC (this should be 2.2.2.4, I believe).
06-04-2021 05:58 AM
Thank you Aninda for the information.
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