cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1235
Views
25
Helpful
2
Replies

DNAC API to provision site network settings to device

Taniadv
Level 1
Level 1

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.

 

1 Accepted Solution

Accepted Solutions

Aninda Chatterjee
Cisco Employee
Cisco Employee

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).

View solution in original post

2 Replies 2

Aninda Chatterjee
Cisco Employee
Cisco Employee

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).

Thank you Aninda for the information.