Chapter 2. Data Model–Driven Management

This chapter covers

  • The operator requirements, leading to the NETCONF and YANG specifications

  • YANG as a data modeling language

  • The data model properties and types

  • The different encodings (XML, JSON, and so on) and protocols (NETCONF, RESTCONF, and so on)

  • The server and client architecture

  • The datastore concept

  • Code rendering from data model–driven management

  • A real-life service scenario, putting all the pieces together

This chapter describes the architecture behind data model–driven management and covers high-level concepts with a minimum of technical detail. Occasionally, specific points are made or examples are given that contain concepts that have not yet been explained. Don’t fret. Chapter 3, “

Get Network Programmability with YANG: The Structure of Network Automation with YANG, NETCONF, RESTCONF, and gNMI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.