New and Changed Feature Information

This section lists all the new and changed features for the Programmability Configuration Guide.

New and Changed Programmability Features

Feature Description Changed in Release Where Documented

New additions to CLI-based data models

CLI-based YANG data models, also known as unified configuration models were introduced in Cisco IOS XR, Release 7.0.1. The new set of unified YANG config models are generated from CLI command definitions. In this release, the support is extended for new additional CLI-based YANG data models.

Release 7.2.1

Access the Data Models

You can also obtain the CLI-based data models from Github repository.

Support for <with-defaults> capability to retrieve default data from data nodes.

The default parameters of a data node can be retreived using a NETCONF protocol operation that includes the <with-default> capability.

Release 7.2.1

Retrieve Default Parameters Using with-defaults Capability
gNMI TARGET_DEFINED subscription mode

Support for gNMI TARGET_DEFINED subscription mode.

Release 7.2.1

gRPC Network Management Interface

Export LLDP output via gRPC

Export LLDP output via gRPC

Release 7.2.1

Use gRPC Protocol to Define Network Operations with Data Models

gRPC Network Operations Interface (gNOI)

gNOI defines a set of gRPC-based microservices for executing operational commands on network devices. Extensible Manageability Services (EMS) gNOI is the Cisco IOS XR implementation of gNOI.

gNOI supports for the following new remote procedure calls (RPCs):
  • Interface
    • SetLoopbackMode

    • GetLoopbackMode

    • ClearInterfaceCounters

  • Layer2
    • ClearLLDPInterface

  • BGP
    • ClearBGPNeighbor

Release 7.2.1

Use gRPC Protocol to Define Network Operations with Data Models chapter

gRPC Network Operations Interface

Install label support for oc-platform data model

Support to display label information about the software version for openconfig-platform data model.
For example, in the data model, the component OPERATING_SYSTEM displays information about the label.
</component>
 <component>
  <name>IOSXR-NODE 0/RP0/CPU0</name>
   <config>
    <name>0/RP0/CPU0</name>
   </config>
   <state>
    <name>0/RP0/CPU0</name>
    <type xmlns:idx="http://openconfig.net/yang/
     platform-types">
     idx:OPERATING_SYSTEM</type>
    <location>0/RP0/CPU0</location>
    <description>IOS XR Operating System</description>
    <software-version>7.2.1</software-version>
    <removable>true</removable>
    <oper-status xmlns:idx="http://openconfig.net/yang/
     platform-types">
    idx:ACTIVE</oper-status>
   </state>
The following example shows the gRPC or gNMI output:

"IOSXR-NODE 0/RP0/CPU0": {
"state": {
"description": "IOS XR Operating System",
"location": "0/RP0/CPU0",
"name": "0/RP0/CPU0",
"oper-status": "openconfig-platform-types:ACTIVE",
"removable": true,
"software-version": "7.2.1",
"type": "openconfig-platform-types:OPERATING_SYSTEM"
},
"subcomponents": {
"subcomponent": {
"<platform>-iosxr-infra-1.0.0.2-r721": {
"state": {
"name": "<platform>-iosxr-infra-1.0.0.2-r721"
}
}

Release 7.2.1

Drive Network Automation Using Programmable YANG Data Models chapter

YANG Data Model