This module contains a collection of YANG definitions for Cisco IOS-XR platform-inventory package operational data. This module...
Version: 2020-05-14
module Cisco-IOS-XR-platform-inventory-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-platform-inventory-oper"; prefix platform-inventory-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-platform-inventory-oper-sub1 { revision-date "2020-05-14"; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR platform-inventory package operational data. This module contains definitions for the following management objects: platform-inventory: Inventory operational data Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-05-14" { description "New model, replaces Cisco-IOS-XR-plat-chas-invmgr-ng-oper"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.0.0"; grouping PORT-SLOT-TABLE { description "Common node of card, module"; container port-slots { description "Table of port slots"; list port-slot { key "name"; description "Port slot number"; leaf name { type xr:Cisco-ios-xr-string; description "Port slot name"; } uses PORT-TABLE; uses INVENTORY-COMMON-SENSOR-TABLE; uses INVENTORY-COMMON-ATTRIBUTES; } // list port-slot } // container port-slots } // grouping PORT-SLOT-TABLE grouping SLOT-TABLE { description "Common node of rack, rack"; container slots { description "Table of slots"; list slot { key "name"; description "Slot name"; container cards { description "Table of cards"; list card { key "name"; description "Card number"; container hardware-information { description "HardwareInformationDir"; container processor-information { description "ProcesorInformation"; uses INV-PROCESSOR; } // container processor-information container motherboard-information { description "MotherboardInformation"; uses INV-XML-MOTHERBOARD-INFO; } // container motherboard-information container bootflash-information { description "BootflashInformation"; uses INV-BOOTFLASH; } // container bootflash-information container disk-information { description "DiskInformation"; uses INV-XML-DISK-INFO; } // container disk-information } // container hardware-information container sub-slots { description "Table of subslots"; list sub-slot { key "name"; description "Subslot number"; container module { description "Module of a subslot"; uses PORT-SLOT-TABLE; uses INVENTORY-COMMON-SENSOR-TABLE; uses INVENTORY-COMMON-ATTRIBUTES; } // container module leaf name { type xr:Cisco-ios-xr-string; description "Subslot name"; } uses INVENTORY-COMMON-ATTRIBUTES; } // list sub-slot } // container sub-slots container modules { description "Table of modules"; list module { key "module-name"; description "A module"; container sub-modules { description "Table of Sub Module components "; list sub-module { key "name"; description "Sub Module component number"; container sub-module-l2s { description "Table of Sub Module components "; list sub-module-l2 { key "name"; description "Sub Module component number"; container sub-module-l3s { description "Table of Sub Module components "; list sub-module-l3 { key "name"; description "Sub Module component number"; container sub-module-l4s { description "Table of Sub Module components "; list sub-module-l4 { key "name"; description "Sub Module component number"; container sub-module-l5s { description "Table of Sub Module components "; list sub-module-l5 { key "name"; description "Sub Module component number"; leaf name { type xr:Cisco-ios-xr-string; description "HW component name"; } uses INVENTORY-EXT2-OPER-SENSOR-TABLE; uses INVENTORY-EXT2-OPER-ATTRIBUTES; uses INVENTORY-EXT2-OPER-HW-COMPONENT-TABLE; } // list sub-module-l5 } // container sub-module-l5s leaf name { type xr:Cisco-ios-xr-string; description "HW component name"; } uses INVENTORY-EXT2-OPER-SENSOR-TABLE; uses INVENTORY-EXT2-OPER-ATTRIBUTES; uses INVENTORY-EXT2-OPER-HW-COMPONENT-TABLE; } // list sub-module-l4 } // container sub-module-l4s container ports { description "Table of spirit port slots"; list port { key "name"; description "Port number"; leaf name { type xr:Cisco-ios-xr-string; description "Port name"; } uses INVENTORY-EXT2-OPER-ATTRIBUTES; } // list port } // container ports leaf name { type xr:Cisco-ios-xr-string; description "HW component name"; } uses INVENTORY-EXT2-OPER-SENSOR-TABLE; uses INVENTORY-EXT2-OPER-ATTRIBUTES; uses INVENTORY-EXT2-OPER-HW-COMPONENT-TABLE; } // list sub-module-l3 } // container sub-module-l3s leaf name { type xr:Cisco-ios-xr-string; description "HW component name"; } uses INVENTORY-EXT2-OPER-SENSOR-TABLE; uses INVENTORY-EXT2-OPER-ATTRIBUTES; uses INVENTORY-EXT2-OPER-HW-COMPONENT-TABLE; } // list sub-module-l2 } // container sub-module-l2s container ports { description "Table of spirit port slots"; list port { key "name"; description "Port number"; container port-modules { description "Table of Module components "; list port-module { key "name"; description "POrt Module component number"; leaf name { type xr:Cisco-ios-xr-string; description "module name"; } uses ATTRIBUTES; } // list port-module } // container port-modules leaf name { type xr:Cisco-ios-xr-string; description "Port name"; } uses ATTRIBUTES; uses INVENTORY-EXT1-OPER-HW-COMPONENT-TABLE; } // list port } // container ports leaf name { type xr:Cisco-ios-xr-string; description "HW component name"; } uses SENSOR-TABLE; uses ATTRIBUTES; uses INVENTORY-EXT1-OPER-HW-COMPONENT-TABLE; } // list sub-module } // container sub-modules leaf module-name { type xr:Cisco-ios-xr-string; description "Module name"; } uses SENSOR-TABLE; uses ATTRIBUTES; uses INVENTORY-EXT1-OPER-HW-COMPONENT-TABLE; } // list module } // container modules leaf name { type xr:Cisco-ios-xr-string; description "Card name"; } uses PORT-TABLE; uses PORT-SLOT-TABLE; uses HW-COMPONENT-TABLE; uses INVENTORY-COMMON-SENSOR-TABLE; uses INVENTORY-COMMON-ATTRIBUTES; } // list card } // container cards leaf name { type xr:Cisco-ios-xr-string; description "Slot name"; } uses INVENTORY-COMMON-ATTRIBUTES; } // list slot } // container slots } // grouping SLOT-TABLE grouping SENSOR-TABLE { description "Common node of module, sub-module, hw-component"; container sensors { description "Table of sensors"; list sensor { key "name"; description "Sensor number"; leaf name { type xr:Cisco-ios-xr-string; description "Sensor name"; } uses ATTRIBUTES; } // list sensor } // container sensors } // grouping SENSOR-TABLE grouping INVENTORY-EXT2-OPER-SENSOR-TABLE { description "Common node of module, sub-module, hw-componentCommon node of hw-component, sub-module-l2, sub-module-l3, sub-module-l4, sub-module-l5"; container sensors { description "Table of sensors"; list sensor { key "name"; description "Sensor number"; leaf name { type xr:Cisco-ios-xr-string; description "Sensor name"; } uses INVENTORY-EXT2-OPER-ATTRIBUTES; } // list sensor } // container sensors } // grouping INVENTORY-EXT2-OPER-SENSOR-TABLE grouping INVENTORY-COMMON-SENSOR-TABLE { description "Common node of module, sub-module, hw-componentCommon node of hw-component, sub-module-l2, sub-module-l3, sub-module-l4, sub-module-l5Common node of card, module, hw-component, port-slot, ports"; container sensors { description "Table of sensors"; list sensor { key "name"; description "Sensor number"; leaf name { type xr:Cisco-ios-xr-string; description "Sensor name"; } uses INVENTORY-COMMON-ATTRIBUTES; } // list sensor } // container sensors } // grouping INVENTORY-COMMON-SENSOR-TABLE grouping PORT-TABLE { description "Common node of port-slot, card"; container portses { description "Table of port slots"; list ports { key "name"; description "Port number"; leaf name { type xr:Cisco-ios-xr-string; description "Port name"; } uses HW-COMPONENT-TABLE; uses INVENTORY-COMMON-SENSOR-TABLE; uses INVENTORY-COMMON-ATTRIBUTES; } // list ports } // container portses } // grouping PORT-TABLE grouping HW-COMPONENT-TABLE { description "Common node of card, ports"; container hw-components { description "Table of HW components "; list hw-component { key "name"; description "HW component number"; leaf name { type xr:Cisco-ios-xr-string; description "HW component name"; } uses INVENTORY-COMMON-SENSOR-TABLE; uses INVENTORY-COMMON-ATTRIBUTES; } // list hw-component } // container hw-components } // grouping HW-COMPONENT-TABLE grouping INVENTORY-EXT1-OPER-HW-COMPONENT-TABLE { description "Common node of card, portsCommon node of module, sub-module, port"; container hw-components { description "Table of HW components "; list hw-component { key "name"; description "HW component number"; leaf name { type xr:Cisco-ios-xr-string; description "HW component name"; } uses SENSOR-TABLE; uses ATTRIBUTES; } // list hw-component } // container hw-components } // grouping INVENTORY-EXT1-OPER-HW-COMPONENT-TABLE grouping INVENTORY-EXT2-OPER-HW-COMPONENT-TABLE { description "Common node of card, portsCommon node of module, sub-module, portCommon node of sub-module-l2, sub-module-l3, sub-module-l4, sub-module-l5"; container hw-components { description "Table of HW components "; list hw-component { key "name"; description "HW component number"; leaf name { type xr:Cisco-ios-xr-string; description "HW component name"; } uses INVENTORY-EXT2-OPER-SENSOR-TABLE; uses INVENTORY-EXT2-OPER-ATTRIBUTES; } // list hw-component } // container hw-components } // grouping INVENTORY-EXT2-OPER-HW-COMPONENT-TABLE grouping INVENTORY-EXT3-OPER-HW-COMPONENT-TABLE { description "Common node of card, portsCommon node of module, sub-module, portCommon node of sub-module-l2, sub-module-l3, sub-module-l4, sub-module-l5Common node of backplane, module"; container hw-components { description "Table of HW components "; list hw-component { key "name"; description "HW component number"; leaf name { type xr:Cisco-ios-xr-string; description "HW component name"; } uses INVENTORY-EXT3-OPER-ATTRIBUTES; } // list hw-component } // container hw-components } // grouping INVENTORY-EXT3-OPER-HW-COMPONENT-TABLE grouping ATTRIBUTES { description "Common node of module, sub-module, sensor, hw-component, port, port-module"; container attributes { description "Attributes"; container basic-info { description "Entity attributes"; uses INV-XML-ENTITY-BASIC-INFO; } // container basic-info container fru-info { description "Field Replaceable Unit (FRU) attributes"; uses INV-XML-FRU-INFO; } // container fru-info } // container attributes } // grouping ATTRIBUTES grouping INVENTORY-EXT2-OPER-ATTRIBUTES { description "Common node of module, sub-module, sensor, hw-component, port, port-moduleCommon node of sub-module-l2, sub-module-l3, sub-module-l4, sub-module-l5, sensor, hw-component, port"; container attributes { description "Attributes"; container basic-info { description "Entity attributes"; uses INV-XML-ENTITY-BASIC-INFO; } // container basic-info container fru-info { description "Field Replaceable Unit (FRU) attributes"; uses INV-XML-FRU-INFO; } // container fru-info } // container attributes } // grouping INVENTORY-EXT2-OPER-ATTRIBUTES grouping INVENTORY-EXT3-OPER-ATTRIBUTES { description "Common node of module, sub-module, sensor, hw-component, port, port-moduleCommon node of sub-module-l2, sub-module-l3, sub-module-l4, sub-module-l5, sensor, hw-component, portCommon node of backplane, module, hw-component"; container attributes { description "Attributes"; container basic-info { description "Entity attributes"; uses INV-XML-ENTITY-BASIC-INFO; } // container basic-info container fru-info { description "Field Replaceable Unit (FRU) attributes"; uses INV-XML-FRU-INFO; } // container fru-info } // container attributes } // grouping INVENTORY-EXT3-OPER-ATTRIBUTES grouping INVENTORY-COMMON-ATTRIBUTES { description "Common node of module, sub-module, sensor, hw-component, port, port-moduleCommon node of sub-module-l2, sub-module-l3, sub-module-l4, sub-module-l5, sensor, hw-component, portCommon node of backplane, module, hw-componentCommon node of rack, rack, slot, card, sub-slot, module, port-slot, hw-component, sensor, ports"; container attributes { description "Attributes"; container basic-info { description "Entity attributes"; uses INV-XML-ENTITY-BASIC-INFO; } // container basic-info container fru-info { description "Field Replaceable Unit (FRU) attributes"; uses INV-XML-FRU-INFO; } // container fru-info } // container attributes } // grouping INVENTORY-COMMON-ATTRIBUTES grouping BACKPLANE-TABLE { description "Common node of rack, rack"; container backplanes { description "Table of backplane"; list backplane { key "name"; description "Backplane name"; container modules { description "Table of modules"; list module { key "module-name"; description "A module"; leaf module-name { type xr:Cisco-ios-xr-string; description "Module name"; } uses INVENTORY-EXT3-OPER-ATTRIBUTES; uses INVENTORY-EXT3-OPER-HW-COMPONENT-TABLE; } // list module } // container modules leaf name { type xr:Cisco-ios-xr-string; description "Backplane name"; } uses INVENTORY-EXT3-OPER-ATTRIBUTES; uses INVENTORY-EXT3-OPER-HW-COMPONENT-TABLE; } // list backplane } // container backplanes } // grouping BACKPLANE-TABLE container platform-inventory { config false; description "Inventory operational data"; container racks { description "Table of racks"; list rack { key "name"; description "Rack name"; leaf name { type xr:Cisco-ios-xr-string; description "Rack name"; } uses SLOT-TABLE; uses INVENTORY-COMMON-ATTRIBUTES; uses BACKPLANE-TABLE; } // list rack } // container racks } // container platform-inventory } // module Cisco-IOS-XR-platform-inventory-oper
© 2023 YumaWorks, Inc. All rights reserved.