What automation and programmability actually cover
This topic tests whether you understand WHY networks are moving away from box-by-box CLI configuration towards centralised, software-driven control. CCNA does not expect you to write code fluently, but you must know the concepts, the architecture, and the key terms.
Traditional networking vs controller-based networking
Traditional networks are managed device-by-device via CLI (SSH/console), which does not scale and is prone to human error and configuration drift. Controller-based (SDN) networks separate the control plane (decision-making, on a central controller) from the data plane (packet forwarding, on the switches/routers). The controller has a network-wide view and pushes configuration to devices via APIs, giving consistency and speed.
Northbound vs southbound APIs
- Northbound API: sits between the controller and the applications/orchestration layer above it (usually REST/HTTP, often using JSON).
- Southbound API: sits between the controller and the physical/virtual devices below it (examples: OpenFlow, NETCONF, OpFlex).
Getting the direction backwards is a very common exam trap - remember 'North looks up to apps, South looks down to devices'.
Data formats and REST APIs
Automation tools exchange structured data, not screen-scraped CLI text. Know the three formats:
- JSON: uses key-value pairs in braces {}, most common in networking APIs.
- XML: uses opening/closing tags like <tag>value</tag>, used heavily by NETCONF.
- YAML: uses indentation and colons, no braces, human-readable, used by Ansible.
REST APIs use standard HTTP methods: GET (read), POST (create), PUT/PATCH (update), DELETE (remove).
Configuration management tools
Three tools are named on the exam - know their model and language:
- Ansible: agentless, uses SSH, playbooks written in YAML, push-based.
- Puppet: agent-based, uses a Ruby-like DSL, pull-based (agent checks in with the master).
- Chef: agent-based, uses Ruby, pull-based, uses 'recipes' and 'cookbooks'.
Agentless (Ansible) is simpler to deploy since nothing extra is installed on the managed device.
Cisco SDN controllers
- Cisco DNA Center: enterprise campus/branch automation and assurance, intent-based networking.
- Cisco SD-WAN (vManage): controller for wide area network overlay/underlay automation.
- Cisco ACI (APIC controller): data centre SDN, uses a policy/application-centric model.
Common mistakes
Students often mix up northbound/southbound, forget that JSON has no closing tags (unlike XML), and confuse push (Ansible/SSH) versus pull (Puppet/Chef, agent-based) automation models. Also remember APIs are typically consumed over HTTPS with authentication tokens, not plain HTTP.
What does SDN stand for and what does it separate?
Software-Defined Networking; it separates the control plane (on a central controller) from the data plane (forwarding, on switches/routers)
tap to reveal
Which direction does a northbound API face?
Up towards applications and orchestration systems, typically using REST/HTTP and JSON
tap to reveal
Which direction does a southbound API face, and name an example protocol
Down towards network devices; example: OpenFlow or NETCONF
tap to reveal
What format uses key-value pairs inside curly braces?
JSON
tap to reveal
What format uses matching opening and closing tags like <tag>value</tag>?
XML
tap to reveal
What format uses indentation and colons with no braces, and which tool uses it?
YAML; used by Ansible playbooks
tap to reveal
What HTTP method is used to create a new resource via REST API?
POST
tap to reveal
What HTTP method is used to read/retrieve data via REST API?
GET
tap to reveal
What HTTP method removes a resource via REST API?
DELETE
tap to reveal
Is Ansible agent-based or agentless, and what protocol does it use to connect?
Agentless; it connects over SSH
tap to reveal
Are Puppet and Chef push-based or pull-based?
Pull-based - an agent on the managed device checks in with a central master/server
tap to reveal
What language does Puppet use, and what does Chef use?
Puppet uses a Ruby-like DSL; Chef uses Ruby (recipes and cookbooks)
tap to reveal
What is Cisco DNA Center used for?
SDN controller for enterprise campus and branch network automation and assurance
tap to reveal
What is Cisco ACI's controller called, and what network domain is it for?
The APIC controller; used for data centre SDN with an application/policy-centric model
tap to reveal
What is Cisco SD-WAN's controller called?
vManage
tap to reveal