Cisco-IOS-XR-platform-inventory-oper

This module contains a collection of YANG definitions for Cisco IOS-XR platform-inventory package operational data. This module...

  • Version: 2020-05-14

    Cisco-IOS-XR-platform-inventory-oper@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";
    
        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";
              }
    
              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";
                          leaf processor-type {
                            type string {
                              length "0..255";
                            }
                            description
                              "Type e.g. 7457";
                          }
    
                          leaf speed {
                            type string {
                              length "0..255";
                            }
                            description
                              "Speed e.g. 1197Mhz";
                          }
    
                          leaf revision {
                            type string {
                              length "0..255";
                            }
                            description
                              "Revision. e.g 1.1";
                          }
                        }  // container processor-information
    
                        container motherboard-information {
                          description
                            "MotherboardInformation";
                          container rom {
                            description
                              "ROM information";
                            leaf image-name {
                              type string {
                                length "0..255";
                              }
                              description
                                "Image name";
                            }
    
                            leaf major-version {
                              type uint32;
                              description
                                "Major version";
                            }
    
                            leaf minor-version {
                              type uint32;
                              description
                                "Minor version";
                            }
    
                            leaf micro-image-version {
                              type string {
                                length "0..255";
                              }
                              description
                                "Micro image version";
                            }
    
                            leaf platform-specific {
                              type string {
                                length "0..255";
                              }
                              description
                                "Platform specific text";
                            }
    
                            leaf release-type {
                              type string {
                                length "0..255";
                              }
                              description
                                "Release type";
                            }
                          }  // container rom
    
                          container bootflash {
                            description
                              "Bootflash information";
                            leaf image-name {
                              type string {
                                length "0..255";
                              }
                              description
                                "Image name";
                            }
    
                            leaf platform-type {
                              type string {
                                length "0..255";
                              }
                              description
                                "Platform Type";
                            }
    
                            leaf major-version {
                              type uint32;
                              description
                                "Major version";
                            }
    
                            leaf minor-version {
                              type uint32;
                              description
                                "Minor version";
                            }
    
                            leaf micro-image-version {
                              type string {
                                length "0..255";
                              }
                              description
                                "Micro image version";
                            }
    
                            leaf platform-specific {
                              type string {
                                length "0..255";
                              }
                              description
                                "Platform specific text";
                            }
    
                            leaf release-type {
                              type string {
                                length "0..255";
                              }
                              description
                                "Release type";
                            }
    
                            leaf bootflash-type {
                              type string {
                                length "0..255";
                              }
                              description
                                "Bootflash type e.g. SIMM";
                            }
    
                            leaf bootflash-size {
                              type uint32;
                              units "kilobyte";
                              description
                                "Bootflash size in kilo-bytes";
                            }
    
                            leaf sector-size {
                              type uint32;
                              units "byte";
                              description
                                "Sector size in bytes";
                            }
                          }  // container bootflash
    
                          container processor {
                            description
                              "Processor information";
                            leaf processor-type {
                              type string {
                                length "0..255";
                              }
                              description
                                "Type e.g. 7457";
                            }
    
                            leaf speed {
                              type string {
                                length "0..255";
                              }
                              description
                                "Speed e.g. 1197Mhz";
                            }
    
                            leaf revision {
                              type string {
                                length "0..255";
                              }
                              description
                                "Revision. e.g 1.1";
                            }
                          }  // container processor
    
                          leaf main-memory-size {
                            type uint64;
                            units "byte";
                            description
                              "Memory size in bytes";
                          }
    
                          leaf nvram-size {
                            type uint64;
                            units "byte";
                            description
                              "NVRAM size in bytes";
                          }
                        }  // container motherboard-information
    
                        container bootflash-information {
                          description
                            "BootflashInformation";
                          leaf image-name {
                            type string {
                              length "0..255";
                            }
                            description
                              "Image name";
                          }
    
                          leaf platform-type {
                            type string {
                              length "0..255";
                            }
                            description
                              "Platform Type";
                          }
    
                          leaf major-version {
                            type uint32;
                            description
                              "Major version";
                          }
    
                          leaf minor-version {
                            type uint32;
                            description
                              "Minor version";
                          }
    
                          leaf micro-image-version {
                            type string {
                              length "0..255";
                            }
                            description
                              "Micro image version";
                          }
    
                          leaf platform-specific {
                            type string {
                              length "0..255";
                            }
                            description
                              "Platform specific text";
                          }
    
                          leaf release-type {
                            type string {
                              length "0..255";
                            }
                            description
                              "Release type";
                          }
    
                          leaf bootflash-type {
                            type string {
                              length "0..255";
                            }
                            description
                              "Bootflash type e.g. SIMM";
                          }
    
                          leaf bootflash-size {
                            type uint32;
                            units "kilobyte";
                            description
                              "Bootflash size in kilo-bytes";
                          }
    
                          leaf sector-size {
                            type uint32;
                            units "byte";
                            description
                              "Sector size in bytes";
                          }
                        }  // container bootflash-information
    
                        container disk-information {
                          description
                            "DiskInformation";
                          leaf disk-name {
                            type string {
                              length "0..255";
                            }
                            description
                              "(Deprecated) Disk name";
                          }
    
                          leaf disk-size {
                            type uint32;
                            units "megabyte";
                            description
                              "(Deprecated) Disk size in mega-bytes";
                          }
    
                          leaf sector-size {
                            type uint32;
                            units "byte";
                            description
                              "(Deprecated) Disk sector size in bytes";
                          }
    
                          list disks {
                            description
                              "Disk attributes";
                            leaf disk-name {
                              type string {
                                length "0..255";
                              }
                              description
                                "Disk name";
                            }
    
                            leaf disk-size {
                              type uint32;
                              units "megabyte";
                              description
                                "Disk size in mega-bytes";
                            }
    
                            leaf sector-size {
                              type uint32;
                              units "byte";
                              description
                                "Disk sector size in bytes";
                            }
                          }  // list disks
                        }  // 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";
                            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";
                                }
    
                                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";
                                    }
    
                                    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";
                                        }
    
                                        container sensors {
                                          description
                                            "Table of sensors";
                                          list sensor {
                                            key "name";
                                            description
                                              "Sensor number";
                                            leaf name {
                                              type xr:Cisco-ios-xr-string;
                                              description
                                                "Sensor name";
                                            }
    
                                            container attributes {
                                              description
                                                "Attributes";
                                              container basic-info {
                                                description
                                                  "Entity attributes";
                                                leaf name {
                                                  type string {
                                                    length
                                                      "0..255";
                                                  }
                                                  description
                                                    "Describes the Entity name string";
                                                }
    
                                                leaf description {
                                                  type string {
                                                    length
                                                      "0..255";
                                                  }
                                                  description
                                                    "describes in user-readable termswhat the entity
    in question does";
                                                }
    
                                                leaf model-name {
                                                  type string {
                                                    length
                                                      "0..255";
                                                  }
                                                  description
                                                    "Describes the Entity model name";
                                                }
    
                                                leaf hardware-revision {
                                                  type string {
                                                    length
                                                      "0..255";
                                                  }
                                                  description
                                                    "Describes the Entity hw revision string";
                                                }
    
                                                leaf serial-number {
                                                  type string {
                                                    length
                                                      "0..255";
                                                  }
                                                  description
                                                    "Describes the Entity serial number";
                                                }
    
                                                leaf firmware-revision {
                                                  type string {
                                                    length
                                                      "0..255";
                                                  }
                                                  description
                                                    "Describes the Entity firmware revision string";
                                                }
    
                                                leaf software-revision {
                                                  type string {
                                                    length
                                                      "0..255";
                                                  }
                                                  description
                                                    "Describes the Entity software revision string";
                                                }
    
                                                leaf vendor-type {
                                                  type string {
                                                    length
                                                      "0..255";
                                                  }
                                                  description
                                                    "maps to the vendor OID string";
                                                }
    
                                                leaf is-field-replaceable-unit {
                                                  type boolean;
                                                  description
                                                    "1 if Field Replaceable Unit 0, if not";
                                                }
                                              }  // container basic-info
    
                                              container fru-info {
                                                description
                                                  "Field Replaceable Unit (FRU) attributes";
                                                container last-operational-state-change {
                                                  description
                                                    "Time operational state is   last changed";
                                                  leaf time-in-seconds {
                                                    type int32;
                                                    units
                                                      "second";
                                                    description
                                                      "Time Value in Seconds";
                                                  }
    
                                                  leaf time-in-nano-seconds {
                                                    type int32;
                                                    units
                                                      "nanosecond";
                                                    description
                                                      "Time Value in Nano-seconds";
                                                  }
                                                }  // container last-operational-state-change
    
                                                container module-up-time {
                                                  description
                                                    "Describes the Entity Module up time";
                                                  leaf time-in-seconds {
                                                    type int32;
                                                    units
                                                      "second";
                                                    description
                                                      "Time Value in Seconds";
                                                  }
    
                                                  leaf time-in-nano-seconds {
                                                    type int32;
                                                    units
                                                      "nanosecond";
                                                    description
                                                      "Time Value in Nano-seconds";
                                                  }
                                                }  // container module-up-time
    
                                                leaf module-administrative-state {
                                                  type Inv-admin-state;
                                                  description
                                                    "Describes the Entity Administrative    state";
                                                }
    
                                                leaf module-power-administrative-state {
                                                  type Inv-power-admin-state;
                                                  description
                                                    "Describes the Entity Power administrative state";
                                                }
    
                                                leaf module-operational-state {
                                                  type Inv-card-state;
                                                  description
                                                    "Describes the Entity Operation state";
                                                }
    
                                                leaf module-monitor-state {
                                                  type Inv-monitor-state;
                                                  description
                                                    "Describes the Entity Monitor state";
                                                }
    
                                                leaf module-reset-reason {
                                                  type Inv-reset-reason;
                                                  description
                                                    "Describes the Entity Reset reason state";
                                                }
                                              }  // container fru-info
                                            }  // container attributes
                                          }  // list sensor
                                        }  // container sensors
    
                                        container attributes {
                                          description
                                            "Attributes";
                                          container basic-info {
                                            description
                                              "Entity attributes";
                                            leaf name {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "Describes the Entity name string";
                                            }
    
                                            leaf description {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "describes in user-readable termswhat the entity
    in question does";
                                            }
    
                                            leaf model-name {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "Describes the Entity model name";
                                            }
    
                                            leaf hardware-revision {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "Describes the Entity hw revision string";
                                            }
    
                                            leaf serial-number {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "Describes the Entity serial number";
                                            }
    
                                            leaf firmware-revision {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "Describes the Entity firmware revision string";
                                            }
    
                                            leaf software-revision {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "Describes the Entity software revision string";
                                            }
    
                                            leaf vendor-type {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "maps to the vendor OID string";
                                            }
    
                                            leaf is-field-replaceable-unit {
                                              type boolean;
                                              description
                                                "1 if Field Replaceable Unit 0, if not";
                                            }
                                          }  // container basic-info
    
                                          container fru-info {
                                            description
                                              "Field Replaceable Unit (FRU) attributes";
                                            container last-operational-state-change {
                                              description
                                                "Time operational state is   last changed";
                                              leaf time-in-seconds {
                                                type int32;
                                                units
                                                  "second";
                                                description
                                                  "Time Value in Seconds";
                                              }
    
                                              leaf time-in-nano-seconds {
                                                type int32;
                                                units
                                                  "nanosecond";
                                                description
                                                  "Time Value in Nano-seconds";
                                              }
                                            }  // container last-operational-state-change
    
                                            container module-up-time {
                                              description
                                                "Describes the Entity Module up time";
                                              leaf time-in-seconds {
                                                type int32;
                                                units
                                                  "second";
                                                description
                                                  "Time Value in Seconds";
                                              }
    
                                              leaf time-in-nano-seconds {
                                                type int32;
                                                units
                                                  "nanosecond";
                                                description
                                                  "Time Value in Nano-seconds";
                                              }
                                            }  // container module-up-time
    
                                            leaf module-administrative-state {
                                              type Inv-admin-state;
                                              description
                                                "Describes the Entity Administrative    state";
                                            }
    
                                            leaf module-power-administrative-state {
                                              type Inv-power-admin-state;
                                              description
                                                "Describes the Entity Power administrative state";
                                            }
    
                                            leaf module-operational-state {
                                              type Inv-card-state;
                                              description
                                                "Describes the Entity Operation state";
                                            }
    
                                            leaf module-monitor-state {
                                              type Inv-monitor-state;
                                              description
                                                "Describes the Entity Monitor state";
                                            }
    
                                            leaf module-reset-reason {
                                              type Inv-reset-reason;
                                              description
                                                "Describes the Entity Reset reason state";
                                            }
                                          }  // container fru-info
                                        }  // container attributes
                                      }  // list hw-component
                                    }  // container hw-components
    
                                    container sensors {
                                      description
                                        "Table of sensors";
                                      list sensor {
                                        key "name";
                                        description
                                          "Sensor number";
                                        leaf name {
                                          type xr:Cisco-ios-xr-string;
                                          description
                                            "Sensor name";
                                        }
    
                                        container attributes {
                                          description
                                            "Attributes";
                                          container basic-info {
                                            description
                                              "Entity attributes";
                                            leaf name {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "Describes the Entity name string";
                                            }
    
                                            leaf description {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "describes in user-readable termswhat the entity
    in question does";
                                            }
    
                                            leaf model-name {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "Describes the Entity model name";
                                            }
    
                                            leaf hardware-revision {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "Describes the Entity hw revision string";
                                            }
    
                                            leaf serial-number {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "Describes the Entity serial number";
                                            }
    
                                            leaf firmware-revision {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "Describes the Entity firmware revision string";
                                            }
    
                                            leaf software-revision {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "Describes the Entity software revision string";
                                            }
    
                                            leaf vendor-type {
                                              type string {
                                                length
                                                  "0..255";
                                              }
                                              description
                                                "maps to the vendor OID string";
                                            }
    
                                            leaf is-field-replaceable-unit {
                                              type boolean;
                                              description
                                                "1 if Field Replaceable Unit 0, if not";
                                            }
                                          }  // container basic-info
    
                                          container fru-info {
                                            description
                                              "Field Replaceable Unit (FRU) attributes";
                                            container last-operational-state-change {
                                              description
                                                "Time operational state is   last changed";
                                              leaf time-in-seconds {
                                                type int32;
                                                units
                                                  "second";
                                                description
                                                  "Time Value in Seconds";
                                              }
    
                                              leaf time-in-nano-seconds {
                                                type int32;
                                                units
                                                  "nanosecond";
                                                description
                                                  "Time Value in Nano-seconds";
                                              }
                                            }  // container last-operational-state-change
    
                                            container module-up-time {
                                              description
                                                "Describes the Entity Module up time";
                                              leaf time-in-seconds {
                                                type int32;
                                                units
                                                  "second";
                                                description
                                                  "Time Value in Seconds";
                                              }
    
                                              leaf time-in-nano-seconds {
                                                type int32;
                                                units
                                                  "nanosecond";
                                                description
                                                  "Time Value in Nano-seconds";
                                              }
                                            }  // container module-up-time
    
                                            leaf module-administrative-state {
                                              type Inv-admin-state;
                                              description
                                                "Describes the Entity Administrative    state";
                                            }
    
                                            leaf module-power-administrative-state {
                                              type Inv-power-admin-state;
                                              description
                                                "Describes the Entity Power administrative state";
                                            }
    
                                            leaf module-operational-state {
                                              type Inv-card-state;
                                              description
                                                "Describes the Entity Operation state";
                                            }
    
                                            leaf module-monitor-state {
                                              type Inv-monitor-state;
                                              description
                                                "Describes the Entity Monitor state";
                                            }
    
                                            leaf module-reset-reason {
                                              type Inv-reset-reason;
                                              description
                                                "Describes the Entity Reset reason state";
                                            }
                                          }  // container fru-info
                                        }  // container attributes
                                      }  // list sensor
                                    }  // container sensors
    
                                    container attributes {
                                      description
                                        "Attributes";
                                      container basic-info {
                                        description
                                          "Entity attributes";
                                        leaf name {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "Describes the Entity name string";
                                        }
    
                                        leaf description {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "describes in user-readable termswhat the entity
    in question does";
                                        }
    
                                        leaf model-name {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "Describes the Entity model name";
                                        }
    
                                        leaf hardware-revision {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "Describes the Entity hw revision string";
                                        }
    
                                        leaf serial-number {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "Describes the Entity serial number";
                                        }
    
                                        leaf firmware-revision {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "Describes the Entity firmware revision string";
                                        }
    
                                        leaf software-revision {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "Describes the Entity software revision string";
                                        }
    
                                        leaf vendor-type {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "maps to the vendor OID string";
                                        }
    
                                        leaf is-field-replaceable-unit {
                                          type boolean;
                                          description
                                            "1 if Field Replaceable Unit 0, if not";
                                        }
                                      }  // container basic-info
    
                                      container fru-info {
                                        description
                                          "Field Replaceable Unit (FRU) attributes";
                                        container last-operational-state-change {
                                          description
                                            "Time operational state is   last changed";
                                          leaf time-in-seconds {
                                            type int32;
                                            units
                                              "second";
                                            description
                                              "Time Value in Seconds";
                                          }
    
                                          leaf time-in-nano-seconds {
                                            type int32;
                                            units
                                              "nanosecond";
                                            description
                                              "Time Value in Nano-seconds";
                                          }
                                        }  // container last-operational-state-change
    
                                        container module-up-time {
                                          description
                                            "Describes the Entity Module up time";
                                          leaf time-in-seconds {
                                            type int32;
                                            units
                                              "second";
                                            description
                                              "Time Value in Seconds";
                                          }
    
                                          leaf time-in-nano-seconds {
                                            type int32;
                                            units
                                              "nanosecond";
                                            description
                                              "Time Value in Nano-seconds";
                                          }
                                        }  // container module-up-time
    
                                        leaf module-administrative-state {
                                          type Inv-admin-state;
                                          description
                                            "Describes the Entity Administrative    state";
                                        }
    
                                        leaf module-power-administrative-state {
                                          type Inv-power-admin-state;
                                          description
                                            "Describes the Entity Power administrative state";
                                        }
    
                                        leaf module-operational-state {
                                          type Inv-card-state;
                                          description
                                            "Describes the Entity Operation state";
                                        }
    
                                        leaf module-monitor-state {
                                          type Inv-monitor-state;
                                          description
                                            "Describes the Entity Monitor state";
                                        }
    
                                        leaf module-reset-reason {
                                          type Inv-reset-reason;
                                          description
                                            "Describes the Entity Reset reason state";
                                        }
                                      }  // container fru-info
                                    }  // container attributes
                                  }  // list ports
                                }  // container portses
    
                                container sensors {
                                  description
                                    "Table of sensors";
                                  list sensor {
                                    key "name";
                                    description
                                      "Sensor number";
                                    leaf name {
                                      type xr:Cisco-ios-xr-string;
                                      description
                                        "Sensor name";
                                    }
    
                                    container attributes {
                                      description
                                        "Attributes";
                                      container basic-info {
                                        description
                                          "Entity attributes";
                                        leaf name {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "Describes the Entity name string";
                                        }
    
                                        leaf description {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "describes in user-readable termswhat the entity
    in question does";
                                        }
    
                                        leaf model-name {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "Describes the Entity model name";
                                        }
    
                                        leaf hardware-revision {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "Describes the Entity hw revision string";
                                        }
    
                                        leaf serial-number {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "Describes the Entity serial number";
                                        }
    
                                        leaf firmware-revision {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "Describes the Entity firmware revision string";
                                        }
    
                                        leaf software-revision {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "Describes the Entity software revision string";
                                        }
    
                                        leaf vendor-type {
                                          type string {
                                            length
                                              "0..255";
                                          }
                                          description
                                            "maps to the vendor OID string";
                                        }
    
                                        leaf is-field-replaceable-unit {
                                          type boolean;
                                          description
                                            "1 if Field Replaceable Unit 0, if not";
                                        }
                                      }  // container basic-info
    
                                      container fru-info {
                                        description
                                          "Field Replaceable Unit (FRU) attributes";
                                        container last-operational-state-change {
                                          description
                                            "Time operational state is   last changed";
                                          leaf time-in-seconds {
                                            type int32;
                                            units
                                              "second";
                                            description
                                              "Time Value in Seconds";
                                          }
    
                                          leaf time-in-nano-seconds {
                                            type int32;
                                            units
                                              "nanosecond";
                                            description
                                              "Time Value in Nano-seconds";
                                          }
                                        }  // container last-operational-state-change
    
                                        container module-up-time {
                                          description
                                            "Describes the Entity Module up time";
                                          leaf time-in-seconds {
                                            type int32;
                                            units
                                              "second";
                                            description
                                              "Time Value in Seconds";
                                          }
    
                                          leaf time-in-nano-seconds {
                                            type int32;
                                            units
                                              "nanosecond";
                                            description
                                              "Time Value in Nano-seconds";
                                          }
                                        }  // container module-up-time
    
                                        leaf module-administrative-state {
                                          type Inv-admin-state;
                                          description
                                            "Describes the Entity Administrative    state";
                                        }
    
                                        leaf module-power-administrative-state {
                                          type Inv-power-admin-state;
                                          description
                                            "Describes the Entity Power administrative state";
                                        }
    
                                        leaf module-operational-state {
                                          type Inv-card-state;
                                          description
                                            "Describes the Entity Operation state";
                                        }
    
                                        leaf module-monitor-state {
                                          type Inv-monitor-state;
                                          description
                                            "Describes the Entity Monitor state";
                                        }
    
                                        leaf module-reset-reason {
                                          type Inv-reset-reason;
                                          description
                                            "Describes the Entity Reset reason state";
                                        }
                                      }  // container fru-info
                                    }  // container attributes
                                  }  // list sensor
                                }  // container sensors
    
                                container attributes {
                                  description
                                    "Attributes";
                                  container basic-info {
                                    description
                                      "Entity attributes";
                                    leaf name {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "Describes the Entity name string";
                                    }
    
                                    leaf description {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "describes in user-readable termswhat the entity
    in question does";
                                    }
    
                                    leaf model-name {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "Describes the Entity model name";
                                    }
    
                                    leaf hardware-revision {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "Describes the Entity hw revision string";
                                    }
    
                                    leaf serial-number {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "Describes the Entity serial number";
                                    }
    
                                    leaf firmware-revision {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "Describes the Entity firmware revision string";
                                    }
    
                                    leaf software-revision {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "Describes the Entity software revision string";
                                    }
    
                                    leaf vendor-type {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "maps to the vendor OID string";
                                    }
    
                                    leaf is-field-replaceable-unit {
                                      type boolean;
                                      description
                                        "1 if Field Replaceable Unit 0, if not";
                                    }
                                  }  // container basic-info
    
                                  container fru-info {
                                    description
                                      "Field Replaceable Unit (FRU) attributes";
                                    container last-operational-state-change {
                                      description
                                        "Time operational state is   last changed";
                                      leaf time-in-seconds {
                                        type int32;
                                        units
                                          "second";
                                        description
                                          "Time Value in Seconds";
                                      }
    
                                      leaf time-in-nano-seconds {
                                        type int32;
                                        units
                                          "nanosecond";
                                        description
                                          "Time Value in Nano-seconds";
                                      }
                                    }  // container last-operational-state-change
    
                                    container module-up-time {
                                      description
                                        "Describes the Entity Module up time";
                                      leaf time-in-seconds {
                                        type int32;
                                        units
                                          "second";
                                        description
                                          "Time Value in Seconds";
                                      }
    
                                      leaf time-in-nano-seconds {
                                        type int32;
                                        units
                                          "nanosecond";
                                        description
                                          "Time Value in Nano-seconds";
                                      }
                                    }  // container module-up-time
    
                                    leaf module-administrative-state {
                                      type Inv-admin-state;
                                      description
                                        "Describes the Entity Administrative    state";
                                    }
    
                                    leaf module-power-administrative-state {
                                      type Inv-power-admin-state;
                                      description
                                        "Describes the Entity Power administrative state";
                                    }
    
                                    leaf module-operational-state {
                                      type Inv-card-state;
                                      description
                                        "Describes the Entity Operation state";
                                    }
    
                                    leaf module-monitor-state {
                                      type Inv-monitor-state;
                                      description
                                        "Describes the Entity Monitor state";
                                    }
    
                                    leaf module-reset-reason {
                                      type Inv-reset-reason;
                                      description
                                        "Describes the Entity Reset reason state";
                                    }
                                  }  // container fru-info
                                }  // container attributes
                              }  // list port-slot
                            }  // container port-slots
    
                            container sensors {
                              description
                                "Table of sensors";
                              list sensor {
                                key "name";
                                description
                                  "Sensor number";
                                leaf name {
                                  type xr:Cisco-ios-xr-string;
                                  description
                                    "Sensor name";
                                }
    
                                container attributes {
                                  description
                                    "Attributes";
                                  container basic-info {
                                    description
                                      "Entity attributes";
                                    leaf name {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "Describes the Entity name string";
                                    }
    
                                    leaf description {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "describes in user-readable termswhat the entity
    in question does";
                                    }
    
                                    leaf model-name {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "Describes the Entity model name";
                                    }
    
                                    leaf hardware-revision {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "Describes the Entity hw revision string";
                                    }
    
                                    leaf serial-number {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "Describes the Entity serial number";
                                    }
    
                                    leaf firmware-revision {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "Describes the Entity firmware revision string";
                                    }
    
                                    leaf software-revision {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "Describes the Entity software revision string";
                                    }
    
                                    leaf vendor-type {
                                      type string {
                                        length
                                          "0..255";
                                      }
                                      description
                                        "maps to the vendor OID string";
                                    }
    
                                    leaf is-field-replaceable-unit {
                                      type boolean;
                                      description
                                        "1 if Field Replaceable Unit 0, if not";
                                    }
                                  }  // container basic-info
    
                                  container fru-info {
                                    description
                                      "Field Replaceable Unit (FRU) attributes";
                                    container last-operational-state-change {
                                      description
                                        "Time operational state is   last changed";
                                      leaf time-in-seconds {
                                        type int32;
                                        units
                                          "second";
                                        description
                                          "Time Value in Seconds";
                                      }
    
                                      leaf time-in-nano-seconds {
                                        type int32;
                                        units
                                          "nanosecond";
                                        description
                                          "Time Value in Nano-seconds";
                                      }
                                    }  // container last-operational-state-change
    
                                    container module-up-time {
                                      description
                                        "Describes the Entity Module up time";
                                      leaf time-in-seconds {
                                        type int32;
                                        units
                                          "second";
                                        description
                                          "Time Value in Seconds";
                                      }
    
                                      leaf time-in-nano-seconds {
                                        type int32;
                                        units
                                          "nanosecond";
                                        description
                                          "Time Value in Nano-seconds";
                                      }
                                    }  // container module-up-time
    
                                    leaf module-administrative-state {
                                      type Inv-admin-state;
                                      description
                                        "Describes the Entity Administrative    state";
                                    }
    
                                    leaf module-power-administrative-state {
                                      type Inv-power-admin-state;
                                      description
                                        "Describes the Entity Power administrative state";
                                    }
    
                                    leaf module-operational-state {
                                      type Inv-card-state;
                                      description
                                        "Describes the Entity Operation state";
                                    }
    
                                    leaf module-monitor-state {
                                      type Inv-monitor-state;
                                      description
                                        "Describes the Entity Monitor state";
                                    }
    
                                    leaf module-reset-reason {
                                      type Inv-reset-reason;
                                      description
                                        "Describes the Entity Reset reason state";
                                    }
                                  }  // container fru-info
                                }  // container attributes
                              }  // list sensor
                            }  // container sensors
    
                            container attributes {
                              description
                                "Attributes";
                              container basic-info {
                                description
                                  "Entity attributes";
                                leaf name {
                                  type string {
                                    length
                                      "0..255";
                                  }
                                  description
                                    "Describes the Entity name string";
                                }
    
                                leaf description {
                                  type string {
                                    length
                                      "0..255";
                                  }
                                  description
                                    "describes in user-readable termswhat the entity
    in question does";
                                }
    
                                leaf model-name {
                                  type string {
                                    length
                                      "0..255";
                                  }
                                  description
                                    "Describes the Entity model name";
                                }
    
                                leaf hardware-revision {
                                  type string {
                                    length
                                      "0..255";
                                  }
                                  description
                                    "Describes the Entity hw revision string";
                                }
    
                                leaf serial-number {
                                  type string {
                                    length
                                      "0..255";
                                  }
                                  description
                                    "Describes the Entity serial number";
                                }
    
                                leaf firmware-revision {
                                  type string {
                                    length
                                      "0..255";
                                  }
                                  description
                                    "Describes the Entity firmware revision string";
                                }
    
                                leaf software-revision {
                                  type string {
                                    length
                                      "0..255";
                                  }
                                  description
                                    "Describes the Entity software revision string";
                                }
    
                                leaf vendor-type {
                                  type string {
                                    length
                                      "0..255";
                                  }
                                  description
                                    "maps to the vendor OID string";
                                }
    
                                leaf is-field-replaceable-unit {
                                  type boolean;
                                  description
                                    "1 if Field Replaceable Unit 0, if not";
                                }
                              }  // container basic-info
    
                              container fru-info {
                                description
                                  "Field Replaceable Unit (FRU) attributes";
                                container last-operational-state-change {
                                  description
                                    "Time operational state is   last changed";
                                  leaf time-in-seconds {
                                    type int32;
                                    units
                                      "second";
                                    description
                                      "Time Value in Seconds";
                                  }
    
                                  leaf time-in-nano-seconds {
                                    type int32;
                                    units
                                      "nanosecond";
                                    description
                                      "Time Value in Nano-seconds";
                                  }
                                }  // container last-operational-state-change
    
                                container module-up-time {
                                  description
                                    "Describes the Entity Module up time";
                                  leaf time-in-seconds {
                                    type int32;
                                    units
                                      "second";
                                    description
                                      "Time Value in Seconds";
                                  }
    
                                  leaf time-in-nano-seconds {
                                    type int32;
                                    units
                                      "nanosecond";
                                    description
                                      "Time Value in Nano-seconds";
                                  }
                                }  // container module-up-time
    
                                leaf module-administrative-state {
                                  type Inv-admin-state;
                                  description
                                    "Describes the Entity Administrative    state";
                                }
    
                                leaf module-power-administrative-state {
                                  type Inv-power-admin-state;
                                  description
                                    "Describes the Entity Power administrative state";
                                }
    
                                leaf module-operational-state {
                                  type Inv-card-state;
                                  description
                                    "Describes the Entity Operation state";
                                }
    
                                leaf module-monitor-state {
                                  type Inv-monitor-state;
                                  description
                                    "Describes the Entity Monitor state";
                                }
    
                                leaf module-reset-reason {
                                  type Inv-reset-reason;
                                  description
                                    "Describes the Entity Reset reason state";
                                }
                              }  // container fru-info
                            }  // container attributes
                          }  // container module
    
                          leaf name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Subslot name";
                          }
    
                          container attributes {
                            description
                              "Attributes";
                            container basic-info {
                              description
                                "Entity attributes";
                              leaf name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity name string";
                              }
    
                              leaf description {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "describes in user-readable termswhat the entity
    in question does";
                              }
    
                              leaf model-name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity model name";
                              }
    
                              leaf hardware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity hw revision string";
                              }
    
                              leaf serial-number {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity serial number";
                              }
    
                              leaf firmware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity firmware revision string";
                              }
    
                              leaf software-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity software revision string";
                              }
    
                              leaf vendor-type {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "maps to the vendor OID string";
                              }
    
                              leaf is-field-replaceable-unit {
                                type boolean;
                                description
                                  "1 if Field Replaceable Unit 0, if not";
                              }
                            }  // container basic-info
    
                            container fru-info {
                              description
                                "Field Replaceable Unit (FRU) attributes";
                              container last-operational-state-change {
                                description
                                  "Time operational state is   last changed";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container last-operational-state-change
    
                              container module-up-time {
                                description
                                  "Describes the Entity Module up time";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container module-up-time
    
                              leaf module-administrative-state {
                                type Inv-admin-state;
                                description
                                  "Describes the Entity Administrative    state";
                              }
    
                              leaf module-power-administrative-state {
                                type Inv-power-admin-state;
                                description
                                  "Describes the Entity Power administrative state";
                              }
    
                              leaf module-operational-state {
                                type Inv-card-state;
                                description
                                  "Describes the Entity Operation state";
                              }
    
                              leaf module-monitor-state {
                                type Inv-monitor-state;
                                description
                                  "Describes the Entity Monitor state";
                              }
    
                              leaf module-reset-reason {
                                type Inv-reset-reason;
                                description
                                  "Describes the Entity Reset reason state";
                              }
                            }  // container fru-info
                          }  // container 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";
                                              }
    
                                              container sensors {
                                                description
                                                  "Table of sensors";
                                                list sensor {
                                                  key "name";
                                                  description
                                                    "Sensor number";
                                                  leaf name {
                                                    type xr:Cisco-ios-xr-string;
                                                    description
                                                      "Sensor name";
                                                  }
    
                                                  container attributes {
                                                    description
                                                      "Attributes";
                                                    container basic-info {
                                                      description
                                                        "Entity attributes";
                                                      leaf name {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity name string";
                                                      }
    
                                                      leaf description {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "describes in user-readable termswhat the entity
    in question does";
                                                      }
    
                                                      leaf model-name {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity model name";
                                                      }
    
                                                      leaf hardware-revision {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity hw revision string";
                                                      }
    
                                                      leaf serial-number {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity serial number";
                                                      }
    
                                                      leaf firmware-revision {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity firmware revision string";
                                                      }
    
                                                      leaf software-revision {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity software revision string";
                                                      }
    
                                                      leaf vendor-type {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "maps to the vendor OID string";
                                                      }
    
                                                      leaf is-field-replaceable-unit {
                                                        type boolean;
                                                        description
                                                          "1 if Field Replaceable Unit 0, if not";
                                                      }
                                                    }  // container basic-info
    
                                                    container fru-info {
                                                      description
                                                        "Field Replaceable Unit (FRU) attributes";
                                                      container last-operational-state-change {
                                                        description
                                                          "Time operational state is   last changed";
                                                        leaf time-in-seconds {
                                                          type int32;
                                                          units
                                                            "second";
                                                          description
                                                            "Time Value in Seconds";
                                                        }
    
                                                        leaf time-in-nano-seconds {
                                                          type int32;
                                                          units
                                                            "nanosecond";
                                                          description
                                                            "Time Value in Nano-seconds";
                                                        }
                                                      }  // container last-operational-state-change
    
                                                      container module-up-time {
                                                        description
                                                          "Describes the Entity Module up time";
                                                        leaf time-in-seconds {
                                                          type int32;
                                                          units
                                                            "second";
                                                          description
                                                            "Time Value in Seconds";
                                                        }
    
                                                        leaf time-in-nano-seconds {
                                                          type int32;
                                                          units
                                                            "nanosecond";
                                                          description
                                                            "Time Value in Nano-seconds";
                                                        }
                                                      }  // container module-up-time
    
                                                      leaf module-administrative-state {
                                                        type Inv-admin-state;
                                                        description
                                                          "Describes the Entity Administrative    state";
                                                      }
    
                                                      leaf module-power-administrative-state {
                                                        type Inv-power-admin-state;
                                                        description
                                                          "Describes the Entity Power administrative state";
                                                      }
    
                                                      leaf module-operational-state {
                                                        type Inv-card-state;
                                                        description
                                                          "Describes the Entity Operation state";
                                                      }
    
                                                      leaf module-monitor-state {
                                                        type Inv-monitor-state;
                                                        description
                                                          "Describes the Entity Monitor state";
                                                      }
    
                                                      leaf module-reset-reason {
                                                        type Inv-reset-reason;
                                                        description
                                                          "Describes the Entity Reset reason state";
                                                      }
                                                    }  // container fru-info
                                                  }  // container attributes
                                                }  // list sensor
                                              }  // container sensors
    
                                              container attributes {
                                                description
                                                  "Attributes";
                                                container basic-info {
                                                  description
                                                    "Entity attributes";
                                                  leaf name {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity name string";
                                                  }
    
                                                  leaf description {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "describes in user-readable termswhat the entity
    in question does";
                                                  }
    
                                                  leaf model-name {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity model name";
                                                  }
    
                                                  leaf hardware-revision {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity hw revision string";
                                                  }
    
                                                  leaf serial-number {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity serial number";
                                                  }
    
                                                  leaf firmware-revision {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity firmware revision string";
                                                  }
    
                                                  leaf software-revision {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity software revision string";
                                                  }
    
                                                  leaf vendor-type {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "maps to the vendor OID string";
                                                  }
    
                                                  leaf is-field-replaceable-unit {
                                                    type boolean;
                                                    description
                                                      "1 if Field Replaceable Unit 0, if not";
                                                  }
                                                }  // container basic-info
    
                                                container fru-info {
                                                  description
                                                    "Field Replaceable Unit (FRU) attributes";
                                                  container last-operational-state-change {
                                                    description
                                                      "Time operational state is   last changed";
                                                    leaf time-in-seconds {
                                                      type int32;
                                                      units
                                                        "second";
                                                      description
                                                        "Time Value in Seconds";
                                                    }
    
                                                    leaf time-in-nano-seconds {
                                                      type int32;
                                                      units
                                                        "nanosecond";
                                                      description
                                                        "Time Value in Nano-seconds";
                                                    }
                                                  }  // container last-operational-state-change
    
                                                  container module-up-time {
                                                    description
                                                      "Describes the Entity Module up time";
                                                    leaf time-in-seconds {
                                                      type int32;
                                                      units
                                                        "second";
                                                      description
                                                        "Time Value in Seconds";
                                                    }
    
                                                    leaf time-in-nano-seconds {
                                                      type int32;
                                                      units
                                                        "nanosecond";
                                                      description
                                                        "Time Value in Nano-seconds";
                                                    }
                                                  }  // container module-up-time
    
                                                  leaf module-administrative-state {
                                                    type Inv-admin-state;
                                                    description
                                                      "Describes the Entity Administrative    state";
                                                  }
    
                                                  leaf module-power-administrative-state {
                                                    type Inv-power-admin-state;
                                                    description
                                                      "Describes the Entity Power administrative state";
                                                  }
    
                                                  leaf module-operational-state {
                                                    type Inv-card-state;
                                                    description
                                                      "Describes the Entity Operation state";
                                                  }
    
                                                  leaf module-monitor-state {
                                                    type Inv-monitor-state;
                                                    description
                                                      "Describes the Entity Monitor state";
                                                  }
    
                                                  leaf module-reset-reason {
                                                    type Inv-reset-reason;
                                                    description
                                                      "Describes the Entity Reset reason state";
                                                  }
                                                }  // container fru-info
                                              }  // container attributes
    
                                              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";
                                                  }
    
                                                  container sensors {
                                                    description
                                                      "Table of sensors";
                                                    list sensor {
                                                      key "name";
                                                      description
                                                        "Sensor number";
                                                      leaf name {
                                                        type xr:Cisco-ios-xr-string;
                                                        description
                                                          "Sensor name";
                                                      }
    
                                                      container attributes {
                                                        description
                                                          "Attributes";
                                                        container basic-info {
                                                          description
                                                            "Entity attributes";
                                                          leaf name {
                                                            type string {
                                                              length
                                                                "0..255";
                                                            }
                                                            description
                                                              "Describes the Entity name string";
                                                          }
    
                                                          leaf description {
                                                            type string {
                                                              length
                                                                "0..255";
                                                            }
                                                            description
                                                              "describes in user-readable termswhat the entity
    in question does";
                                                          }
    
                                                          leaf model-name {
                                                            type string {
                                                              length
                                                                "0..255";
                                                            }
                                                            description
                                                              "Describes the Entity model name";
                                                          }
    
                                                          leaf hardware-revision {
                                                            type string {
                                                              length
                                                                "0..255";
                                                            }
                                                            description
                                                              "Describes the Entity hw revision string";
                                                          }
    
                                                          leaf serial-number {
                                                            type string {
                                                              length
                                                                "0..255";
                                                            }
                                                            description
                                                              "Describes the Entity serial number";
                                                          }
    
                                                          leaf firmware-revision {
                                                            type string {
                                                              length
                                                                "0..255";
                                                            }
                                                            description
                                                              "Describes the Entity firmware revision string";
                                                          }
    
                                                          leaf software-revision {
                                                            type string {
                                                              length
                                                                "0..255";
                                                            }
                                                            description
                                                              "Describes the Entity software revision string";
                                                          }
    
                                                          leaf vendor-type {
                                                            type string {
                                                              length
                                                                "0..255";
                                                            }
                                                            description
                                                              "maps to the vendor OID string";
                                                          }
    
                                                          leaf is-field-replaceable-unit {
                                                            type boolean;
                                                            description
                                                              "1 if Field Replaceable Unit 0, if not";
                                                          }
                                                        }  // container basic-info
    
                                                        container fru-info {
                                                          description
                                                            "Field Replaceable Unit (FRU) attributes";
                                                          container last-operational-state-change {
                                                            description
                                                              "Time operational state is   last changed";
                                                            leaf time-in-seconds {
                                                              type int32;
                                                              units
                                                                "second";
                                                              description
                                                                "Time Value in Seconds";
                                                            }
    
                                                            leaf time-in-nano-seconds {
                                                              type int32;
                                                              units
                                                                "nanosecond";
                                                              description
                                                                "Time Value in Nano-seconds";
                                                            }
                                                          }  // container last-operational-state-change
    
                                                          container module-up-time {
                                                            description
                                                              "Describes the Entity Module up time";
                                                            leaf time-in-seconds {
                                                              type int32;
                                                              units
                                                                "second";
                                                              description
                                                                "Time Value in Seconds";
                                                            }
    
                                                            leaf time-in-nano-seconds {
                                                              type int32;
                                                              units
                                                                "nanosecond";
                                                              description
                                                                "Time Value in Nano-seconds";
                                                            }
                                                          }  // container module-up-time
    
                                                          leaf module-administrative-state {
                                                            type Inv-admin-state;
                                                            description
                                                              "Describes the Entity Administrative    state";
                                                          }
    
                                                          leaf module-power-administrative-state {
                                                            type Inv-power-admin-state;
                                                            description
                                                              "Describes the Entity Power administrative state";
                                                          }
    
                                                          leaf module-operational-state {
                                                            type Inv-card-state;
                                                            description
                                                              "Describes the Entity Operation state";
                                                          }
    
                                                          leaf module-monitor-state {
                                                            type Inv-monitor-state;
                                                            description
                                                              "Describes the Entity Monitor state";
                                                          }
    
                                                          leaf module-reset-reason {
                                                            type Inv-reset-reason;
                                                            description
                                                              "Describes the Entity Reset reason state";
                                                          }
                                                        }  // container fru-info
                                                      }  // container attributes
                                                    }  // list sensor
                                                  }  // container sensors
    
                                                  container attributes {
                                                    description
                                                      "Attributes";
                                                    container basic-info {
                                                      description
                                                        "Entity attributes";
                                                      leaf name {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity name string";
                                                      }
    
                                                      leaf description {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "describes in user-readable termswhat the entity
    in question does";
                                                      }
    
                                                      leaf model-name {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity model name";
                                                      }
    
                                                      leaf hardware-revision {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity hw revision string";
                                                      }
    
                                                      leaf serial-number {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity serial number";
                                                      }
    
                                                      leaf firmware-revision {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity firmware revision string";
                                                      }
    
                                                      leaf software-revision {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity software revision string";
                                                      }
    
                                                      leaf vendor-type {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "maps to the vendor OID string";
                                                      }
    
                                                      leaf is-field-replaceable-unit {
                                                        type boolean;
                                                        description
                                                          "1 if Field Replaceable Unit 0, if not";
                                                      }
                                                    }  // container basic-info
    
                                                    container fru-info {
                                                      description
                                                        "Field Replaceable Unit (FRU) attributes";
                                                      container last-operational-state-change {
                                                        description
                                                          "Time operational state is   last changed";
                                                        leaf time-in-seconds {
                                                          type int32;
                                                          units
                                                            "second";
                                                          description
                                                            "Time Value in Seconds";
                                                        }
    
                                                        leaf time-in-nano-seconds {
                                                          type int32;
                                                          units
                                                            "nanosecond";
                                                          description
                                                            "Time Value in Nano-seconds";
                                                        }
                                                      }  // container last-operational-state-change
    
                                                      container module-up-time {
                                                        description
                                                          "Describes the Entity Module up time";
                                                        leaf time-in-seconds {
                                                          type int32;
                                                          units
                                                            "second";
                                                          description
                                                            "Time Value in Seconds";
                                                        }
    
                                                        leaf time-in-nano-seconds {
                                                          type int32;
                                                          units
                                                            "nanosecond";
                                                          description
                                                            "Time Value in Nano-seconds";
                                                        }
                                                      }  // container module-up-time
    
                                                      leaf module-administrative-state {
                                                        type Inv-admin-state;
                                                        description
                                                          "Describes the Entity Administrative    state";
                                                      }
    
                                                      leaf module-power-administrative-state {
                                                        type Inv-power-admin-state;
                                                        description
                                                          "Describes the Entity Power administrative state";
                                                      }
    
                                                      leaf module-operational-state {
                                                        type Inv-card-state;
                                                        description
                                                          "Describes the Entity Operation state";
                                                      }
    
                                                      leaf module-monitor-state {
                                                        type Inv-monitor-state;
                                                        description
                                                          "Describes the Entity Monitor state";
                                                      }
    
                                                      leaf module-reset-reason {
                                                        type Inv-reset-reason;
                                                        description
                                                          "Describes the Entity Reset reason state";
                                                      }
                                                    }  // container fru-info
                                                  }  // container attributes
                                                }  // list hw-component
                                              }  // container hw-components
                                            }  // list sub-module-l5
                                          }  // container sub-module-l5s
    
                                          leaf name {
                                            type xr:Cisco-ios-xr-string;
                                            description
                                              "HW component name";
                                          }
    
                                          container sensors {
                                            description
                                              "Table of sensors";
                                            list sensor {
                                              key "name";
                                              description
                                                "Sensor number";
                                              leaf name {
                                                type xr:Cisco-ios-xr-string;
                                                description
                                                  "Sensor name";
                                              }
    
                                              container attributes {
                                                description
                                                  "Attributes";
                                                container basic-info {
                                                  description
                                                    "Entity attributes";
                                                  leaf name {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity name string";
                                                  }
    
                                                  leaf description {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "describes in user-readable termswhat the entity
    in question does";
                                                  }
    
                                                  leaf model-name {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity model name";
                                                  }
    
                                                  leaf hardware-revision {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity hw revision string";
                                                  }
    
                                                  leaf serial-number {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity serial number";
                                                  }
    
                                                  leaf firmware-revision {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity firmware revision string";
                                                  }
    
                                                  leaf software-revision {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity software revision string";
                                                  }
    
                                                  leaf vendor-type {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "maps to the vendor OID string";
                                                  }
    
                                                  leaf is-field-replaceable-unit {
                                                    type boolean;
                                                    description
                                                      "1 if Field Replaceable Unit 0, if not";
                                                  }
                                                }  // container basic-info
    
                                                container fru-info {
                                                  description
                                                    "Field Replaceable Unit (FRU) attributes";
                                                  container last-operational-state-change {
                                                    description
                                                      "Time operational state is   last changed";
                                                    leaf time-in-seconds {
                                                      type int32;
                                                      units
                                                        "second";
                                                      description
                                                        "Time Value in Seconds";
                                                    }
    
                                                    leaf time-in-nano-seconds {
                                                      type int32;
                                                      units
                                                        "nanosecond";
                                                      description
                                                        "Time Value in Nano-seconds";
                                                    }
                                                  }  // container last-operational-state-change
    
                                                  container module-up-time {
                                                    description
                                                      "Describes the Entity Module up time";
                                                    leaf time-in-seconds {
                                                      type int32;
                                                      units
                                                        "second";
                                                      description
                                                        "Time Value in Seconds";
                                                    }
    
                                                    leaf time-in-nano-seconds {
                                                      type int32;
                                                      units
                                                        "nanosecond";
                                                      description
                                                        "Time Value in Nano-seconds";
                                                    }
                                                  }  // container module-up-time
    
                                                  leaf module-administrative-state {
                                                    type Inv-admin-state;
                                                    description
                                                      "Describes the Entity Administrative    state";
                                                  }
    
                                                  leaf module-power-administrative-state {
                                                    type Inv-power-admin-state;
                                                    description
                                                      "Describes the Entity Power administrative state";
                                                  }
    
                                                  leaf module-operational-state {
                                                    type Inv-card-state;
                                                    description
                                                      "Describes the Entity Operation state";
                                                  }
    
                                                  leaf module-monitor-state {
                                                    type Inv-monitor-state;
                                                    description
                                                      "Describes the Entity Monitor state";
                                                  }
    
                                                  leaf module-reset-reason {
                                                    type Inv-reset-reason;
                                                    description
                                                      "Describes the Entity Reset reason state";
                                                  }
                                                }  // container fru-info
                                              }  // container attributes
                                            }  // list sensor
                                          }  // container sensors
    
                                          container attributes {
                                            description
                                              "Attributes";
                                            container basic-info {
                                              description
                                                "Entity attributes";
                                              leaf name {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity name string";
                                              }
    
                                              leaf description {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "describes in user-readable termswhat the entity
    in question does";
                                              }
    
                                              leaf model-name {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity model name";
                                              }
    
                                              leaf hardware-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity hw revision string";
                                              }
    
                                              leaf serial-number {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity serial number";
                                              }
    
                                              leaf firmware-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity firmware revision string";
                                              }
    
                                              leaf software-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity software revision string";
                                              }
    
                                              leaf vendor-type {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "maps to the vendor OID string";
                                              }
    
                                              leaf is-field-replaceable-unit {
                                                type boolean;
                                                description
                                                  "1 if Field Replaceable Unit 0, if not";
                                              }
                                            }  // container basic-info
    
                                            container fru-info {
                                              description
                                                "Field Replaceable Unit (FRU) attributes";
                                              container last-operational-state-change {
                                                description
                                                  "Time operational state is   last changed";
                                                leaf time-in-seconds {
                                                  type int32;
                                                  units
                                                    "second";
                                                  description
                                                    "Time Value in Seconds";
                                                }
    
                                                leaf time-in-nano-seconds {
                                                  type int32;
                                                  units
                                                    "nanosecond";
                                                  description
                                                    "Time Value in Nano-seconds";
                                                }
                                              }  // container last-operational-state-change
    
                                              container module-up-time {
                                                description
                                                  "Describes the Entity Module up time";
                                                leaf time-in-seconds {
                                                  type int32;
                                                  units
                                                    "second";
                                                  description
                                                    "Time Value in Seconds";
                                                }
    
                                                leaf time-in-nano-seconds {
                                                  type int32;
                                                  units
                                                    "nanosecond";
                                                  description
                                                    "Time Value in Nano-seconds";
                                                }
                                              }  // container module-up-time
    
                                              leaf module-administrative-state {
                                                type Inv-admin-state;
                                                description
                                                  "Describes the Entity Administrative    state";
                                              }
    
                                              leaf module-power-administrative-state {
                                                type Inv-power-admin-state;
                                                description
                                                  "Describes the Entity Power administrative state";
                                              }
    
                                              leaf module-operational-state {
                                                type Inv-card-state;
                                                description
                                                  "Describes the Entity Operation state";
                                              }
    
                                              leaf module-monitor-state {
                                                type Inv-monitor-state;
                                                description
                                                  "Describes the Entity Monitor state";
                                              }
    
                                              leaf module-reset-reason {
                                                type Inv-reset-reason;
                                                description
                                                  "Describes the Entity Reset reason state";
                                              }
                                            }  // container fru-info
                                          }  // container attributes
    
                                          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";
                                              }
    
                                              container sensors {
                                                description
                                                  "Table of sensors";
                                                list sensor {
                                                  key "name";
                                                  description
                                                    "Sensor number";
                                                  leaf name {
                                                    type xr:Cisco-ios-xr-string;
                                                    description
                                                      "Sensor name";
                                                  }
    
                                                  container attributes {
                                                    description
                                                      "Attributes";
                                                    container basic-info {
                                                      description
                                                        "Entity attributes";
                                                      leaf name {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity name string";
                                                      }
    
                                                      leaf description {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "describes in user-readable termswhat the entity
    in question does";
                                                      }
    
                                                      leaf model-name {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity model name";
                                                      }
    
                                                      leaf hardware-revision {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity hw revision string";
                                                      }
    
                                                      leaf serial-number {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity serial number";
                                                      }
    
                                                      leaf firmware-revision {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity firmware revision string";
                                                      }
    
                                                      leaf software-revision {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "Describes the Entity software revision string";
                                                      }
    
                                                      leaf vendor-type {
                                                        type string {
                                                          length
                                                            "0..255";
                                                        }
                                                        description
                                                          "maps to the vendor OID string";
                                                      }
    
                                                      leaf is-field-replaceable-unit {
                                                        type boolean;
                                                        description
                                                          "1 if Field Replaceable Unit 0, if not";
                                                      }
                                                    }  // container basic-info
    
                                                    container fru-info {
                                                      description
                                                        "Field Replaceable Unit (FRU) attributes";
                                                      container last-operational-state-change {
                                                        description
                                                          "Time operational state is   last changed";
                                                        leaf time-in-seconds {
                                                          type int32;
                                                          units
                                                            "second";
                                                          description
                                                            "Time Value in Seconds";
                                                        }
    
                                                        leaf time-in-nano-seconds {
                                                          type int32;
                                                          units
                                                            "nanosecond";
                                                          description
                                                            "Time Value in Nano-seconds";
                                                        }
                                                      }  // container last-operational-state-change
    
                                                      container module-up-time {
                                                        description
                                                          "Describes the Entity Module up time";
                                                        leaf time-in-seconds {
                                                          type int32;
                                                          units
                                                            "second";
                                                          description
                                                            "Time Value in Seconds";
                                                        }
    
                                                        leaf time-in-nano-seconds {
                                                          type int32;
                                                          units
                                                            "nanosecond";
                                                          description
                                                            "Time Value in Nano-seconds";
                                                        }
                                                      }  // container module-up-time
    
                                                      leaf module-administrative-state {
                                                        type Inv-admin-state;
                                                        description
                                                          "Describes the Entity Administrative    state";
                                                      }
    
                                                      leaf module-power-administrative-state {
                                                        type Inv-power-admin-state;
                                                        description
                                                          "Describes the Entity Power administrative state";
                                                      }
    
                                                      leaf module-operational-state {
                                                        type Inv-card-state;
                                                        description
                                                          "Describes the Entity Operation state";
                                                      }
    
                                                      leaf module-monitor-state {
                                                        type Inv-monitor-state;
                                                        description
                                                          "Describes the Entity Monitor state";
                                                      }
    
                                                      leaf module-reset-reason {
                                                        type Inv-reset-reason;
                                                        description
                                                          "Describes the Entity Reset reason state";
                                                      }
                                                    }  // container fru-info
                                                  }  // container attributes
                                                }  // list sensor
                                              }  // container sensors
    
                                              container attributes {
                                                description
                                                  "Attributes";
                                                container basic-info {
                                                  description
                                                    "Entity attributes";
                                                  leaf name {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity name string";
                                                  }
    
                                                  leaf description {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "describes in user-readable termswhat the entity
    in question does";
                                                  }
    
                                                  leaf model-name {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity model name";
                                                  }
    
                                                  leaf hardware-revision {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity hw revision string";
                                                  }
    
                                                  leaf serial-number {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity serial number";
                                                  }
    
                                                  leaf firmware-revision {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity firmware revision string";
                                                  }
    
                                                  leaf software-revision {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity software revision string";
                                                  }
    
                                                  leaf vendor-type {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "maps to the vendor OID string";
                                                  }
    
                                                  leaf is-field-replaceable-unit {
                                                    type boolean;
                                                    description
                                                      "1 if Field Replaceable Unit 0, if not";
                                                  }
                                                }  // container basic-info
    
                                                container fru-info {
                                                  description
                                                    "Field Replaceable Unit (FRU) attributes";
                                                  container last-operational-state-change {
                                                    description
                                                      "Time operational state is   last changed";
                                                    leaf time-in-seconds {
                                                      type int32;
                                                      units
                                                        "second";
                                                      description
                                                        "Time Value in Seconds";
                                                    }
    
                                                    leaf time-in-nano-seconds {
                                                      type int32;
                                                      units
                                                        "nanosecond";
                                                      description
                                                        "Time Value in Nano-seconds";
                                                    }
                                                  }  // container last-operational-state-change
    
                                                  container module-up-time {
                                                    description
                                                      "Describes the Entity Module up time";
                                                    leaf time-in-seconds {
                                                      type int32;
                                                      units
                                                        "second";
                                                      description
                                                        "Time Value in Seconds";
                                                    }
    
                                                    leaf time-in-nano-seconds {
                                                      type int32;
                                                      units
                                                        "nanosecond";
                                                      description
                                                        "Time Value in Nano-seconds";
                                                    }
                                                  }  // container module-up-time
    
                                                  leaf module-administrative-state {
                                                    type Inv-admin-state;
                                                    description
                                                      "Describes the Entity Administrative    state";
                                                  }
    
                                                  leaf module-power-administrative-state {
                                                    type Inv-power-admin-state;
                                                    description
                                                      "Describes the Entity Power administrative state";
                                                  }
    
                                                  leaf module-operational-state {
                                                    type Inv-card-state;
                                                    description
                                                      "Describes the Entity Operation state";
                                                  }
    
                                                  leaf module-monitor-state {
                                                    type Inv-monitor-state;
                                                    description
                                                      "Describes the Entity Monitor state";
                                                  }
    
                                                  leaf module-reset-reason {
                                                    type Inv-reset-reason;
                                                    description
                                                      "Describes the Entity Reset reason state";
                                                  }
                                                }  // container fru-info
                                              }  // container attributes
                                            }  // list hw-component
                                          }  // container hw-components
                                        }  // 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";
                                          }
    
                                          container attributes {
                                            description
                                              "Attributes";
                                            container basic-info {
                                              description
                                                "Entity attributes";
                                              leaf name {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity name string";
                                              }
    
                                              leaf description {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "describes in user-readable termswhat the entity
    in question does";
                                              }
    
                                              leaf model-name {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity model name";
                                              }
    
                                              leaf hardware-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity hw revision string";
                                              }
    
                                              leaf serial-number {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity serial number";
                                              }
    
                                              leaf firmware-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity firmware revision string";
                                              }
    
                                              leaf software-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity software revision string";
                                              }
    
                                              leaf vendor-type {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "maps to the vendor OID string";
                                              }
    
                                              leaf is-field-replaceable-unit {
                                                type boolean;
                                                description
                                                  "1 if Field Replaceable Unit 0, if not";
                                              }
                                            }  // container basic-info
    
                                            container fru-info {
                                              description
                                                "Field Replaceable Unit (FRU) attributes";
                                              container last-operational-state-change {
                                                description
                                                  "Time operational state is   last changed";
                                                leaf time-in-seconds {
                                                  type int32;
                                                  units
                                                    "second";
                                                  description
                                                    "Time Value in Seconds";
                                                }
    
                                                leaf time-in-nano-seconds {
                                                  type int32;
                                                  units
                                                    "nanosecond";
                                                  description
                                                    "Time Value in Nano-seconds";
                                                }
                                              }  // container last-operational-state-change
    
                                              container module-up-time {
                                                description
                                                  "Describes the Entity Module up time";
                                                leaf time-in-seconds {
                                                  type int32;
                                                  units
                                                    "second";
                                                  description
                                                    "Time Value in Seconds";
                                                }
    
                                                leaf time-in-nano-seconds {
                                                  type int32;
                                                  units
                                                    "nanosecond";
                                                  description
                                                    "Time Value in Nano-seconds";
                                                }
                                              }  // container module-up-time
    
                                              leaf module-administrative-state {
                                                type Inv-admin-state;
                                                description
                                                  "Describes the Entity Administrative    state";
                                              }
    
                                              leaf module-power-administrative-state {
                                                type Inv-power-admin-state;
                                                description
                                                  "Describes the Entity Power administrative state";
                                              }
    
                                              leaf module-operational-state {
                                                type Inv-card-state;
                                                description
                                                  "Describes the Entity Operation state";
                                              }
    
                                              leaf module-monitor-state {
                                                type Inv-monitor-state;
                                                description
                                                  "Describes the Entity Monitor state";
                                              }
    
                                              leaf module-reset-reason {
                                                type Inv-reset-reason;
                                                description
                                                  "Describes the Entity Reset reason state";
                                              }
                                            }  // container fru-info
                                          }  // container attributes
                                        }  // list port
                                      }  // container ports
    
                                      leaf name {
                                        type xr:Cisco-ios-xr-string;
                                        description
                                          "HW component name";
                                      }
    
                                      container sensors {
                                        description
                                          "Table of sensors";
                                        list sensor {
                                          key "name";
                                          description
                                            "Sensor number";
                                          leaf name {
                                            type xr:Cisco-ios-xr-string;
                                            description
                                              "Sensor name";
                                          }
    
                                          container attributes {
                                            description
                                              "Attributes";
                                            container basic-info {
                                              description
                                                "Entity attributes";
                                              leaf name {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity name string";
                                              }
    
                                              leaf description {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "describes in user-readable termswhat the entity
    in question does";
                                              }
    
                                              leaf model-name {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity model name";
                                              }
    
                                              leaf hardware-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity hw revision string";
                                              }
    
                                              leaf serial-number {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity serial number";
                                              }
    
                                              leaf firmware-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity firmware revision string";
                                              }
    
                                              leaf software-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity software revision string";
                                              }
    
                                              leaf vendor-type {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "maps to the vendor OID string";
                                              }
    
                                              leaf is-field-replaceable-unit {
                                                type boolean;
                                                description
                                                  "1 if Field Replaceable Unit 0, if not";
                                              }
                                            }  // container basic-info
    
                                            container fru-info {
                                              description
                                                "Field Replaceable Unit (FRU) attributes";
                                              container last-operational-state-change {
                                                description
                                                  "Time operational state is   last changed";
                                                leaf time-in-seconds {
                                                  type int32;
                                                  units
                                                    "second";
                                                  description
                                                    "Time Value in Seconds";
                                                }
    
                                                leaf time-in-nano-seconds {
                                                  type int32;
                                                  units
                                                    "nanosecond";
                                                  description
                                                    "Time Value in Nano-seconds";
                                                }
                                              }  // container last-operational-state-change
    
                                              container module-up-time {
                                                description
                                                  "Describes the Entity Module up time";
                                                leaf time-in-seconds {
                                                  type int32;
                                                  units
                                                    "second";
                                                  description
                                                    "Time Value in Seconds";
                                                }
    
                                                leaf time-in-nano-seconds {
                                                  type int32;
                                                  units
                                                    "nanosecond";
                                                  description
                                                    "Time Value in Nano-seconds";
                                                }
                                              }  // container module-up-time
    
                                              leaf module-administrative-state {
                                                type Inv-admin-state;
                                                description
                                                  "Describes the Entity Administrative    state";
                                              }
    
                                              leaf module-power-administrative-state {
                                                type Inv-power-admin-state;
                                                description
                                                  "Describes the Entity Power administrative state";
                                              }
    
                                              leaf module-operational-state {
                                                type Inv-card-state;
                                                description
                                                  "Describes the Entity Operation state";
                                              }
    
                                              leaf module-monitor-state {
                                                type Inv-monitor-state;
                                                description
                                                  "Describes the Entity Monitor state";
                                              }
    
                                              leaf module-reset-reason {
                                                type Inv-reset-reason;
                                                description
                                                  "Describes the Entity Reset reason state";
                                              }
                                            }  // container fru-info
                                          }  // container attributes
                                        }  // list sensor
                                      }  // container sensors
    
                                      container attributes {
                                        description
                                          "Attributes";
                                        container basic-info {
                                          description
                                            "Entity attributes";
                                          leaf name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity name string";
                                          }
    
                                          leaf description {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "describes in user-readable termswhat the entity
    in question does";
                                          }
    
                                          leaf model-name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity model name";
                                          }
    
                                          leaf hardware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity hw revision string";
                                          }
    
                                          leaf serial-number {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity serial number";
                                          }
    
                                          leaf firmware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity firmware revision string";
                                          }
    
                                          leaf software-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity software revision string";
                                          }
    
                                          leaf vendor-type {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "maps to the vendor OID string";
                                          }
    
                                          leaf is-field-replaceable-unit {
                                            type boolean;
                                            description
                                              "1 if Field Replaceable Unit 0, if not";
                                          }
                                        }  // container basic-info
    
                                        container fru-info {
                                          description
                                            "Field Replaceable Unit (FRU) attributes";
                                          container last-operational-state-change {
                                            description
                                              "Time operational state is   last changed";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container last-operational-state-change
    
                                          container module-up-time {
                                            description
                                              "Describes the Entity Module up time";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container module-up-time
    
                                          leaf module-administrative-state {
                                            type Inv-admin-state;
                                            description
                                              "Describes the Entity Administrative    state";
                                          }
    
                                          leaf module-power-administrative-state {
                                            type Inv-power-admin-state;
                                            description
                                              "Describes the Entity Power administrative state";
                                          }
    
                                          leaf module-operational-state {
                                            type Inv-card-state;
                                            description
                                              "Describes the Entity Operation state";
                                          }
    
                                          leaf module-monitor-state {
                                            type Inv-monitor-state;
                                            description
                                              "Describes the Entity Monitor state";
                                          }
    
                                          leaf module-reset-reason {
                                            type Inv-reset-reason;
                                            description
                                              "Describes the Entity Reset reason state";
                                          }
                                        }  // container fru-info
                                      }  // container attributes
    
                                      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";
                                          }
    
                                          container sensors {
                                            description
                                              "Table of sensors";
                                            list sensor {
                                              key "name";
                                              description
                                                "Sensor number";
                                              leaf name {
                                                type xr:Cisco-ios-xr-string;
                                                description
                                                  "Sensor name";
                                              }
    
                                              container attributes {
                                                description
                                                  "Attributes";
                                                container basic-info {
                                                  description
                                                    "Entity attributes";
                                                  leaf name {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity name string";
                                                  }
    
                                                  leaf description {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "describes in user-readable termswhat the entity
    in question does";
                                                  }
    
                                                  leaf model-name {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity model name";
                                                  }
    
                                                  leaf hardware-revision {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity hw revision string";
                                                  }
    
                                                  leaf serial-number {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity serial number";
                                                  }
    
                                                  leaf firmware-revision {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity firmware revision string";
                                                  }
    
                                                  leaf software-revision {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "Describes the Entity software revision string";
                                                  }
    
                                                  leaf vendor-type {
                                                    type string {
                                                      length
                                                        "0..255";
                                                    }
                                                    description
                                                      "maps to the vendor OID string";
                                                  }
    
                                                  leaf is-field-replaceable-unit {
                                                    type boolean;
                                                    description
                                                      "1 if Field Replaceable Unit 0, if not";
                                                  }
                                                }  // container basic-info
    
                                                container fru-info {
                                                  description
                                                    "Field Replaceable Unit (FRU) attributes";
                                                  container last-operational-state-change {
                                                    description
                                                      "Time operational state is   last changed";
                                                    leaf time-in-seconds {
                                                      type int32;
                                                      units
                                                        "second";
                                                      description
                                                        "Time Value in Seconds";
                                                    }
    
                                                    leaf time-in-nano-seconds {
                                                      type int32;
                                                      units
                                                        "nanosecond";
                                                      description
                                                        "Time Value in Nano-seconds";
                                                    }
                                                  }  // container last-operational-state-change
    
                                                  container module-up-time {
                                                    description
                                                      "Describes the Entity Module up time";
                                                    leaf time-in-seconds {
                                                      type int32;
                                                      units
                                                        "second";
                                                      description
                                                        "Time Value in Seconds";
                                                    }
    
                                                    leaf time-in-nano-seconds {
                                                      type int32;
                                                      units
                                                        "nanosecond";
                                                      description
                                                        "Time Value in Nano-seconds";
                                                    }
                                                  }  // container module-up-time
    
                                                  leaf module-administrative-state {
                                                    type Inv-admin-state;
                                                    description
                                                      "Describes the Entity Administrative    state";
                                                  }
    
                                                  leaf module-power-administrative-state {
                                                    type Inv-power-admin-state;
                                                    description
                                                      "Describes the Entity Power administrative state";
                                                  }
    
                                                  leaf module-operational-state {
                                                    type Inv-card-state;
                                                    description
                                                      "Describes the Entity Operation state";
                                                  }
    
                                                  leaf module-monitor-state {
                                                    type Inv-monitor-state;
                                                    description
                                                      "Describes the Entity Monitor state";
                                                  }
    
                                                  leaf module-reset-reason {
                                                    type Inv-reset-reason;
                                                    description
                                                      "Describes the Entity Reset reason state";
                                                  }
                                                }  // container fru-info
                                              }  // container attributes
                                            }  // list sensor
                                          }  // container sensors
    
                                          container attributes {
                                            description
                                              "Attributes";
                                            container basic-info {
                                              description
                                                "Entity attributes";
                                              leaf name {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity name string";
                                              }
    
                                              leaf description {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "describes in user-readable termswhat the entity
    in question does";
                                              }
    
                                              leaf model-name {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity model name";
                                              }
    
                                              leaf hardware-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity hw revision string";
                                              }
    
                                              leaf serial-number {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity serial number";
                                              }
    
                                              leaf firmware-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity firmware revision string";
                                              }
    
                                              leaf software-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity software revision string";
                                              }
    
                                              leaf vendor-type {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "maps to the vendor OID string";
                                              }
    
                                              leaf is-field-replaceable-unit {
                                                type boolean;
                                                description
                                                  "1 if Field Replaceable Unit 0, if not";
                                              }
                                            }  // container basic-info
    
                                            container fru-info {
                                              description
                                                "Field Replaceable Unit (FRU) attributes";
                                              container last-operational-state-change {
                                                description
                                                  "Time operational state is   last changed";
                                                leaf time-in-seconds {
                                                  type int32;
                                                  units
                                                    "second";
                                                  description
                                                    "Time Value in Seconds";
                                                }
    
                                                leaf time-in-nano-seconds {
                                                  type int32;
                                                  units
                                                    "nanosecond";
                                                  description
                                                    "Time Value in Nano-seconds";
                                                }
                                              }  // container last-operational-state-change
    
                                              container module-up-time {
                                                description
                                                  "Describes the Entity Module up time";
                                                leaf time-in-seconds {
                                                  type int32;
                                                  units
                                                    "second";
                                                  description
                                                    "Time Value in Seconds";
                                                }
    
                                                leaf time-in-nano-seconds {
                                                  type int32;
                                                  units
                                                    "nanosecond";
                                                  description
                                                    "Time Value in Nano-seconds";
                                                }
                                              }  // container module-up-time
    
                                              leaf module-administrative-state {
                                                type Inv-admin-state;
                                                description
                                                  "Describes the Entity Administrative    state";
                                              }
    
                                              leaf module-power-administrative-state {
                                                type Inv-power-admin-state;
                                                description
                                                  "Describes the Entity Power administrative state";
                                              }
    
                                              leaf module-operational-state {
                                                type Inv-card-state;
                                                description
                                                  "Describes the Entity Operation state";
                                              }
    
                                              leaf module-monitor-state {
                                                type Inv-monitor-state;
                                                description
                                                  "Describes the Entity Monitor state";
                                              }
    
                                              leaf module-reset-reason {
                                                type Inv-reset-reason;
                                                description
                                                  "Describes the Entity Reset reason state";
                                              }
                                            }  // container fru-info
                                          }  // container attributes
                                        }  // list hw-component
                                      }  // container hw-components
                                    }  // list sub-module-l3
                                  }  // container sub-module-l3s
    
                                  leaf name {
                                    type xr:Cisco-ios-xr-string;
                                    description
                                      "HW component name";
                                  }
    
                                  container sensors {
                                    description
                                      "Table of sensors";
                                    list sensor {
                                      key "name";
                                      description
                                        "Sensor number";
                                      leaf name {
                                        type xr:Cisco-ios-xr-string;
                                        description
                                          "Sensor name";
                                      }
    
                                      container attributes {
                                        description
                                          "Attributes";
                                        container basic-info {
                                          description
                                            "Entity attributes";
                                          leaf name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity name string";
                                          }
    
                                          leaf description {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "describes in user-readable termswhat the entity
    in question does";
                                          }
    
                                          leaf model-name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity model name";
                                          }
    
                                          leaf hardware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity hw revision string";
                                          }
    
                                          leaf serial-number {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity serial number";
                                          }
    
                                          leaf firmware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity firmware revision string";
                                          }
    
                                          leaf software-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity software revision string";
                                          }
    
                                          leaf vendor-type {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "maps to the vendor OID string";
                                          }
    
                                          leaf is-field-replaceable-unit {
                                            type boolean;
                                            description
                                              "1 if Field Replaceable Unit 0, if not";
                                          }
                                        }  // container basic-info
    
                                        container fru-info {
                                          description
                                            "Field Replaceable Unit (FRU) attributes";
                                          container last-operational-state-change {
                                            description
                                              "Time operational state is   last changed";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container last-operational-state-change
    
                                          container module-up-time {
                                            description
                                              "Describes the Entity Module up time";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container module-up-time
    
                                          leaf module-administrative-state {
                                            type Inv-admin-state;
                                            description
                                              "Describes the Entity Administrative    state";
                                          }
    
                                          leaf module-power-administrative-state {
                                            type Inv-power-admin-state;
                                            description
                                              "Describes the Entity Power administrative state";
                                          }
    
                                          leaf module-operational-state {
                                            type Inv-card-state;
                                            description
                                              "Describes the Entity Operation state";
                                          }
    
                                          leaf module-monitor-state {
                                            type Inv-monitor-state;
                                            description
                                              "Describes the Entity Monitor state";
                                          }
    
                                          leaf module-reset-reason {
                                            type Inv-reset-reason;
                                            description
                                              "Describes the Entity Reset reason state";
                                          }
                                        }  // container fru-info
                                      }  // container attributes
                                    }  // list sensor
                                  }  // container sensors
    
                                  container attributes {
                                    description
                                      "Attributes";
                                    container basic-info {
                                      description
                                        "Entity attributes";
                                      leaf name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity name string";
                                      }
    
                                      leaf description {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "describes in user-readable termswhat the entity
    in question does";
                                      }
    
                                      leaf model-name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity model name";
                                      }
    
                                      leaf hardware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity hw revision string";
                                      }
    
                                      leaf serial-number {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity serial number";
                                      }
    
                                      leaf firmware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity firmware revision string";
                                      }
    
                                      leaf software-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity software revision string";
                                      }
    
                                      leaf vendor-type {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "maps to the vendor OID string";
                                      }
    
                                      leaf is-field-replaceable-unit {
                                        type boolean;
                                        description
                                          "1 if Field Replaceable Unit 0, if not";
                                      }
                                    }  // container basic-info
    
                                    container fru-info {
                                      description
                                        "Field Replaceable Unit (FRU) attributes";
                                      container last-operational-state-change {
                                        description
                                          "Time operational state is   last changed";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container last-operational-state-change
    
                                      container module-up-time {
                                        description
                                          "Describes the Entity Module up time";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container module-up-time
    
                                      leaf module-administrative-state {
                                        type Inv-admin-state;
                                        description
                                          "Describes the Entity Administrative    state";
                                      }
    
                                      leaf module-power-administrative-state {
                                        type Inv-power-admin-state;
                                        description
                                          "Describes the Entity Power administrative state";
                                      }
    
                                      leaf module-operational-state {
                                        type Inv-card-state;
                                        description
                                          "Describes the Entity Operation state";
                                      }
    
                                      leaf module-monitor-state {
                                        type Inv-monitor-state;
                                        description
                                          "Describes the Entity Monitor state";
                                      }
    
                                      leaf module-reset-reason {
                                        type Inv-reset-reason;
                                        description
                                          "Describes the Entity Reset reason state";
                                      }
                                    }  // container fru-info
                                  }  // container attributes
    
                                  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";
                                      }
    
                                      container sensors {
                                        description
                                          "Table of sensors";
                                        list sensor {
                                          key "name";
                                          description
                                            "Sensor number";
                                          leaf name {
                                            type xr:Cisco-ios-xr-string;
                                            description
                                              "Sensor name";
                                          }
    
                                          container attributes {
                                            description
                                              "Attributes";
                                            container basic-info {
                                              description
                                                "Entity attributes";
                                              leaf name {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity name string";
                                              }
    
                                              leaf description {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "describes in user-readable termswhat the entity
    in question does";
                                              }
    
                                              leaf model-name {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity model name";
                                              }
    
                                              leaf hardware-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity hw revision string";
                                              }
    
                                              leaf serial-number {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity serial number";
                                              }
    
                                              leaf firmware-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity firmware revision string";
                                              }
    
                                              leaf software-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity software revision string";
                                              }
    
                                              leaf vendor-type {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "maps to the vendor OID string";
                                              }
    
                                              leaf is-field-replaceable-unit {
                                                type boolean;
                                                description
                                                  "1 if Field Replaceable Unit 0, if not";
                                              }
                                            }  // container basic-info
    
                                            container fru-info {
                                              description
                                                "Field Replaceable Unit (FRU) attributes";
                                              container last-operational-state-change {
                                                description
                                                  "Time operational state is   last changed";
                                                leaf time-in-seconds {
                                                  type int32;
                                                  units
                                                    "second";
                                                  description
                                                    "Time Value in Seconds";
                                                }
    
                                                leaf time-in-nano-seconds {
                                                  type int32;
                                                  units
                                                    "nanosecond";
                                                  description
                                                    "Time Value in Nano-seconds";
                                                }
                                              }  // container last-operational-state-change
    
                                              container module-up-time {
                                                description
                                                  "Describes the Entity Module up time";
                                                leaf time-in-seconds {
                                                  type int32;
                                                  units
                                                    "second";
                                                  description
                                                    "Time Value in Seconds";
                                                }
    
                                                leaf time-in-nano-seconds {
                                                  type int32;
                                                  units
                                                    "nanosecond";
                                                  description
                                                    "Time Value in Nano-seconds";
                                                }
                                              }  // container module-up-time
    
                                              leaf module-administrative-state {
                                                type Inv-admin-state;
                                                description
                                                  "Describes the Entity Administrative    state";
                                              }
    
                                              leaf module-power-administrative-state {
                                                type Inv-power-admin-state;
                                                description
                                                  "Describes the Entity Power administrative state";
                                              }
    
                                              leaf module-operational-state {
                                                type Inv-card-state;
                                                description
                                                  "Describes the Entity Operation state";
                                              }
    
                                              leaf module-monitor-state {
                                                type Inv-monitor-state;
                                                description
                                                  "Describes the Entity Monitor state";
                                              }
    
                                              leaf module-reset-reason {
                                                type Inv-reset-reason;
                                                description
                                                  "Describes the Entity Reset reason state";
                                              }
                                            }  // container fru-info
                                          }  // container attributes
                                        }  // list sensor
                                      }  // container sensors
    
                                      container attributes {
                                        description
                                          "Attributes";
                                        container basic-info {
                                          description
                                            "Entity attributes";
                                          leaf name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity name string";
                                          }
    
                                          leaf description {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "describes in user-readable termswhat the entity
    in question does";
                                          }
    
                                          leaf model-name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity model name";
                                          }
    
                                          leaf hardware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity hw revision string";
                                          }
    
                                          leaf serial-number {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity serial number";
                                          }
    
                                          leaf firmware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity firmware revision string";
                                          }
    
                                          leaf software-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity software revision string";
                                          }
    
                                          leaf vendor-type {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "maps to the vendor OID string";
                                          }
    
                                          leaf is-field-replaceable-unit {
                                            type boolean;
                                            description
                                              "1 if Field Replaceable Unit 0, if not";
                                          }
                                        }  // container basic-info
    
                                        container fru-info {
                                          description
                                            "Field Replaceable Unit (FRU) attributes";
                                          container last-operational-state-change {
                                            description
                                              "Time operational state is   last changed";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container last-operational-state-change
    
                                          container module-up-time {
                                            description
                                              "Describes the Entity Module up time";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container module-up-time
    
                                          leaf module-administrative-state {
                                            type Inv-admin-state;
                                            description
                                              "Describes the Entity Administrative    state";
                                          }
    
                                          leaf module-power-administrative-state {
                                            type Inv-power-admin-state;
                                            description
                                              "Describes the Entity Power administrative state";
                                          }
    
                                          leaf module-operational-state {
                                            type Inv-card-state;
                                            description
                                              "Describes the Entity Operation state";
                                          }
    
                                          leaf module-monitor-state {
                                            type Inv-monitor-state;
                                            description
                                              "Describes the Entity Monitor state";
                                          }
    
                                          leaf module-reset-reason {
                                            type Inv-reset-reason;
                                            description
                                              "Describes the Entity Reset reason state";
                                          }
                                        }  // container fru-info
                                      }  // container attributes
                                    }  // list hw-component
                                  }  // container hw-components
                                }  // 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";
                                      }
    
                                      container attributes {
                                        description
                                          "Attributes";
                                        container basic-info {
                                          description
                                            "Entity attributes";
                                          leaf name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity name string";
                                          }
    
                                          leaf description {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "describes in user-readable termswhat the entity
    in question does";
                                          }
    
                                          leaf model-name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity model name";
                                          }
    
                                          leaf hardware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity hw revision string";
                                          }
    
                                          leaf serial-number {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity serial number";
                                          }
    
                                          leaf firmware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity firmware revision string";
                                          }
    
                                          leaf software-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity software revision string";
                                          }
    
                                          leaf vendor-type {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "maps to the vendor OID string";
                                          }
    
                                          leaf is-field-replaceable-unit {
                                            type boolean;
                                            description
                                              "1 if Field Replaceable Unit 0, if not";
                                          }
                                        }  // container basic-info
    
                                        container fru-info {
                                          description
                                            "Field Replaceable Unit (FRU) attributes";
                                          container last-operational-state-change {
                                            description
                                              "Time operational state is   last changed";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container last-operational-state-change
    
                                          container module-up-time {
                                            description
                                              "Describes the Entity Module up time";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container module-up-time
    
                                          leaf module-administrative-state {
                                            type Inv-admin-state;
                                            description
                                              "Describes the Entity Administrative    state";
                                          }
    
                                          leaf module-power-administrative-state {
                                            type Inv-power-admin-state;
                                            description
                                              "Describes the Entity Power administrative state";
                                          }
    
                                          leaf module-operational-state {
                                            type Inv-card-state;
                                            description
                                              "Describes the Entity Operation state";
                                          }
    
                                          leaf module-monitor-state {
                                            type Inv-monitor-state;
                                            description
                                              "Describes the Entity Monitor state";
                                          }
    
                                          leaf module-reset-reason {
                                            type Inv-reset-reason;
                                            description
                                              "Describes the Entity Reset reason state";
                                          }
                                        }  // container fru-info
                                      }  // container attributes
                                    }  // list port-module
                                  }  // container port-modules
    
                                  leaf name {
                                    type xr:Cisco-ios-xr-string;
                                    description
                                      "Port name";
                                  }
    
                                  container attributes {
                                    description
                                      "Attributes";
                                    container basic-info {
                                      description
                                        "Entity attributes";
                                      leaf name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity name string";
                                      }
    
                                      leaf description {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "describes in user-readable termswhat the entity
    in question does";
                                      }
    
                                      leaf model-name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity model name";
                                      }
    
                                      leaf hardware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity hw revision string";
                                      }
    
                                      leaf serial-number {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity serial number";
                                      }
    
                                      leaf firmware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity firmware revision string";
                                      }
    
                                      leaf software-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity software revision string";
                                      }
    
                                      leaf vendor-type {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "maps to the vendor OID string";
                                      }
    
                                      leaf is-field-replaceable-unit {
                                        type boolean;
                                        description
                                          "1 if Field Replaceable Unit 0, if not";
                                      }
                                    }  // container basic-info
    
                                    container fru-info {
                                      description
                                        "Field Replaceable Unit (FRU) attributes";
                                      container last-operational-state-change {
                                        description
                                          "Time operational state is   last changed";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container last-operational-state-change
    
                                      container module-up-time {
                                        description
                                          "Describes the Entity Module up time";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container module-up-time
    
                                      leaf module-administrative-state {
                                        type Inv-admin-state;
                                        description
                                          "Describes the Entity Administrative    state";
                                      }
    
                                      leaf module-power-administrative-state {
                                        type Inv-power-admin-state;
                                        description
                                          "Describes the Entity Power administrative state";
                                      }
    
                                      leaf module-operational-state {
                                        type Inv-card-state;
                                        description
                                          "Describes the Entity Operation state";
                                      }
    
                                      leaf module-monitor-state {
                                        type Inv-monitor-state;
                                        description
                                          "Describes the Entity Monitor state";
                                      }
    
                                      leaf module-reset-reason {
                                        type Inv-reset-reason;
                                        description
                                          "Describes the Entity Reset reason state";
                                      }
                                    }  // container fru-info
                                  }  // container attributes
    
                                  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";
                                      }
    
                                      container sensors {
                                        description
                                          "Table of sensors";
                                        list sensor {
                                          key "name";
                                          description
                                            "Sensor number";
                                          leaf name {
                                            type xr:Cisco-ios-xr-string;
                                            description
                                              "Sensor name";
                                          }
    
                                          container attributes {
                                            description
                                              "Attributes";
                                            container basic-info {
                                              description
                                                "Entity attributes";
                                              leaf name {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity name string";
                                              }
    
                                              leaf description {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "describes in user-readable termswhat the entity
    in question does";
                                              }
    
                                              leaf model-name {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity model name";
                                              }
    
                                              leaf hardware-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity hw revision string";
                                              }
    
                                              leaf serial-number {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity serial number";
                                              }
    
                                              leaf firmware-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity firmware revision string";
                                              }
    
                                              leaf software-revision {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "Describes the Entity software revision string";
                                              }
    
                                              leaf vendor-type {
                                                type string {
                                                  length
                                                    "0..255";
                                                }
                                                description
                                                  "maps to the vendor OID string";
                                              }
    
                                              leaf is-field-replaceable-unit {
                                                type boolean;
                                                description
                                                  "1 if Field Replaceable Unit 0, if not";
                                              }
                                            }  // container basic-info
    
                                            container fru-info {
                                              description
                                                "Field Replaceable Unit (FRU) attributes";
                                              container last-operational-state-change {
                                                description
                                                  "Time operational state is   last changed";
                                                leaf time-in-seconds {
                                                  type int32;
                                                  units
                                                    "second";
                                                  description
                                                    "Time Value in Seconds";
                                                }
    
                                                leaf time-in-nano-seconds {
                                                  type int32;
                                                  units
                                                    "nanosecond";
                                                  description
                                                    "Time Value in Nano-seconds";
                                                }
                                              }  // container last-operational-state-change
    
                                              container module-up-time {
                                                description
                                                  "Describes the Entity Module up time";
                                                leaf time-in-seconds {
                                                  type int32;
                                                  units
                                                    "second";
                                                  description
                                                    "Time Value in Seconds";
                                                }
    
                                                leaf time-in-nano-seconds {
                                                  type int32;
                                                  units
                                                    "nanosecond";
                                                  description
                                                    "Time Value in Nano-seconds";
                                                }
                                              }  // container module-up-time
    
                                              leaf module-administrative-state {
                                                type Inv-admin-state;
                                                description
                                                  "Describes the Entity Administrative    state";
                                              }
    
                                              leaf module-power-administrative-state {
                                                type Inv-power-admin-state;
                                                description
                                                  "Describes the Entity Power administrative state";
                                              }
    
                                              leaf module-operational-state {
                                                type Inv-card-state;
                                                description
                                                  "Describes the Entity Operation state";
                                              }
    
                                              leaf module-monitor-state {
                                                type Inv-monitor-state;
                                                description
                                                  "Describes the Entity Monitor state";
                                              }
    
                                              leaf module-reset-reason {
                                                type Inv-reset-reason;
                                                description
                                                  "Describes the Entity Reset reason state";
                                              }
                                            }  // container fru-info
                                          }  // container attributes
                                        }  // list sensor
                                      }  // container sensors
    
                                      container attributes {
                                        description
                                          "Attributes";
                                        container basic-info {
                                          description
                                            "Entity attributes";
                                          leaf name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity name string";
                                          }
    
                                          leaf description {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "describes in user-readable termswhat the entity
    in question does";
                                          }
    
                                          leaf model-name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity model name";
                                          }
    
                                          leaf hardware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity hw revision string";
                                          }
    
                                          leaf serial-number {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity serial number";
                                          }
    
                                          leaf firmware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity firmware revision string";
                                          }
    
                                          leaf software-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity software revision string";
                                          }
    
                                          leaf vendor-type {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "maps to the vendor OID string";
                                          }
    
                                          leaf is-field-replaceable-unit {
                                            type boolean;
                                            description
                                              "1 if Field Replaceable Unit 0, if not";
                                          }
                                        }  // container basic-info
    
                                        container fru-info {
                                          description
                                            "Field Replaceable Unit (FRU) attributes";
                                          container last-operational-state-change {
                                            description
                                              "Time operational state is   last changed";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container last-operational-state-change
    
                                          container module-up-time {
                                            description
                                              "Describes the Entity Module up time";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container module-up-time
    
                                          leaf module-administrative-state {
                                            type Inv-admin-state;
                                            description
                                              "Describes the Entity Administrative    state";
                                          }
    
                                          leaf module-power-administrative-state {
                                            type Inv-power-admin-state;
                                            description
                                              "Describes the Entity Power administrative state";
                                          }
    
                                          leaf module-operational-state {
                                            type Inv-card-state;
                                            description
                                              "Describes the Entity Operation state";
                                          }
    
                                          leaf module-monitor-state {
                                            type Inv-monitor-state;
                                            description
                                              "Describes the Entity Monitor state";
                                          }
    
                                          leaf module-reset-reason {
                                            type Inv-reset-reason;
                                            description
                                              "Describes the Entity Reset reason state";
                                          }
                                        }  // container fru-info
                                      }  // container attributes
                                    }  // list hw-component
                                  }  // container hw-components
                                }  // list port
                              }  // container ports
    
                              leaf name {
                                type xr:Cisco-ios-xr-string;
                                description
                                  "HW component name";
                              }
    
                              container sensors {
                                description
                                  "Table of sensors";
                                list sensor {
                                  key "name";
                                  description
                                    "Sensor number";
                                  leaf name {
                                    type xr:Cisco-ios-xr-string;
                                    description
                                      "Sensor name";
                                  }
    
                                  container attributes {
                                    description
                                      "Attributes";
                                    container basic-info {
                                      description
                                        "Entity attributes";
                                      leaf name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity name string";
                                      }
    
                                      leaf description {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "describes in user-readable termswhat the entity
    in question does";
                                      }
    
                                      leaf model-name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity model name";
                                      }
    
                                      leaf hardware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity hw revision string";
                                      }
    
                                      leaf serial-number {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity serial number";
                                      }
    
                                      leaf firmware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity firmware revision string";
                                      }
    
                                      leaf software-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity software revision string";
                                      }
    
                                      leaf vendor-type {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "maps to the vendor OID string";
                                      }
    
                                      leaf is-field-replaceable-unit {
                                        type boolean;
                                        description
                                          "1 if Field Replaceable Unit 0, if not";
                                      }
                                    }  // container basic-info
    
                                    container fru-info {
                                      description
                                        "Field Replaceable Unit (FRU) attributes";
                                      container last-operational-state-change {
                                        description
                                          "Time operational state is   last changed";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container last-operational-state-change
    
                                      container module-up-time {
                                        description
                                          "Describes the Entity Module up time";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container module-up-time
    
                                      leaf module-administrative-state {
                                        type Inv-admin-state;
                                        description
                                          "Describes the Entity Administrative    state";
                                      }
    
                                      leaf module-power-administrative-state {
                                        type Inv-power-admin-state;
                                        description
                                          "Describes the Entity Power administrative state";
                                      }
    
                                      leaf module-operational-state {
                                        type Inv-card-state;
                                        description
                                          "Describes the Entity Operation state";
                                      }
    
                                      leaf module-monitor-state {
                                        type Inv-monitor-state;
                                        description
                                          "Describes the Entity Monitor state";
                                      }
    
                                      leaf module-reset-reason {
                                        type Inv-reset-reason;
                                        description
                                          "Describes the Entity Reset reason state";
                                      }
                                    }  // container fru-info
                                  }  // container attributes
                                }  // list sensor
                              }  // container sensors
    
                              container attributes {
                                description
                                  "Attributes";
                                container basic-info {
                                  description
                                    "Entity attributes";
                                  leaf name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity name string";
                                  }
    
                                  leaf description {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "describes in user-readable termswhat the entity
    in question does";
                                  }
    
                                  leaf model-name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity model name";
                                  }
    
                                  leaf hardware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity hw revision string";
                                  }
    
                                  leaf serial-number {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity serial number";
                                  }
    
                                  leaf firmware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity firmware revision string";
                                  }
    
                                  leaf software-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity software revision string";
                                  }
    
                                  leaf vendor-type {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "maps to the vendor OID string";
                                  }
    
                                  leaf is-field-replaceable-unit {
                                    type boolean;
                                    description
                                      "1 if Field Replaceable Unit 0, if not";
                                  }
                                }  // container basic-info
    
                                container fru-info {
                                  description
                                    "Field Replaceable Unit (FRU) attributes";
                                  container last-operational-state-change {
                                    description
                                      "Time operational state is   last changed";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container last-operational-state-change
    
                                  container module-up-time {
                                    description
                                      "Describes the Entity Module up time";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container module-up-time
    
                                  leaf module-administrative-state {
                                    type Inv-admin-state;
                                    description
                                      "Describes the Entity Administrative    state";
                                  }
    
                                  leaf module-power-administrative-state {
                                    type Inv-power-admin-state;
                                    description
                                      "Describes the Entity Power administrative state";
                                  }
    
                                  leaf module-operational-state {
                                    type Inv-card-state;
                                    description
                                      "Describes the Entity Operation state";
                                  }
    
                                  leaf module-monitor-state {
                                    type Inv-monitor-state;
                                    description
                                      "Describes the Entity Monitor state";
                                  }
    
                                  leaf module-reset-reason {
                                    type Inv-reset-reason;
                                    description
                                      "Describes the Entity Reset reason state";
                                  }
                                }  // container fru-info
                              }  // container attributes
    
                              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";
                                  }
    
                                  container sensors {
                                    description
                                      "Table of sensors";
                                    list sensor {
                                      key "name";
                                      description
                                        "Sensor number";
                                      leaf name {
                                        type xr:Cisco-ios-xr-string;
                                        description
                                          "Sensor name";
                                      }
    
                                      container attributes {
                                        description
                                          "Attributes";
                                        container basic-info {
                                          description
                                            "Entity attributes";
                                          leaf name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity name string";
                                          }
    
                                          leaf description {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "describes in user-readable termswhat the entity
    in question does";
                                          }
    
                                          leaf model-name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity model name";
                                          }
    
                                          leaf hardware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity hw revision string";
                                          }
    
                                          leaf serial-number {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity serial number";
                                          }
    
                                          leaf firmware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity firmware revision string";
                                          }
    
                                          leaf software-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity software revision string";
                                          }
    
                                          leaf vendor-type {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "maps to the vendor OID string";
                                          }
    
                                          leaf is-field-replaceable-unit {
                                            type boolean;
                                            description
                                              "1 if Field Replaceable Unit 0, if not";
                                          }
                                        }  // container basic-info
    
                                        container fru-info {
                                          description
                                            "Field Replaceable Unit (FRU) attributes";
                                          container last-operational-state-change {
                                            description
                                              "Time operational state is   last changed";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container last-operational-state-change
    
                                          container module-up-time {
                                            description
                                              "Describes the Entity Module up time";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container module-up-time
    
                                          leaf module-administrative-state {
                                            type Inv-admin-state;
                                            description
                                              "Describes the Entity Administrative    state";
                                          }
    
                                          leaf module-power-administrative-state {
                                            type Inv-power-admin-state;
                                            description
                                              "Describes the Entity Power administrative state";
                                          }
    
                                          leaf module-operational-state {
                                            type Inv-card-state;
                                            description
                                              "Describes the Entity Operation state";
                                          }
    
                                          leaf module-monitor-state {
                                            type Inv-monitor-state;
                                            description
                                              "Describes the Entity Monitor state";
                                          }
    
                                          leaf module-reset-reason {
                                            type Inv-reset-reason;
                                            description
                                              "Describes the Entity Reset reason state";
                                          }
                                        }  // container fru-info
                                      }  // container attributes
                                    }  // list sensor
                                  }  // container sensors
    
                                  container attributes {
                                    description
                                      "Attributes";
                                    container basic-info {
                                      description
                                        "Entity attributes";
                                      leaf name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity name string";
                                      }
    
                                      leaf description {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "describes in user-readable termswhat the entity
    in question does";
                                      }
    
                                      leaf model-name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity model name";
                                      }
    
                                      leaf hardware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity hw revision string";
                                      }
    
                                      leaf serial-number {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity serial number";
                                      }
    
                                      leaf firmware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity firmware revision string";
                                      }
    
                                      leaf software-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity software revision string";
                                      }
    
                                      leaf vendor-type {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "maps to the vendor OID string";
                                      }
    
                                      leaf is-field-replaceable-unit {
                                        type boolean;
                                        description
                                          "1 if Field Replaceable Unit 0, if not";
                                      }
                                    }  // container basic-info
    
                                    container fru-info {
                                      description
                                        "Field Replaceable Unit (FRU) attributes";
                                      container last-operational-state-change {
                                        description
                                          "Time operational state is   last changed";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container last-operational-state-change
    
                                      container module-up-time {
                                        description
                                          "Describes the Entity Module up time";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container module-up-time
    
                                      leaf module-administrative-state {
                                        type Inv-admin-state;
                                        description
                                          "Describes the Entity Administrative    state";
                                      }
    
                                      leaf module-power-administrative-state {
                                        type Inv-power-admin-state;
                                        description
                                          "Describes the Entity Power administrative state";
                                      }
    
                                      leaf module-operational-state {
                                        type Inv-card-state;
                                        description
                                          "Describes the Entity Operation state";
                                      }
    
                                      leaf module-monitor-state {
                                        type Inv-monitor-state;
                                        description
                                          "Describes the Entity Monitor state";
                                      }
    
                                      leaf module-reset-reason {
                                        type Inv-reset-reason;
                                        description
                                          "Describes the Entity Reset reason state";
                                      }
                                    }  // container fru-info
                                  }  // container attributes
                                }  // list hw-component
                              }  // container hw-components
                            }  // list sub-module
                          }  // container sub-modules
    
                          leaf module-name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Module name";
                          }
    
                          container sensors {
                            description
                              "Table of sensors";
                            list sensor {
                              key "name";
                              description
                                "Sensor number";
                              leaf name {
                                type xr:Cisco-ios-xr-string;
                                description
                                  "Sensor name";
                              }
    
                              container attributes {
                                description
                                  "Attributes";
                                container basic-info {
                                  description
                                    "Entity attributes";
                                  leaf name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity name string";
                                  }
    
                                  leaf description {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "describes in user-readable termswhat the entity
    in question does";
                                  }
    
                                  leaf model-name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity model name";
                                  }
    
                                  leaf hardware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity hw revision string";
                                  }
    
                                  leaf serial-number {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity serial number";
                                  }
    
                                  leaf firmware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity firmware revision string";
                                  }
    
                                  leaf software-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity software revision string";
                                  }
    
                                  leaf vendor-type {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "maps to the vendor OID string";
                                  }
    
                                  leaf is-field-replaceable-unit {
                                    type boolean;
                                    description
                                      "1 if Field Replaceable Unit 0, if not";
                                  }
                                }  // container basic-info
    
                                container fru-info {
                                  description
                                    "Field Replaceable Unit (FRU) attributes";
                                  container last-operational-state-change {
                                    description
                                      "Time operational state is   last changed";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container last-operational-state-change
    
                                  container module-up-time {
                                    description
                                      "Describes the Entity Module up time";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container module-up-time
    
                                  leaf module-administrative-state {
                                    type Inv-admin-state;
                                    description
                                      "Describes the Entity Administrative    state";
                                  }
    
                                  leaf module-power-administrative-state {
                                    type Inv-power-admin-state;
                                    description
                                      "Describes the Entity Power administrative state";
                                  }
    
                                  leaf module-operational-state {
                                    type Inv-card-state;
                                    description
                                      "Describes the Entity Operation state";
                                  }
    
                                  leaf module-monitor-state {
                                    type Inv-monitor-state;
                                    description
                                      "Describes the Entity Monitor state";
                                  }
    
                                  leaf module-reset-reason {
                                    type Inv-reset-reason;
                                    description
                                      "Describes the Entity Reset reason state";
                                  }
                                }  // container fru-info
                              }  // container attributes
                            }  // list sensor
                          }  // container sensors
    
                          container attributes {
                            description
                              "Attributes";
                            container basic-info {
                              description
                                "Entity attributes";
                              leaf name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity name string";
                              }
    
                              leaf description {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "describes in user-readable termswhat the entity
    in question does";
                              }
    
                              leaf model-name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity model name";
                              }
    
                              leaf hardware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity hw revision string";
                              }
    
                              leaf serial-number {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity serial number";
                              }
    
                              leaf firmware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity firmware revision string";
                              }
    
                              leaf software-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity software revision string";
                              }
    
                              leaf vendor-type {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "maps to the vendor OID string";
                              }
    
                              leaf is-field-replaceable-unit {
                                type boolean;
                                description
                                  "1 if Field Replaceable Unit 0, if not";
                              }
                            }  // container basic-info
    
                            container fru-info {
                              description
                                "Field Replaceable Unit (FRU) attributes";
                              container last-operational-state-change {
                                description
                                  "Time operational state is   last changed";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container last-operational-state-change
    
                              container module-up-time {
                                description
                                  "Describes the Entity Module up time";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container module-up-time
    
                              leaf module-administrative-state {
                                type Inv-admin-state;
                                description
                                  "Describes the Entity Administrative    state";
                              }
    
                              leaf module-power-administrative-state {
                                type Inv-power-admin-state;
                                description
                                  "Describes the Entity Power administrative state";
                              }
    
                              leaf module-operational-state {
                                type Inv-card-state;
                                description
                                  "Describes the Entity Operation state";
                              }
    
                              leaf module-monitor-state {
                                type Inv-monitor-state;
                                description
                                  "Describes the Entity Monitor state";
                              }
    
                              leaf module-reset-reason {
                                type Inv-reset-reason;
                                description
                                  "Describes the Entity Reset reason state";
                              }
                            }  // container fru-info
                          }  // container attributes
    
                          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";
                              }
    
                              container sensors {
                                description
                                  "Table of sensors";
                                list sensor {
                                  key "name";
                                  description
                                    "Sensor number";
                                  leaf name {
                                    type xr:Cisco-ios-xr-string;
                                    description
                                      "Sensor name";
                                  }
    
                                  container attributes {
                                    description
                                      "Attributes";
                                    container basic-info {
                                      description
                                        "Entity attributes";
                                      leaf name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity name string";
                                      }
    
                                      leaf description {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "describes in user-readable termswhat the entity
    in question does";
                                      }
    
                                      leaf model-name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity model name";
                                      }
    
                                      leaf hardware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity hw revision string";
                                      }
    
                                      leaf serial-number {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity serial number";
                                      }
    
                                      leaf firmware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity firmware revision string";
                                      }
    
                                      leaf software-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity software revision string";
                                      }
    
                                      leaf vendor-type {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "maps to the vendor OID string";
                                      }
    
                                      leaf is-field-replaceable-unit {
                                        type boolean;
                                        description
                                          "1 if Field Replaceable Unit 0, if not";
                                      }
                                    }  // container basic-info
    
                                    container fru-info {
                                      description
                                        "Field Replaceable Unit (FRU) attributes";
                                      container last-operational-state-change {
                                        description
                                          "Time operational state is   last changed";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container last-operational-state-change
    
                                      container module-up-time {
                                        description
                                          "Describes the Entity Module up time";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container module-up-time
    
                                      leaf module-administrative-state {
                                        type Inv-admin-state;
                                        description
                                          "Describes the Entity Administrative    state";
                                      }
    
                                      leaf module-power-administrative-state {
                                        type Inv-power-admin-state;
                                        description
                                          "Describes the Entity Power administrative state";
                                      }
    
                                      leaf module-operational-state {
                                        type Inv-card-state;
                                        description
                                          "Describes the Entity Operation state";
                                      }
    
                                      leaf module-monitor-state {
                                        type Inv-monitor-state;
                                        description
                                          "Describes the Entity Monitor state";
                                      }
    
                                      leaf module-reset-reason {
                                        type Inv-reset-reason;
                                        description
                                          "Describes the Entity Reset reason state";
                                      }
                                    }  // container fru-info
                                  }  // container attributes
                                }  // list sensor
                              }  // container sensors
    
                              container attributes {
                                description
                                  "Attributes";
                                container basic-info {
                                  description
                                    "Entity attributes";
                                  leaf name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity name string";
                                  }
    
                                  leaf description {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "describes in user-readable termswhat the entity
    in question does";
                                  }
    
                                  leaf model-name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity model name";
                                  }
    
                                  leaf hardware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity hw revision string";
                                  }
    
                                  leaf serial-number {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity serial number";
                                  }
    
                                  leaf firmware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity firmware revision string";
                                  }
    
                                  leaf software-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity software revision string";
                                  }
    
                                  leaf vendor-type {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "maps to the vendor OID string";
                                  }
    
                                  leaf is-field-replaceable-unit {
                                    type boolean;
                                    description
                                      "1 if Field Replaceable Unit 0, if not";
                                  }
                                }  // container basic-info
    
                                container fru-info {
                                  description
                                    "Field Replaceable Unit (FRU) attributes";
                                  container last-operational-state-change {
                                    description
                                      "Time operational state is   last changed";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container last-operational-state-change
    
                                  container module-up-time {
                                    description
                                      "Describes the Entity Module up time";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container module-up-time
    
                                  leaf module-administrative-state {
                                    type Inv-admin-state;
                                    description
                                      "Describes the Entity Administrative    state";
                                  }
    
                                  leaf module-power-administrative-state {
                                    type Inv-power-admin-state;
                                    description
                                      "Describes the Entity Power administrative state";
                                  }
    
                                  leaf module-operational-state {
                                    type Inv-card-state;
                                    description
                                      "Describes the Entity Operation state";
                                  }
    
                                  leaf module-monitor-state {
                                    type Inv-monitor-state;
                                    description
                                      "Describes the Entity Monitor state";
                                  }
    
                                  leaf module-reset-reason {
                                    type Inv-reset-reason;
                                    description
                                      "Describes the Entity Reset reason state";
                                  }
                                }  // container fru-info
                              }  // container attributes
                            }  // list hw-component
                          }  // container hw-components
                        }  // list module
                      }  // container modules
    
                      leaf name {
                        type xr:Cisco-ios-xr-string;
                        description "Card name";
                      }
    
                      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";
                          }
    
                          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";
                              }
    
                              container sensors {
                                description
                                  "Table of sensors";
                                list sensor {
                                  key "name";
                                  description
                                    "Sensor number";
                                  leaf name {
                                    type xr:Cisco-ios-xr-string;
                                    description
                                      "Sensor name";
                                  }
    
                                  container attributes {
                                    description
                                      "Attributes";
                                    container basic-info {
                                      description
                                        "Entity attributes";
                                      leaf name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity name string";
                                      }
    
                                      leaf description {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "describes in user-readable termswhat the entity
    in question does";
                                      }
    
                                      leaf model-name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity model name";
                                      }
    
                                      leaf hardware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity hw revision string";
                                      }
    
                                      leaf serial-number {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity serial number";
                                      }
    
                                      leaf firmware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity firmware revision string";
                                      }
    
                                      leaf software-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity software revision string";
                                      }
    
                                      leaf vendor-type {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "maps to the vendor OID string";
                                      }
    
                                      leaf is-field-replaceable-unit {
                                        type boolean;
                                        description
                                          "1 if Field Replaceable Unit 0, if not";
                                      }
                                    }  // container basic-info
    
                                    container fru-info {
                                      description
                                        "Field Replaceable Unit (FRU) attributes";
                                      container last-operational-state-change {
                                        description
                                          "Time operational state is   last changed";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container last-operational-state-change
    
                                      container module-up-time {
                                        description
                                          "Describes the Entity Module up time";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container module-up-time
    
                                      leaf module-administrative-state {
                                        type Inv-admin-state;
                                        description
                                          "Describes the Entity Administrative    state";
                                      }
    
                                      leaf module-power-administrative-state {
                                        type Inv-power-admin-state;
                                        description
                                          "Describes the Entity Power administrative state";
                                      }
    
                                      leaf module-operational-state {
                                        type Inv-card-state;
                                        description
                                          "Describes the Entity Operation state";
                                      }
    
                                      leaf module-monitor-state {
                                        type Inv-monitor-state;
                                        description
                                          "Describes the Entity Monitor state";
                                      }
    
                                      leaf module-reset-reason {
                                        type Inv-reset-reason;
                                        description
                                          "Describes the Entity Reset reason state";
                                      }
                                    }  // container fru-info
                                  }  // container attributes
                                }  // list sensor
                              }  // container sensors
    
                              container attributes {
                                description
                                  "Attributes";
                                container basic-info {
                                  description
                                    "Entity attributes";
                                  leaf name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity name string";
                                  }
    
                                  leaf description {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "describes in user-readable termswhat the entity
    in question does";
                                  }
    
                                  leaf model-name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity model name";
                                  }
    
                                  leaf hardware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity hw revision string";
                                  }
    
                                  leaf serial-number {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity serial number";
                                  }
    
                                  leaf firmware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity firmware revision string";
                                  }
    
                                  leaf software-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity software revision string";
                                  }
    
                                  leaf vendor-type {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "maps to the vendor OID string";
                                  }
    
                                  leaf is-field-replaceable-unit {
                                    type boolean;
                                    description
                                      "1 if Field Replaceable Unit 0, if not";
                                  }
                                }  // container basic-info
    
                                container fru-info {
                                  description
                                    "Field Replaceable Unit (FRU) attributes";
                                  container last-operational-state-change {
                                    description
                                      "Time operational state is   last changed";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container last-operational-state-change
    
                                  container module-up-time {
                                    description
                                      "Describes the Entity Module up time";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container module-up-time
    
                                  leaf module-administrative-state {
                                    type Inv-admin-state;
                                    description
                                      "Describes the Entity Administrative    state";
                                  }
    
                                  leaf module-power-administrative-state {
                                    type Inv-power-admin-state;
                                    description
                                      "Describes the Entity Power administrative state";
                                  }
    
                                  leaf module-operational-state {
                                    type Inv-card-state;
                                    description
                                      "Describes the Entity Operation state";
                                  }
    
                                  leaf module-monitor-state {
                                    type Inv-monitor-state;
                                    description
                                      "Describes the Entity Monitor state";
                                  }
    
                                  leaf module-reset-reason {
                                    type Inv-reset-reason;
                                    description
                                      "Describes the Entity Reset reason state";
                                  }
                                }  // container fru-info
                              }  // container attributes
                            }  // list hw-component
                          }  // container hw-components
    
                          container sensors {
                            description
                              "Table of sensors";
                            list sensor {
                              key "name";
                              description
                                "Sensor number";
                              leaf name {
                                type xr:Cisco-ios-xr-string;
                                description
                                  "Sensor name";
                              }
    
                              container attributes {
                                description
                                  "Attributes";
                                container basic-info {
                                  description
                                    "Entity attributes";
                                  leaf name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity name string";
                                  }
    
                                  leaf description {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "describes in user-readable termswhat the entity
    in question does";
                                  }
    
                                  leaf model-name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity model name";
                                  }
    
                                  leaf hardware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity hw revision string";
                                  }
    
                                  leaf serial-number {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity serial number";
                                  }
    
                                  leaf firmware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity firmware revision string";
                                  }
    
                                  leaf software-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity software revision string";
                                  }
    
                                  leaf vendor-type {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "maps to the vendor OID string";
                                  }
    
                                  leaf is-field-replaceable-unit {
                                    type boolean;
                                    description
                                      "1 if Field Replaceable Unit 0, if not";
                                  }
                                }  // container basic-info
    
                                container fru-info {
                                  description
                                    "Field Replaceable Unit (FRU) attributes";
                                  container last-operational-state-change {
                                    description
                                      "Time operational state is   last changed";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container last-operational-state-change
    
                                  container module-up-time {
                                    description
                                      "Describes the Entity Module up time";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container module-up-time
    
                                  leaf module-administrative-state {
                                    type Inv-admin-state;
                                    description
                                      "Describes the Entity Administrative    state";
                                  }
    
                                  leaf module-power-administrative-state {
                                    type Inv-power-admin-state;
                                    description
                                      "Describes the Entity Power administrative state";
                                  }
    
                                  leaf module-operational-state {
                                    type Inv-card-state;
                                    description
                                      "Describes the Entity Operation state";
                                  }
    
                                  leaf module-monitor-state {
                                    type Inv-monitor-state;
                                    description
                                      "Describes the Entity Monitor state";
                                  }
    
                                  leaf module-reset-reason {
                                    type Inv-reset-reason;
                                    description
                                      "Describes the Entity Reset reason state";
                                  }
                                }  // container fru-info
                              }  // container attributes
                            }  // list sensor
                          }  // container sensors
    
                          container attributes {
                            description
                              "Attributes";
                            container basic-info {
                              description
                                "Entity attributes";
                              leaf name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity name string";
                              }
    
                              leaf description {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "describes in user-readable termswhat the entity
    in question does";
                              }
    
                              leaf model-name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity model name";
                              }
    
                              leaf hardware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity hw revision string";
                              }
    
                              leaf serial-number {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity serial number";
                              }
    
                              leaf firmware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity firmware revision string";
                              }
    
                              leaf software-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity software revision string";
                              }
    
                              leaf vendor-type {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "maps to the vendor OID string";
                              }
    
                              leaf is-field-replaceable-unit {
                                type boolean;
                                description
                                  "1 if Field Replaceable Unit 0, if not";
                              }
                            }  // container basic-info
    
                            container fru-info {
                              description
                                "Field Replaceable Unit (FRU) attributes";
                              container last-operational-state-change {
                                description
                                  "Time operational state is   last changed";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container last-operational-state-change
    
                              container module-up-time {
                                description
                                  "Describes the Entity Module up time";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container module-up-time
    
                              leaf module-administrative-state {
                                type Inv-admin-state;
                                description
                                  "Describes the Entity Administrative    state";
                              }
    
                              leaf module-power-administrative-state {
                                type Inv-power-admin-state;
                                description
                                  "Describes the Entity Power administrative state";
                              }
    
                              leaf module-operational-state {
                                type Inv-card-state;
                                description
                                  "Describes the Entity Operation state";
                              }
    
                              leaf module-monitor-state {
                                type Inv-monitor-state;
                                description
                                  "Describes the Entity Monitor state";
                              }
    
                              leaf module-reset-reason {
                                type Inv-reset-reason;
                                description
                                  "Describes the Entity Reset reason state";
                              }
                            }  // container fru-info
                          }  // container attributes
                        }  // list ports
                      }  // container portses
    
                      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";
                          }
    
                          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";
                              }
    
                              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";
                                  }
    
                                  container sensors {
                                    description
                                      "Table of sensors";
                                    list sensor {
                                      key "name";
                                      description
                                        "Sensor number";
                                      leaf name {
                                        type xr:Cisco-ios-xr-string;
                                        description
                                          "Sensor name";
                                      }
    
                                      container attributes {
                                        description
                                          "Attributes";
                                        container basic-info {
                                          description
                                            "Entity attributes";
                                          leaf name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity name string";
                                          }
    
                                          leaf description {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "describes in user-readable termswhat the entity
    in question does";
                                          }
    
                                          leaf model-name {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity model name";
                                          }
    
                                          leaf hardware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity hw revision string";
                                          }
    
                                          leaf serial-number {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity serial number";
                                          }
    
                                          leaf firmware-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity firmware revision string";
                                          }
    
                                          leaf software-revision {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "Describes the Entity software revision string";
                                          }
    
                                          leaf vendor-type {
                                            type string {
                                              length
                                                "0..255";
                                            }
                                            description
                                              "maps to the vendor OID string";
                                          }
    
                                          leaf is-field-replaceable-unit {
                                            type boolean;
                                            description
                                              "1 if Field Replaceable Unit 0, if not";
                                          }
                                        }  // container basic-info
    
                                        container fru-info {
                                          description
                                            "Field Replaceable Unit (FRU) attributes";
                                          container last-operational-state-change {
                                            description
                                              "Time operational state is   last changed";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container last-operational-state-change
    
                                          container module-up-time {
                                            description
                                              "Describes the Entity Module up time";
                                            leaf time-in-seconds {
                                              type int32;
                                              units
                                                "second";
                                              description
                                                "Time Value in Seconds";
                                            }
    
                                            leaf time-in-nano-seconds {
                                              type int32;
                                              units
                                                "nanosecond";
                                              description
                                                "Time Value in Nano-seconds";
                                            }
                                          }  // container module-up-time
    
                                          leaf module-administrative-state {
                                            type Inv-admin-state;
                                            description
                                              "Describes the Entity Administrative    state";
                                          }
    
                                          leaf module-power-administrative-state {
                                            type Inv-power-admin-state;
                                            description
                                              "Describes the Entity Power administrative state";
                                          }
    
                                          leaf module-operational-state {
                                            type Inv-card-state;
                                            description
                                              "Describes the Entity Operation state";
                                          }
    
                                          leaf module-monitor-state {
                                            type Inv-monitor-state;
                                            description
                                              "Describes the Entity Monitor state";
                                          }
    
                                          leaf module-reset-reason {
                                            type Inv-reset-reason;
                                            description
                                              "Describes the Entity Reset reason state";
                                          }
                                        }  // container fru-info
                                      }  // container attributes
                                    }  // list sensor
                                  }  // container sensors
    
                                  container attributes {
                                    description
                                      "Attributes";
                                    container basic-info {
                                      description
                                        "Entity attributes";
                                      leaf name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity name string";
                                      }
    
                                      leaf description {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "describes in user-readable termswhat the entity
    in question does";
                                      }
    
                                      leaf model-name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity model name";
                                      }
    
                                      leaf hardware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity hw revision string";
                                      }
    
                                      leaf serial-number {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity serial number";
                                      }
    
                                      leaf firmware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity firmware revision string";
                                      }
    
                                      leaf software-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity software revision string";
                                      }
    
                                      leaf vendor-type {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "maps to the vendor OID string";
                                      }
    
                                      leaf is-field-replaceable-unit {
                                        type boolean;
                                        description
                                          "1 if Field Replaceable Unit 0, if not";
                                      }
                                    }  // container basic-info
    
                                    container fru-info {
                                      description
                                        "Field Replaceable Unit (FRU) attributes";
                                      container last-operational-state-change {
                                        description
                                          "Time operational state is   last changed";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container last-operational-state-change
    
                                      container module-up-time {
                                        description
                                          "Describes the Entity Module up time";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container module-up-time
    
                                      leaf module-administrative-state {
                                        type Inv-admin-state;
                                        description
                                          "Describes the Entity Administrative    state";
                                      }
    
                                      leaf module-power-administrative-state {
                                        type Inv-power-admin-state;
                                        description
                                          "Describes the Entity Power administrative state";
                                      }
    
                                      leaf module-operational-state {
                                        type Inv-card-state;
                                        description
                                          "Describes the Entity Operation state";
                                      }
    
                                      leaf module-monitor-state {
                                        type Inv-monitor-state;
                                        description
                                          "Describes the Entity Monitor state";
                                      }
    
                                      leaf module-reset-reason {
                                        type Inv-reset-reason;
                                        description
                                          "Describes the Entity Reset reason state";
                                      }
                                    }  // container fru-info
                                  }  // container attributes
                                }  // list hw-component
                              }  // container hw-components
    
                              container sensors {
                                description
                                  "Table of sensors";
                                list sensor {
                                  key "name";
                                  description
                                    "Sensor number";
                                  leaf name {
                                    type xr:Cisco-ios-xr-string;
                                    description
                                      "Sensor name";
                                  }
    
                                  container attributes {
                                    description
                                      "Attributes";
                                    container basic-info {
                                      description
                                        "Entity attributes";
                                      leaf name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity name string";
                                      }
    
                                      leaf description {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "describes in user-readable termswhat the entity
    in question does";
                                      }
    
                                      leaf model-name {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity model name";
                                      }
    
                                      leaf hardware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity hw revision string";
                                      }
    
                                      leaf serial-number {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity serial number";
                                      }
    
                                      leaf firmware-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity firmware revision string";
                                      }
    
                                      leaf software-revision {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "Describes the Entity software revision string";
                                      }
    
                                      leaf vendor-type {
                                        type string {
                                          length
                                            "0..255";
                                        }
                                        description
                                          "maps to the vendor OID string";
                                      }
    
                                      leaf is-field-replaceable-unit {
                                        type boolean;
                                        description
                                          "1 if Field Replaceable Unit 0, if not";
                                      }
                                    }  // container basic-info
    
                                    container fru-info {
                                      description
                                        "Field Replaceable Unit (FRU) attributes";
                                      container last-operational-state-change {
                                        description
                                          "Time operational state is   last changed";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container last-operational-state-change
    
                                      container module-up-time {
                                        description
                                          "Describes the Entity Module up time";
                                        leaf time-in-seconds {
                                          type int32;
                                          units
                                            "second";
                                          description
                                            "Time Value in Seconds";
                                        }
    
                                        leaf time-in-nano-seconds {
                                          type int32;
                                          units
                                            "nanosecond";
                                          description
                                            "Time Value in Nano-seconds";
                                        }
                                      }  // container module-up-time
    
                                      leaf module-administrative-state {
                                        type Inv-admin-state;
                                        description
                                          "Describes the Entity Administrative    state";
                                      }
    
                                      leaf module-power-administrative-state {
                                        type Inv-power-admin-state;
                                        description
                                          "Describes the Entity Power administrative state";
                                      }
    
                                      leaf module-operational-state {
                                        type Inv-card-state;
                                        description
                                          "Describes the Entity Operation state";
                                      }
    
                                      leaf module-monitor-state {
                                        type Inv-monitor-state;
                                        description
                                          "Describes the Entity Monitor state";
                                      }
    
                                      leaf module-reset-reason {
                                        type Inv-reset-reason;
                                        description
                                          "Describes the Entity Reset reason state";
                                      }
                                    }  // container fru-info
                                  }  // container attributes
                                }  // list sensor
                              }  // container sensors
    
                              container attributes {
                                description
                                  "Attributes";
                                container basic-info {
                                  description
                                    "Entity attributes";
                                  leaf name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity name string";
                                  }
    
                                  leaf description {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "describes in user-readable termswhat the entity
    in question does";
                                  }
    
                                  leaf model-name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity model name";
                                  }
    
                                  leaf hardware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity hw revision string";
                                  }
    
                                  leaf serial-number {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity serial number";
                                  }
    
                                  leaf firmware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity firmware revision string";
                                  }
    
                                  leaf software-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity software revision string";
                                  }
    
                                  leaf vendor-type {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "maps to the vendor OID string";
                                  }
    
                                  leaf is-field-replaceable-unit {
                                    type boolean;
                                    description
                                      "1 if Field Replaceable Unit 0, if not";
                                  }
                                }  // container basic-info
    
                                container fru-info {
                                  description
                                    "Field Replaceable Unit (FRU) attributes";
                                  container last-operational-state-change {
                                    description
                                      "Time operational state is   last changed";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container last-operational-state-change
    
                                  container module-up-time {
                                    description
                                      "Describes the Entity Module up time";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container module-up-time
    
                                  leaf module-administrative-state {
                                    type Inv-admin-state;
                                    description
                                      "Describes the Entity Administrative    state";
                                  }
    
                                  leaf module-power-administrative-state {
                                    type Inv-power-admin-state;
                                    description
                                      "Describes the Entity Power administrative state";
                                  }
    
                                  leaf module-operational-state {
                                    type Inv-card-state;
                                    description
                                      "Describes the Entity Operation state";
                                  }
    
                                  leaf module-monitor-state {
                                    type Inv-monitor-state;
                                    description
                                      "Describes the Entity Monitor state";
                                  }
    
                                  leaf module-reset-reason {
                                    type Inv-reset-reason;
                                    description
                                      "Describes the Entity Reset reason state";
                                  }
                                }  // container fru-info
                              }  // container attributes
                            }  // list ports
                          }  // container portses
    
                          container sensors {
                            description
                              "Table of sensors";
                            list sensor {
                              key "name";
                              description
                                "Sensor number";
                              leaf name {
                                type xr:Cisco-ios-xr-string;
                                description
                                  "Sensor name";
                              }
    
                              container attributes {
                                description
                                  "Attributes";
                                container basic-info {
                                  description
                                    "Entity attributes";
                                  leaf name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity name string";
                                  }
    
                                  leaf description {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "describes in user-readable termswhat the entity
    in question does";
                                  }
    
                                  leaf model-name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity model name";
                                  }
    
                                  leaf hardware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity hw revision string";
                                  }
    
                                  leaf serial-number {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity serial number";
                                  }
    
                                  leaf firmware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity firmware revision string";
                                  }
    
                                  leaf software-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity software revision string";
                                  }
    
                                  leaf vendor-type {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "maps to the vendor OID string";
                                  }
    
                                  leaf is-field-replaceable-unit {
                                    type boolean;
                                    description
                                      "1 if Field Replaceable Unit 0, if not";
                                  }
                                }  // container basic-info
    
                                container fru-info {
                                  description
                                    "Field Replaceable Unit (FRU) attributes";
                                  container last-operational-state-change {
                                    description
                                      "Time operational state is   last changed";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container last-operational-state-change
    
                                  container module-up-time {
                                    description
                                      "Describes the Entity Module up time";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container module-up-time
    
                                  leaf module-administrative-state {
                                    type Inv-admin-state;
                                    description
                                      "Describes the Entity Administrative    state";
                                  }
    
                                  leaf module-power-administrative-state {
                                    type Inv-power-admin-state;
                                    description
                                      "Describes the Entity Power administrative state";
                                  }
    
                                  leaf module-operational-state {
                                    type Inv-card-state;
                                    description
                                      "Describes the Entity Operation state";
                                  }
    
                                  leaf module-monitor-state {
                                    type Inv-monitor-state;
                                    description
                                      "Describes the Entity Monitor state";
                                  }
    
                                  leaf module-reset-reason {
                                    type Inv-reset-reason;
                                    description
                                      "Describes the Entity Reset reason state";
                                  }
                                }  // container fru-info
                              }  // container attributes
                            }  // list sensor
                          }  // container sensors
    
                          container attributes {
                            description
                              "Attributes";
                            container basic-info {
                              description
                                "Entity attributes";
                              leaf name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity name string";
                              }
    
                              leaf description {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "describes in user-readable termswhat the entity
    in question does";
                              }
    
                              leaf model-name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity model name";
                              }
    
                              leaf hardware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity hw revision string";
                              }
    
                              leaf serial-number {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity serial number";
                              }
    
                              leaf firmware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity firmware revision string";
                              }
    
                              leaf software-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity software revision string";
                              }
    
                              leaf vendor-type {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "maps to the vendor OID string";
                              }
    
                              leaf is-field-replaceable-unit {
                                type boolean;
                                description
                                  "1 if Field Replaceable Unit 0, if not";
                              }
                            }  // container basic-info
    
                            container fru-info {
                              description
                                "Field Replaceable Unit (FRU) attributes";
                              container last-operational-state-change {
                                description
                                  "Time operational state is   last changed";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container last-operational-state-change
    
                              container module-up-time {
                                description
                                  "Describes the Entity Module up time";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container module-up-time
    
                              leaf module-administrative-state {
                                type Inv-admin-state;
                                description
                                  "Describes the Entity Administrative    state";
                              }
    
                              leaf module-power-administrative-state {
                                type Inv-power-admin-state;
                                description
                                  "Describes the Entity Power administrative state";
                              }
    
                              leaf module-operational-state {
                                type Inv-card-state;
                                description
                                  "Describes the Entity Operation state";
                              }
    
                              leaf module-monitor-state {
                                type Inv-monitor-state;
                                description
                                  "Describes the Entity Monitor state";
                              }
    
                              leaf module-reset-reason {
                                type Inv-reset-reason;
                                description
                                  "Describes the Entity Reset reason state";
                              }
                            }  // container fru-info
                          }  // container attributes
                        }  // list port-slot
                      }  // container port-slots
    
                      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";
                          }
    
                          container sensors {
                            description
                              "Table of sensors";
                            list sensor {
                              key "name";
                              description
                                "Sensor number";
                              leaf name {
                                type xr:Cisco-ios-xr-string;
                                description
                                  "Sensor name";
                              }
    
                              container attributes {
                                description
                                  "Attributes";
                                container basic-info {
                                  description
                                    "Entity attributes";
                                  leaf name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity name string";
                                  }
    
                                  leaf description {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "describes in user-readable termswhat the entity
    in question does";
                                  }
    
                                  leaf model-name {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity model name";
                                  }
    
                                  leaf hardware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity hw revision string";
                                  }
    
                                  leaf serial-number {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity serial number";
                                  }
    
                                  leaf firmware-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity firmware revision string";
                                  }
    
                                  leaf software-revision {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "Describes the Entity software revision string";
                                  }
    
                                  leaf vendor-type {
                                    type string {
                                      length
                                        "0..255";
                                    }
                                    description
                                      "maps to the vendor OID string";
                                  }
    
                                  leaf is-field-replaceable-unit {
                                    type boolean;
                                    description
                                      "1 if Field Replaceable Unit 0, if not";
                                  }
                                }  // container basic-info
    
                                container fru-info {
                                  description
                                    "Field Replaceable Unit (FRU) attributes";
                                  container last-operational-state-change {
                                    description
                                      "Time operational state is   last changed";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container last-operational-state-change
    
                                  container module-up-time {
                                    description
                                      "Describes the Entity Module up time";
                                    leaf time-in-seconds {
                                      type int32;
                                      units
                                        "second";
                                      description
                                        "Time Value in Seconds";
                                    }
    
                                    leaf time-in-nano-seconds {
                                      type int32;
                                      units
                                        "nanosecond";
                                      description
                                        "Time Value in Nano-seconds";
                                    }
                                  }  // container module-up-time
    
                                  leaf module-administrative-state {
                                    type Inv-admin-state;
                                    description
                                      "Describes the Entity Administrative    state";
                                  }
    
                                  leaf module-power-administrative-state {
                                    type Inv-power-admin-state;
                                    description
                                      "Describes the Entity Power administrative state";
                                  }
    
                                  leaf module-operational-state {
                                    type Inv-card-state;
                                    description
                                      "Describes the Entity Operation state";
                                  }
    
                                  leaf module-monitor-state {
                                    type Inv-monitor-state;
                                    description
                                      "Describes the Entity Monitor state";
                                  }
    
                                  leaf module-reset-reason {
                                    type Inv-reset-reason;
                                    description
                                      "Describes the Entity Reset reason state";
                                  }
                                }  // container fru-info
                              }  // container attributes
                            }  // list sensor
                          }  // container sensors
    
                          container attributes {
                            description
                              "Attributes";
                            container basic-info {
                              description
                                "Entity attributes";
                              leaf name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity name string";
                              }
    
                              leaf description {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "describes in user-readable termswhat the entity
    in question does";
                              }
    
                              leaf model-name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity model name";
                              }
    
                              leaf hardware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity hw revision string";
                              }
    
                              leaf serial-number {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity serial number";
                              }
    
                              leaf firmware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity firmware revision string";
                              }
    
                              leaf software-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity software revision string";
                              }
    
                              leaf vendor-type {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "maps to the vendor OID string";
                              }
    
                              leaf is-field-replaceable-unit {
                                type boolean;
                                description
                                  "1 if Field Replaceable Unit 0, if not";
                              }
                            }  // container basic-info
    
                            container fru-info {
                              description
                                "Field Replaceable Unit (FRU) attributes";
                              container last-operational-state-change {
                                description
                                  "Time operational state is   last changed";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container last-operational-state-change
    
                              container module-up-time {
                                description
                                  "Describes the Entity Module up time";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container module-up-time
    
                              leaf module-administrative-state {
                                type Inv-admin-state;
                                description
                                  "Describes the Entity Administrative    state";
                              }
    
                              leaf module-power-administrative-state {
                                type Inv-power-admin-state;
                                description
                                  "Describes the Entity Power administrative state";
                              }
    
                              leaf module-operational-state {
                                type Inv-card-state;
                                description
                                  "Describes the Entity Operation state";
                              }
    
                              leaf module-monitor-state {
                                type Inv-monitor-state;
                                description
                                  "Describes the Entity Monitor state";
                              }
    
                              leaf module-reset-reason {
                                type Inv-reset-reason;
                                description
                                  "Describes the Entity Reset reason state";
                              }
                            }  // container fru-info
                          }  // container attributes
                        }  // list hw-component
                      }  // container hw-components
    
                      container sensors {
                        description
                          "Table of sensors";
                        list sensor {
                          key "name";
                          description
                            "Sensor number";
                          leaf name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Sensor name";
                          }
    
                          container attributes {
                            description
                              "Attributes";
                            container basic-info {
                              description
                                "Entity attributes";
                              leaf name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity name string";
                              }
    
                              leaf description {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "describes in user-readable termswhat the entity
    in question does";
                              }
    
                              leaf model-name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity model name";
                              }
    
                              leaf hardware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity hw revision string";
                              }
    
                              leaf serial-number {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity serial number";
                              }
    
                              leaf firmware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity firmware revision string";
                              }
    
                              leaf software-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity software revision string";
                              }
    
                              leaf vendor-type {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "maps to the vendor OID string";
                              }
    
                              leaf is-field-replaceable-unit {
                                type boolean;
                                description
                                  "1 if Field Replaceable Unit 0, if not";
                              }
                            }  // container basic-info
    
                            container fru-info {
                              description
                                "Field Replaceable Unit (FRU) attributes";
                              container last-operational-state-change {
                                description
                                  "Time operational state is   last changed";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container last-operational-state-change
    
                              container module-up-time {
                                description
                                  "Describes the Entity Module up time";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container module-up-time
    
                              leaf module-administrative-state {
                                type Inv-admin-state;
                                description
                                  "Describes the Entity Administrative    state";
                              }
    
                              leaf module-power-administrative-state {
                                type Inv-power-admin-state;
                                description
                                  "Describes the Entity Power administrative state";
                              }
    
                              leaf module-operational-state {
                                type Inv-card-state;
                                description
                                  "Describes the Entity Operation state";
                              }
    
                              leaf module-monitor-state {
                                type Inv-monitor-state;
                                description
                                  "Describes the Entity Monitor state";
                              }
    
                              leaf module-reset-reason {
                                type Inv-reset-reason;
                                description
                                  "Describes the Entity Reset reason state";
                              }
                            }  // container fru-info
                          }  // container attributes
                        }  // list sensor
                      }  // container sensors
    
                      container attributes {
                        description "Attributes";
                        container basic-info {
                          description
                            "Entity attributes";
                          leaf name {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity name string";
                          }
    
                          leaf description {
                            type string {
                              length "0..255";
                            }
                            description
                              "describes in user-readable termswhat the entity
    in question does";
                          }
    
                          leaf model-name {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity model name";
                          }
    
                          leaf hardware-revision {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity hw revision string";
                          }
    
                          leaf serial-number {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity serial number";
                          }
    
                          leaf firmware-revision {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity firmware revision string";
                          }
    
                          leaf software-revision {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity software revision string";
                          }
    
                          leaf vendor-type {
                            type string {
                              length "0..255";
                            }
                            description
                              "maps to the vendor OID string";
                          }
    
                          leaf is-field-replaceable-unit {
                            type boolean;
                            description
                              "1 if Field Replaceable Unit 0, if not";
                          }
                        }  // container basic-info
    
                        container fru-info {
                          description
                            "Field Replaceable Unit (FRU) attributes";
                          container last-operational-state-change {
                            description
                              "Time operational state is   last changed";
                            leaf time-in-seconds {
                              type int32;
                              units "second";
                              description
                                "Time Value in Seconds";
                            }
    
                            leaf time-in-nano-seconds {
                              type int32;
                              units "nanosecond";
                              description
                                "Time Value in Nano-seconds";
                            }
                          }  // container last-operational-state-change
    
                          container module-up-time {
                            description
                              "Describes the Entity Module up time";
                            leaf time-in-seconds {
                              type int32;
                              units "second";
                              description
                                "Time Value in Seconds";
                            }
    
                            leaf time-in-nano-seconds {
                              type int32;
                              units "nanosecond";
                              description
                                "Time Value in Nano-seconds";
                            }
                          }  // container module-up-time
    
                          leaf module-administrative-state {
                            type Inv-admin-state;
                            description
                              "Describes the Entity Administrative    state";
                          }
    
                          leaf module-power-administrative-state {
                            type Inv-power-admin-state;
                            description
                              "Describes the Entity Power administrative state";
                          }
    
                          leaf module-operational-state {
                            type Inv-card-state;
                            description
                              "Describes the Entity Operation state";
                          }
    
                          leaf module-monitor-state {
                            type Inv-monitor-state;
                            description
                              "Describes the Entity Monitor state";
                          }
    
                          leaf module-reset-reason {
                            type Inv-reset-reason;
                            description
                              "Describes the Entity Reset reason state";
                          }
                        }  // container fru-info
                      }  // container attributes
                    }  // list card
                  }  // container cards
    
                  leaf name {
                    type xr:Cisco-ios-xr-string;
                    description "Slot name";
                  }
    
                  container attributes {
                    description "Attributes";
                    container basic-info {
                      description
                        "Entity attributes";
                      leaf name {
                        type string {
                          length "0..255";
                        }
                        description
                          "Describes the Entity name string";
                      }
    
                      leaf description {
                        type string {
                          length "0..255";
                        }
                        description
                          "describes in user-readable termswhat the entity
    in question does";
                      }
    
                      leaf model-name {
                        type string {
                          length "0..255";
                        }
                        description
                          "Describes the Entity model name";
                      }
    
                      leaf hardware-revision {
                        type string {
                          length "0..255";
                        }
                        description
                          "Describes the Entity hw revision string";
                      }
    
                      leaf serial-number {
                        type string {
                          length "0..255";
                        }
                        description
                          "Describes the Entity serial number";
                      }
    
                      leaf firmware-revision {
                        type string {
                          length "0..255";
                        }
                        description
                          "Describes the Entity firmware revision string";
                      }
    
                      leaf software-revision {
                        type string {
                          length "0..255";
                        }
                        description
                          "Describes the Entity software revision string";
                      }
    
                      leaf vendor-type {
                        type string {
                          length "0..255";
                        }
                        description
                          "maps to the vendor OID string";
                      }
    
                      leaf is-field-replaceable-unit {
                        type boolean;
                        description
                          "1 if Field Replaceable Unit 0, if not";
                      }
                    }  // container basic-info
    
                    container fru-info {
                      description
                        "Field Replaceable Unit (FRU) attributes";
                      container last-operational-state-change {
                        description
                          "Time operational state is   last changed";
                        leaf time-in-seconds {
                          type int32;
                          units "second";
                          description
                            "Time Value in Seconds";
                        }
    
                        leaf time-in-nano-seconds {
                          type int32;
                          units "nanosecond";
                          description
                            "Time Value in Nano-seconds";
                        }
                      }  // container last-operational-state-change
    
                      container module-up-time {
                        description
                          "Describes the Entity Module up time";
                        leaf time-in-seconds {
                          type int32;
                          units "second";
                          description
                            "Time Value in Seconds";
                        }
    
                        leaf time-in-nano-seconds {
                          type int32;
                          units "nanosecond";
                          description
                            "Time Value in Nano-seconds";
                        }
                      }  // container module-up-time
    
                      leaf module-administrative-state {
                        type Inv-admin-state;
                        description
                          "Describes the Entity Administrative    state";
                      }
    
                      leaf module-power-administrative-state {
                        type Inv-power-admin-state;
                        description
                          "Describes the Entity Power administrative state";
                      }
    
                      leaf module-operational-state {
                        type Inv-card-state;
                        description
                          "Describes the Entity Operation state";
                      }
    
                      leaf module-monitor-state {
                        type Inv-monitor-state;
                        description
                          "Describes the Entity Monitor state";
                      }
    
                      leaf module-reset-reason {
                        type Inv-reset-reason;
                        description
                          "Describes the Entity Reset reason state";
                      }
                    }  // container fru-info
                  }  // container attributes
                }  // list slot
              }  // container slots
    
              container attributes {
                description "Attributes";
                container basic-info {
                  description
                    "Entity attributes";
                  leaf name {
                    type string {
                      length "0..255";
                    }
                    description
                      "Describes the Entity name string";
                  }
    
                  leaf description {
                    type string {
                      length "0..255";
                    }
                    description
                      "describes in user-readable termswhat the entity
    in question does";
                  }
    
                  leaf model-name {
                    type string {
                      length "0..255";
                    }
                    description
                      "Describes the Entity model name";
                  }
    
                  leaf hardware-revision {
                    type string {
                      length "0..255";
                    }
                    description
                      "Describes the Entity hw revision string";
                  }
    
                  leaf serial-number {
                    type string {
                      length "0..255";
                    }
                    description
                      "Describes the Entity serial number";
                  }
    
                  leaf firmware-revision {
                    type string {
                      length "0..255";
                    }
                    description
                      "Describes the Entity firmware revision string";
                  }
    
                  leaf software-revision {
                    type string {
                      length "0..255";
                    }
                    description
                      "Describes the Entity software revision string";
                  }
    
                  leaf vendor-type {
                    type string {
                      length "0..255";
                    }
                    description
                      "maps to the vendor OID string";
                  }
    
                  leaf is-field-replaceable-unit {
                    type boolean;
                    description
                      "1 if Field Replaceable Unit 0, if not";
                  }
                }  // container basic-info
    
                container fru-info {
                  description
                    "Field Replaceable Unit (FRU) attributes";
                  container last-operational-state-change {
                    description
                      "Time operational state is   last changed";
                    leaf time-in-seconds {
                      type int32;
                      units "second";
                      description
                        "Time Value in Seconds";
                    }
    
                    leaf time-in-nano-seconds {
                      type int32;
                      units "nanosecond";
                      description
                        "Time Value in Nano-seconds";
                    }
                  }  // container last-operational-state-change
    
                  container module-up-time {
                    description
                      "Describes the Entity Module up time";
                    leaf time-in-seconds {
                      type int32;
                      units "second";
                      description
                        "Time Value in Seconds";
                    }
    
                    leaf time-in-nano-seconds {
                      type int32;
                      units "nanosecond";
                      description
                        "Time Value in Nano-seconds";
                    }
                  }  // container module-up-time
    
                  leaf module-administrative-state {
                    type Inv-admin-state;
                    description
                      "Describes the Entity Administrative    state";
                  }
    
                  leaf module-power-administrative-state {
                    type Inv-power-admin-state;
                    description
                      "Describes the Entity Power administrative state";
                  }
    
                  leaf module-operational-state {
                    type Inv-card-state;
                    description
                      "Describes the Entity Operation state";
                  }
    
                  leaf module-monitor-state {
                    type Inv-monitor-state;
                    description
                      "Describes the Entity Monitor state";
                  }
    
                  leaf module-reset-reason {
                    type Inv-reset-reason;
                    description
                      "Describes the Entity Reset reason state";
                  }
                }  // container fru-info
              }  // container attributes
    
              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";
                      }
    
                      container attributes {
                        description "Attributes";
                        container basic-info {
                          description
                            "Entity attributes";
                          leaf name {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity name string";
                          }
    
                          leaf description {
                            type string {
                              length "0..255";
                            }
                            description
                              "describes in user-readable termswhat the entity
    in question does";
                          }
    
                          leaf model-name {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity model name";
                          }
    
                          leaf hardware-revision {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity hw revision string";
                          }
    
                          leaf serial-number {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity serial number";
                          }
    
                          leaf firmware-revision {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity firmware revision string";
                          }
    
                          leaf software-revision {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity software revision string";
                          }
    
                          leaf vendor-type {
                            type string {
                              length "0..255";
                            }
                            description
                              "maps to the vendor OID string";
                          }
    
                          leaf is-field-replaceable-unit {
                            type boolean;
                            description
                              "1 if Field Replaceable Unit 0, if not";
                          }
                        }  // container basic-info
    
                        container fru-info {
                          description
                            "Field Replaceable Unit (FRU) attributes";
                          container last-operational-state-change {
                            description
                              "Time operational state is   last changed";
                            leaf time-in-seconds {
                              type int32;
                              units "second";
                              description
                                "Time Value in Seconds";
                            }
    
                            leaf time-in-nano-seconds {
                              type int32;
                              units "nanosecond";
                              description
                                "Time Value in Nano-seconds";
                            }
                          }  // container last-operational-state-change
    
                          container module-up-time {
                            description
                              "Describes the Entity Module up time";
                            leaf time-in-seconds {
                              type int32;
                              units "second";
                              description
                                "Time Value in Seconds";
                            }
    
                            leaf time-in-nano-seconds {
                              type int32;
                              units "nanosecond";
                              description
                                "Time Value in Nano-seconds";
                            }
                          }  // container module-up-time
    
                          leaf module-administrative-state {
                            type Inv-admin-state;
                            description
                              "Describes the Entity Administrative    state";
                          }
    
                          leaf module-power-administrative-state {
                            type Inv-power-admin-state;
                            description
                              "Describes the Entity Power administrative state";
                          }
    
                          leaf module-operational-state {
                            type Inv-card-state;
                            description
                              "Describes the Entity Operation state";
                          }
    
                          leaf module-monitor-state {
                            type Inv-monitor-state;
                            description
                              "Describes the Entity Monitor state";
                          }
    
                          leaf module-reset-reason {
                            type Inv-reset-reason;
                            description
                              "Describes the Entity Reset reason state";
                          }
                        }  // container fru-info
                      }  // container attributes
    
                      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";
                          }
    
                          container attributes {
                            description
                              "Attributes";
                            container basic-info {
                              description
                                "Entity attributes";
                              leaf name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity name string";
                              }
    
                              leaf description {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "describes in user-readable termswhat the entity
    in question does";
                              }
    
                              leaf model-name {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity model name";
                              }
    
                              leaf hardware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity hw revision string";
                              }
    
                              leaf serial-number {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity serial number";
                              }
    
                              leaf firmware-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity firmware revision string";
                              }
    
                              leaf software-revision {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "Describes the Entity software revision string";
                              }
    
                              leaf vendor-type {
                                type string {
                                  length
                                    "0..255";
                                }
                                description
                                  "maps to the vendor OID string";
                              }
    
                              leaf is-field-replaceable-unit {
                                type boolean;
                                description
                                  "1 if Field Replaceable Unit 0, if not";
                              }
                            }  // container basic-info
    
                            container fru-info {
                              description
                                "Field Replaceable Unit (FRU) attributes";
                              container last-operational-state-change {
                                description
                                  "Time operational state is   last changed";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container last-operational-state-change
    
                              container module-up-time {
                                description
                                  "Describes the Entity Module up time";
                                leaf time-in-seconds {
                                  type int32;
                                  units "second";
                                  description
                                    "Time Value in Seconds";
                                }
    
                                leaf time-in-nano-seconds {
                                  type int32;
                                  units
                                    "nanosecond";
                                  description
                                    "Time Value in Nano-seconds";
                                }
                              }  // container module-up-time
    
                              leaf module-administrative-state {
                                type Inv-admin-state;
                                description
                                  "Describes the Entity Administrative    state";
                              }
    
                              leaf module-power-administrative-state {
                                type Inv-power-admin-state;
                                description
                                  "Describes the Entity Power administrative state";
                              }
    
                              leaf module-operational-state {
                                type Inv-card-state;
                                description
                                  "Describes the Entity Operation state";
                              }
    
                              leaf module-monitor-state {
                                type Inv-monitor-state;
                                description
                                  "Describes the Entity Monitor state";
                              }
    
                              leaf module-reset-reason {
                                type Inv-reset-reason;
                                description
                                  "Describes the Entity Reset reason state";
                              }
                            }  // container fru-info
                          }  // container attributes
                        }  // list hw-component
                      }  // container hw-components
                    }  // list module
                  }  // container modules
    
                  leaf name {
                    type xr:Cisco-ios-xr-string;
                    description "Backplane name";
                  }
    
                  container attributes {
                    description "Attributes";
                    container basic-info {
                      description
                        "Entity attributes";
                      leaf name {
                        type string {
                          length "0..255";
                        }
                        description
                          "Describes the Entity name string";
                      }
    
                      leaf description {
                        type string {
                          length "0..255";
                        }
                        description
                          "describes in user-readable termswhat the entity
    in question does";
                      }
    
                      leaf model-name {
                        type string {
                          length "0..255";
                        }
                        description
                          "Describes the Entity model name";
                      }
    
                      leaf hardware-revision {
                        type string {
                          length "0..255";
                        }
                        description
                          "Describes the Entity hw revision string";
                      }
    
                      leaf serial-number {
                        type string {
                          length "0..255";
                        }
                        description
                          "Describes the Entity serial number";
                      }
    
                      leaf firmware-revision {
                        type string {
                          length "0..255";
                        }
                        description
                          "Describes the Entity firmware revision string";
                      }
    
                      leaf software-revision {
                        type string {
                          length "0..255";
                        }
                        description
                          "Describes the Entity software revision string";
                      }
    
                      leaf vendor-type {
                        type string {
                          length "0..255";
                        }
                        description
                          "maps to the vendor OID string";
                      }
    
                      leaf is-field-replaceable-unit {
                        type boolean;
                        description
                          "1 if Field Replaceable Unit 0, if not";
                      }
                    }  // container basic-info
    
                    container fru-info {
                      description
                        "Field Replaceable Unit (FRU) attributes";
                      container last-operational-state-change {
                        description
                          "Time operational state is   last changed";
                        leaf time-in-seconds {
                          type int32;
                          units "second";
                          description
                            "Time Value in Seconds";
                        }
    
                        leaf time-in-nano-seconds {
                          type int32;
                          units "nanosecond";
                          description
                            "Time Value in Nano-seconds";
                        }
                      }  // container last-operational-state-change
    
                      container module-up-time {
                        description
                          "Describes the Entity Module up time";
                        leaf time-in-seconds {
                          type int32;
                          units "second";
                          description
                            "Time Value in Seconds";
                        }
    
                        leaf time-in-nano-seconds {
                          type int32;
                          units "nanosecond";
                          description
                            "Time Value in Nano-seconds";
                        }
                      }  // container module-up-time
    
                      leaf module-administrative-state {
                        type Inv-admin-state;
                        description
                          "Describes the Entity Administrative    state";
                      }
    
                      leaf module-power-administrative-state {
                        type Inv-power-admin-state;
                        description
                          "Describes the Entity Power administrative state";
                      }
    
                      leaf module-operational-state {
                        type Inv-card-state;
                        description
                          "Describes the Entity Operation state";
                      }
    
                      leaf module-monitor-state {
                        type Inv-monitor-state;
                        description
                          "Describes the Entity Monitor state";
                      }
    
                      leaf module-reset-reason {
                        type Inv-reset-reason;
                        description
                          "Describes the Entity Reset reason state";
                      }
                    }  // container fru-info
                  }  // container attributes
    
                  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";
                      }
    
                      container attributes {
                        description "Attributes";
                        container basic-info {
                          description
                            "Entity attributes";
                          leaf name {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity name string";
                          }
    
                          leaf description {
                            type string {
                              length "0..255";
                            }
                            description
                              "describes in user-readable termswhat the entity
    in question does";
                          }
    
                          leaf model-name {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity model name";
                          }
    
                          leaf hardware-revision {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity hw revision string";
                          }
    
                          leaf serial-number {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity serial number";
                          }
    
                          leaf firmware-revision {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity firmware revision string";
                          }
    
                          leaf software-revision {
                            type string {
                              length "0..255";
                            }
                            description
                              "Describes the Entity software revision string";
                          }
    
                          leaf vendor-type {
                            type string {
                              length "0..255";
                            }
                            description
                              "maps to the vendor OID string";
                          }
    
                          leaf is-field-replaceable-unit {
                            type boolean;
                            description
                              "1 if Field Replaceable Unit 0, if not";
                          }
                        }  // container basic-info
    
                        container fru-info {
                          description
                            "Field Replaceable Unit (FRU) attributes";
                          container last-operational-state-change {
                            description
                              "Time operational state is   last changed";
                            leaf time-in-seconds {
                              type int32;
                              units "second";
                              description
                                "Time Value in Seconds";
                            }
    
                            leaf time-in-nano-seconds {
                              type int32;
                              units "nanosecond";
                              description
                                "Time Value in Nano-seconds";
                            }
                          }  // container last-operational-state-change
    
                          container module-up-time {
                            description
                              "Describes the Entity Module up time";
                            leaf time-in-seconds {
                              type int32;
                              units "second";
                              description
                                "Time Value in Seconds";
                            }
    
                            leaf time-in-nano-seconds {
                              type int32;
                              units "nanosecond";
                              description
                                "Time Value in Nano-seconds";
                            }
                          }  // container module-up-time
    
                          leaf module-administrative-state {
                            type Inv-admin-state;
                            description
                              "Describes the Entity Administrative    state";
                          }
    
                          leaf module-power-administrative-state {
                            type Inv-power-admin-state;
                            description
                              "Describes the Entity Power administrative state";
                          }
    
                          leaf module-operational-state {
                            type Inv-card-state;
                            description
                              "Describes the Entity Operation state";
                          }
    
                          leaf module-monitor-state {
                            type Inv-monitor-state;
                            description
                              "Describes the Entity Monitor state";
                          }
    
                          leaf module-reset-reason {
                            type Inv-reset-reason;
                            description
                              "Describes the Entity Reset reason state";
                          }
                        }  // container fru-info
                      }  // container attributes
                    }  // list hw-component
                  }  // container hw-components
                }  // list backplane
              }  // container backplanes
            }  // list rack
          }  // container racks
        }  // container platform-inventory
      }  // module Cisco-IOS-XR-platform-inventory-oper
    

© 2023 YumaWorks, Inc. All rights reserved.