Automation · Cisco Automation
Cisco APIs
Cheat sheet · https://pcornel.dk/topic.php?topic=5644
Answer
Cisco APIs include device-level NETCONF, RESTCONF and NX-API, and controller APIs for Catalyst Center (DNA Center), Meraki Dashboard, ACI APIC and SD-WAN Manager, all usable from Python or Ansible.
Remember
- Device APIs: NETCONF, RESTCONF, NX-API, gNMI.
- Controller APIs: Catalyst Center, Meraki, APIC, SD-WAN Manager.
- Controllers give one API for many devices.
First checks
- Catalyst Center (DNA Center) API — intent APIs
- Meraki Dashboard API with API key — cloud-managed
- API rate limits — throttling
Commands
GET /dna/intent/api/v1/network-device- Read Catalyst Center network-device inventory through the Intent API.
GET <sdwan-manager-api-resource>- Read current Catalyst SD-WAN Manager APIs state for a bounded verification step.
Verify in this order
automation → Cisco platform API → devices
Where it usually breaks
Client payload/auth → HTTP transport → endpoint validation/policy → request accepted → queued/job execution → target mutation → effective state → consumer workload.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5644