SDN AND AUTOMATION · FUNDAMENTALS OF NETWORK PROGRAMMABILITY · CHAPTER 7

Reasons for network programmability

Why the CLI does not scale and why the future is APIs.

7 min readCourse: Fundamentals of Network ProgrammabilityLevel: Intermediate
AGLE methodSelf-studyAll the chapter text, at your pace.

Reducing deployment time

APIs are needed on devices, but legacy gear does not support them. SNMP is for monitoring, not for configuration. Provisioning must go «from months to minutes» in networks and «from hours to seconds» in the cloud. Providers cannot tolerate long testing times and demand a quick smoke test of features.

Traditional vs. controller-based networkIn traditional management, the admin configures each box by hand over the CLI: it does not scale, every device is an island and one change means touching dozens of boxes. In the controller-based model, a central controller programs the whole network at once by software, with a single source of truth.CLI, DEVICE BY DEVICE vs CENTRAL CONTROLLERTRADITIONALAdministratorCLI to each boxCONTROLLER-BASEDAdministratorControllerPrograms the whole network

From the box-by-box CLI to software control. Diagram: The House of Routing.

The CLI is not the norm

The CLI is not the scalable way to add features in production. It is not an API: it is not standardized across vendors, it does not produce structured output another system can consume, and it forces you to touch many heterogeneous devices. It is why the network has not evolved at the pace of other IT areas.

«If a feature cannot be automated, then it doesn’t exist.»

Add hardware disaggregation and white-boxes: buy BGP from one vendor, the IGP from another and AAA from another, on generic Linux-based hardware. In short: the network seen as a business enabler.

What you take away

  • APIs are needed; legacy gear does not support them and SNMP does not configure.
  • Provisioning must go from months to minutes (and from hours to seconds in the cloud).
  • The CLI is not an API: not standardized, no structured output, does not scale.
  • «If a feature can’t be automated, it doesn’t exist». The future: white-boxes and disaggregation.

The next chapter dives into APIs.

AGLE methodContinuous assessmentQuestions to gauge your progress.

Challenge

Answer before opening the solution.

1. What is SNMP for and not for?

It is for monitoring, not for configuration.

2. Why does the CLI not scale for automation?

Because it is not an API: not standardized across vendors and it gives no structured output consumable by another system.

3. What phrase sums up the rule of programmability?

«If a feature cannot be automated, it doesn’t exist.»

4. What is hardware disaggregation (white-boxes)?

Buying each function from a different vendor (BGP, IGP, AAA) and running it on generic Linux-based hardware.

Resources

Links to go deeper outside this portal.

From the author

Documentation and practice

Source and credits. Course built from Jesús Espinoza’s «Fundamentals of Network Programmability» material (The House of Routing), paraphrased and expanded. Text written with AI assistance; original diagrams by The House of Routing. Checked against Cisco’s official documentation and industry standards.

Navigate