I recently posted this in another forum, but thought it could be helpful here. The idea is to automate the following:
-Add device to inventory in DNAC
-Assign NAD to site in DNAC
-Update unique NAD fields in ISE so that authz policies were not conflicting
-Provision device to fabric
-Provision interfaces for host onboarding for user devices and closed auth template
At the moment the first three tasks have been successfully completed, and tested (code below). Unfortunately, there is a current bug relating to the siteNameHierarchy field that is needed in order to leverage other APIs that Cisco is aware of and tracking that creates an issue with task/phase 4 (Provision device to fabric). Note: I have been advised that if your siteName has no spaces that you should not hit the bug. Also, I have yet to attempt to tackle task 5 since hitting the bug, and the api throttling concerns. We have found that this saves a decent amount of time and decreases user interaction with the DNAC admin gui.
However, due to tasks 4/5 not being completed there are two manual steps needed which include an admin provisioning the NAD to fabric, and configuring interfaces for onboarding purposes via the DNAC gui.
Note: Script works when an edge node is deployed to field with already configured underlay configs. Also, be careful when tweaking ISE json fields as you may encounter issues with overwriting NAD information already received in ISE from DNAC via pxgrid after assigning to site. Lastly other items will be unique in DNAC db such as site id.
Hi Everybody! I am trying to get the configuration from a nexus 9000v virtualized in my home lab, I am always getting this error. Exception has occurred: RPCError
File "C:\4_4 Modernizing_Netwo...
I'm able to pull the topology using the API GEThttps://n.n.n.n/api/node/mo/topology/pod-1.json?query-target=children&target-subtree-class=fabricNode(after authenticating and getting a cookie, of course) But the version field is empty. I don't see...
FOSDEM is a truly unique experience and arguably the best open source conference of the year. It is a weekend event (February 1-2 this year) organized by open source enthusiasts to promote the widespread use of free and open source software...