This guide explains how to use YANG models, NETCONF, and gRPC to programmatically configure the Cisco NCS 1004 router.
This document serves as a configuration guide for the Cisco NCS 1004 router, focusing on data models for programmatic and standards-based configuration. It details the use of the YANG data modeling language to automate network operations, replacing traditional manual CLI methods with scalable, scriptable approaches using protocols like NETCONF and gRPC.
The guide covers the structure of YANG models, supported models specific to the NCS 1004 hardware, and provides instructions on enabling NETCONF and gRPC. It includes specific configuration examples for features such as slices, optics controllers, Ethernet, and coherent DSP controllers, as well as support for OpenConfig models.
| Supported YANG Models | Cisco-IOS-XR-osa-oper, Cisco-IOS-XR-osa-cfg, Cisco-IOS-XR-controller-optics-oper, Cisco-IOS-XR-controller-optics-cfg, Cisco-IOS-XR-pmengine-oper, Cisco-IOS-XR-pmengine-cfg, Cisco-IOS-XR-ethernet-lldp-oper, Cisco-IOS-XR-ethernet-lldp-cfg |
|---|
Data models allow for the automation of configuration of multiple routers across the network using a programmatic and standards-based way of writing configurations.
NETCONF and gRPC provide a mechanism to exchange configuration and operational data between a client application and a router.