Install Label in oc-platform Data Model
The openconfig-platform (oc-platform.yang) data model is enhanced to provide the following data:
-
IOS XR software version (optionally with GISO label)
-
Type, description, operational status of the component. For example, a CPU component reports its utilization, temperature or other physical properties.
-
List of the committed IOS XR packages
Router#show run
Building configuration...
!! IOS XR Configuration version = 7.3.2
!! Last configuration change at Tue Sep 7 16:18:14 2016 by USER1
!
......
......
netconf-yang agent ssh
ssh server netconf vrf default
interface MgmtEth 0/RP0/CPU0/0
no shut
ipv4 address dhcp
The following example shows the enhanced OPERATING_SYSTEM
node component (line card or route processor) of the oc-platform data model:
<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.3.2</software-version> -----------------------> Label Info
<removable>true</removable>
<oper-status xmlns:idx="http://openconfig.net/yang/platform-types">idx:ACTIVE</oper-status>
</state>
<subcomponents>
<subcomponent>
<name><platform>-af-ea-7.3.2v1.0.0.1</name>
<config>
<name><platform>-af-ea-7.3.2v1.0.0.1</name>
</config>
<state>
<name><platform>-af-ea-7.3.2v1.0.0.1</name>
</state>
</subcomponent>
...
OPERATING_SYSTEM_UPDATE
package component (RPMs) of the oc-platform data model:<component>
<name>IOSXR-PKG/1 <platform>-isis-2.1.0.0-r732</name>
<config>
<name><platform>-isis-2.1.0.0-r732</name>
</config>
<state>
<name><platform>-isis-2.1.0.0-r732</name>
<type xmlns:idx="http://openconfig.net/yang/platform-types">idx:OPERATING_SYSTEM_UPDATE</type>
<description>IOS XR Operating System Update</description>
<software-version>7.3.2</software-version>-----------------------> Label Info
<removable>true</removable>
<oper-status xmlns:idx="http://openconfig.net/yang/platform-types">idx:ACTIVE</oper-status>
</state>
</component>
Associated Commands
-
show install committed—Shows the committed IOS XR packages.
-
show install committed summary—Shows a summary of the committed packages along with the committed IOS XR version that is displayed as a label.