cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1466
Views
2
Helpful
5
Replies

Automation of onboarding

dbsysadmin
Level 1
Level 1

I have a large list of sites that I need to add to DNA, is there an api call to do this? I haven't seen one in the documentation.

5 Replies 5

Farhan Mohamed
Cisco Employee
Cisco Employee

There is a way to onboard devices in DNA center. Please see the link for user guide for device onboarding process, there are every step for every device listed: https://www.cisco.com/c/en/us/td/docs/cloud-systems-management/network-automation-and-management/dna-center/1-1/user_guide/b_dnac_ug_1_1/b_dnac_ug_1_1_chapter_0111.html If you want to onboard sites, or all devices and everything updated in sites earlier I would ask you, did you do that using prime?, if yes: then you can upload CSV file for that purpose thats for prime customer 3.2 and above. Let me know if you have any questions. All the functions of prime are integrated into DNA center, so you can get all the same capabilities in here.

I have created the sites and building programmatically in DNAC, what I am looking to do now is when I scan for new devices automatically add them to the appropriate site via api, we have a lot of sites to add and running manual steps will be very time consuming.

There are a couple of different APIs that will provide the functionality you are looking for:

1. api/v1/discovery - provides the ability to create and trigger a discovery. 

2. api/v1/group/{id}/member - add a device to a site

You should be able to find the APIs - https://{{your_dna_center}}/dna/apitester

Jeff

Thank you I will try this, I may have further questions.

That is possible by using the discovery feature. I get that you have large list of sites and want to add devices to different sites, Well we have a perfect tool for that is Discovery, there are two ways one is by CDP , Other is IP address range. This way you can search devices available in those sites which will be automatically discovered and available in the dashboard, if you want you can also filter out devices not to be included. Hope this helps.

Review Cisco Networking for a $25 gift card