Pcornel
Networking · Automation & Programmability

Controller-Based Architecture

Cheat sheet · https://pcornel.dk/topic.php?topic=155

Back to the Topic

Answer

Controller-based architecture separates a central controller (policy, configuration, visibility) from the devices that forward traffic. Northbound APIs connect applications to the controller; southbound APIs (NETCONF, RESTCONF, SSH, OpenFlow) connect the controller to devices. Fabrics add an underlay and an overlay.

Remember

Control and management move to the controller; forwarding stays on the devices, so traffic usually keeps flowing if the controller is down — but changes and visibility stop. Underlay = routed transport; overlay = tunnels for virtual networks.

First checks

  • curl -sk -u <user>:<pw> -H 'Accept: application/yang-data+json' https://<device>/restconf/data/ietf-interfaces:interfaces — RESTCONF read.
  • curl -i — HTTP status code and headers (200 OK, 201 Created, 204 No Content, 400, 401, 403, 404).
  • python3 -m json.tool < file.json / jq . file.json — JSON valid and readable.
  • show netconf-yang status / show platform software yang-management process — device API agents running.
  • show ip http server status — HTTPS server for RESTCONF.

Verify in this order

source of truth → data validated → API or tool authenticated → change applied idempotently → state read back → matches intent

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=155

Confirmation

Confirm action

Continue?