Explains how YANG data models enable programmatic configuration and operational data collection on network devices, and describes how to access and visualize these models for automated network management.
A YANG data model is a network device configuration and operational data schema that
-
enables programmatic configuration and data collection
-
provides a standardized structure for automation, and
-
supports visualization and exploration for scalable network management
Cisco IOS XR supports programmatic configuration and operational data collection using YANG data models. While CLI-based configurations are easier and more human-readable, model-driven programmability with YANG data models enables automation and scalability.
Accessing and visualizing YANG data models for network automation
Describes how to access and visualize YANG data models for automated network management.
Data models are available in the release image and are also published in the GitHub repository. To view supported data models and their definitions, navigate to the release folder of interest. Each data model defines a complete and cohesive schema or augments an existing model with additional XPaths. For a comprehensive list of supported data models in a release, refer to the Available-Content.md file in the repository.
You can also view data model definitions using the YANG Data Models Navigator tool. This GUI-based tool helps you explore data model structures and view dependencies between containers. You can browse models supported across Cisco IOS XR releases and platforms, locate specific models, and view containers, lists, leaves, and leaf lists in a visual tree structure. This visualization provides insights into nodes that support network automation.
For more information on using data models, refer to the Programmability Configuration Guide.
Example of YANG data model usage
Examples include using YANG data models to automate device configuration, collect operational data, and visualize model structures for scalable network management.