Courseiva

CCNA 200-301 study guide

Appendix I: Programmability and Controllers

REST APIs, NETCONF, YANG, XML, Python, Puppet and Chef, DNA Center and intent-based networking from the pre-v2.0 blueprint.

Programmability was a heavy topic in earlier CCNA versions, and parts of it remain beyond the v2.0 blueprint, so this appendix is supplementary reading after Chapters 28 and 30.

It begins with Cisco DNA Center, now Catalyst Center, and intent-based networking, showing how a controller translates business intent into device configuration. REST APIs are covered next: methods, status codes, data formats, authentication tokens and OAuth, with a lesson on testing APIs with Postman, and a lesson on automating networks with Python.

The remaining lessons cover model-driven interfaces, including NETCONF, RESTCONF and YANG data models, a comparison of XML and JSON, and the configuration management tools Puppet and Chef.

You do not need these for the v2.0 exam, but they explain how controllers and automation platforms talk to devices and are useful if you move toward network automation work. The data formats in Chapter 30 are a prerequisite, and a working knowledge of JSON will make the API lessons much easier to follow.

10 lessons (10 concept) · about 4.2 hours · Johnson Ajibi

Beyond the v2.0 blueprint: not tested on the current exam.

What you will learn

  • Use REST APIs
  • Describe NETCONF and YANG
  • Describe controller platforms

Sections

Read in order: concepts first, then how to configure and verify, then troubleshooting and exam traps.

  1. I.1
    Cisco DNA Center (Catalyst Center)

    So far this book has configured devices one at a time; Appendix I turns to controller-based management, where software configures many devices from one place.

    Concept25m
  2. I.2
    Intent-Based Networking

    The DNA Center section showed one controller in practice; this section explains the idea behind it.

    Concept25m
  3. I.3
    REST APIs for Networking

    Intent-based controllers and automation scripts both drive the network through APIs, and the dominant style of API is REST.

    Concept25m
  4. I.4
    API Authentication Tokens and OAuth

    The REST section showed how API calls are built; this section covers how they prove who is calling.

    Concept25m
  5. I.5
    Testing REST APIs with Postman

    The authentication section explained how API requests prove who is calling; this section puts that into practice with Postman, a graphical client that builds HTTP requests and…

    Concept25m
  6. I.6
    Python Network Automation

    Postman lets you try an API call by hand; Python lets you repeat it across hundreds of devices.

    Concept25m
  7. I.7
    NETCONF and RESTCONF

    The Python section showed scripts driving devices over SSH and REST; NETCONF and RESTCONF are the model-driven protocols that make those interactions structured.

    Concept25m
  8. I.8
    YANG Data Modelling

    NETCONF and RESTCONF carry data, but the structure of that data comes from YANG.

    Concept25m
  9. I.9
    XML vs JSON in Network Automation

    YANG defines the structure of network data; XML and JSON are the two text encodings that carry it.

    Concept25m
  10. I.10
    Puppet and Chef for Network Automation

    The data formats in the last section are what configuration-management tools read and write at scale.

    Concept25m

Key terms

Practice

Check what you learned in this chapter with free CCNA 200-301 practice questions and full explanations.

CCNA 200-301 practice questions

Book contents