I have an issue with the REST-API interface, the DNA-C returns in HTTP in stead of JSON. I already tried the header with Content-Type:application/json and Accept:application/json.
Authentication/Authorization is ok, I receive a X-JWT-ACCESS-TOKEN cookie. The return is in HTML in stead of JSON.
We have an DNA Center cluster that I'm running the request against.
to be more specific, I'm trying to run a GET on https://dnac.internaldomain/dna/intent/api/v1/network-health against my DNA Center where dnac.internaldomain is a dns name pointing towards my dna center cluster. This request rewards me with a nice "No such page" from my DNA Center.
The Gear icon --> API Documentation page does not show the intent APIs so I suspect that these APIs is not implemented yet.
The DNA Center I'm testing against is running version 1.2.2
Should the intent APIs be available with the 1.2.2 release or are these scheduled for a later release?
We promised our CMDB friends that DNAC would provide a complete Hardware Inventar of the Cisco Equipment, with an easy intent API.... However now playing with the intent API's we get not further as an overview of the Modules and Supervisor..
We should use the command runner to get power supply, Fan, etc. out of the "system", with creating a task, run the task and read the provides File..
Is this the easiest way to fill the CMDB with CI's from DNAC?
We are trying to figure out how we can claim an new unclaimed device via API in DNAC 1.3.0.3. With APIC-EM we created a script that automatically provisioned a new unclaimed device without knowing the Serial Number before.
The script collected all the info from the new device and info from a csv file to generate the right config for this switch.
Now we are migrating from APIC-EM to DNAC so we need to create a new script.
I'm currently trying to figure out how to CLAIM a new unclaimed device...
In documentation I find how to claim a device that has been pre-provisioned, but how can I claim a device that already exists as an unclaimed device in DNAC? To claim a device I need info like a workflowId which I'm not able to find or create.
Any suggestions?
Kind regards,
Sven
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: