6.4 Describe the Catalyst Center and SD-WAN Manager APIs

ENCOR 350-401 v1.2 · 6.0 Automation and Artificial Intelligence

Cisco's controllers expose everything through REST APIs. Catalyst Center offers an intent API for campus inventory, sites, assurance and provisioning; SD-WAN Manager offers APIs for devices, templates, policies and real-time monitoring. ENCOR expects you to describe what each API offers and how a script authenticates to it.

What you must know

Catalyst Center intent API

Authenticate with basic authentication to POST /dna/system/api/v1/auth/token, then send the token in X-Auth-Token. The intent API is grouped by domain: Know Your Network (devices, sites, clients, topology, health), Site Management (sites, provisioning, PnP, software images), Operational Tools (command runner, templates, path trace) and Connectivity. Long operations return a task ID to poll; events can be pushed to webhooks, email or ITSM tools.

The same script reads campus health from Catalyst Center (1) and the WAN edge inventory from SD-WAN Manager (2).

SD-WAN Manager API

Log in with POST /j_security_check (username and password as form data); the answer sets a JSESSIONID cookie. Then GET /dataservice/client/token returns an XSRF token that must accompany every POST, PUT and DELETE. Resources live under /dataservice/: device (inventory and status), template (device and feature templates), statistics (interface, app-route, DPI), device/control/connections, and policy objects. Newer releases also support OAuth-style tokens.

Commands

POST /dna/system/api/v1/auth/tokenCatalyst Center: get a token.
GET /dna/intent/api/v1/network-deviceCatalyst Center: device inventory.
POST /j_security_checkSD-WAN Manager: log in (session cookie).
GET /dataservice/deviceSD-WAN Manager: device list.

Exam traps

Check yourself

Which header carries the Catalyst Center token?
X-Auth-Token.
What does SD-WAN Manager require in addition to the session cookie for a POST?
The X-XSRF-TOKEN header from /dataservice/client/token.
A Catalyst Center call returns a task ID. What next?
Poll the task API with that ID until it reports completion and the result.

More topics in 6.0 Automation and Artificial Intelligence