Cisco-IOS-XR-invmgr-oper-sub3

This submodule contains a collection of YANG definitions for Cisco IOS-XR invmgr package operational data. Copyright (c) 2013-2...

  • Version: 2020-11-09

    Cisco-IOS-XR-invmgr-oper-sub3@2020-11-09


    
      submodule Cisco-IOS-XR-invmgr-oper-sub3 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-invmgr-oper {
            prefix Cisco-IOS-XR-invmgr-oper;
        }
    
        import cisco-semver {
          prefix semver;
        }
    
        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 submodule contains a collection of YANG definitions
         for Cisco IOS-XR invmgr package operational data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-11-09" {
          description
            "Deprecated pluggable-info container
           2020-07-24
             IOS XR 7.0.14 revision. Modified eeprom_bag to match eXR
           2020-07-24
             Addition of revision to match LNT.";
        }
    
        revision "2020-05-08" {
          description
            "Deprecated Inventory:Rack container.
           2020-03-30
           Changed threshold-value type to int32.
           2019-10-07
           Added pluggable-info bag.
           2019-10-04
           Removed slot-info, vm-done bags.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2019-03-21" {
          description
            "Resolved string constraints issue.";
        }
    
        revision "2018-08-03" {
          description
            "Added slot-info and parent-info bags.";
        }
    
        revision "2018-04-19" {
          description "Added additional bags";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "3.0.0";
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        typedef Card-reset-reason {
          type enumeration {
            enum "reset-unknown" {
              value 1;
              description "reset unknown";
            }
            enum "power-up" {
              value 2;
              description "power up";
            }
            enum "parity-error" {
              value 3;
              description "parity error";
            }
            enum "clear-config-reset" {
              value 4;
              description "clear config reset";
            }
            enum "manual-reset" {
              value 5;
              description "manual reset";
            }
            enum "watch-dog-timeout-reset" {
              value 6;
              description
                "watch dog timeout reset";
            }
            enum "resource-overflow-reset" {
              value 7;
              description
                "resource overflow reset";
            }
            enum "missing-task-reset" {
              value 8;
              description "missing task reset";
            }
            enum "low-voltage-reset" {
              value 9;
              description "low voltage reset";
            }
            enum "controller-reset" {
              value 10;
              description "controller reset";
            }
            enum "system-reset" {
              value 11;
              description "system reset";
            }
            enum "switchover-reset" {
              value 12;
              description "switchover reset";
            }
            enum "upgrade-reset" {
              value 13;
              description "upgrade reset";
            }
            enum "downgrade-reset" {
              value 14;
              description "downgrade reset";
            }
            enum "cache-error-reset" {
              value 15;
              description "cache error reset";
            }
            enum "device-driver-reset" {
              value 16;
              description "device driver reset";
            }
            enum "software-exception-reset" {
              value 17;
              description
                "software exception reset";
            }
            enum "restore-config-reset" {
              value 18;
              description "restore config reset";
            }
            enum "abort-rev-reset" {
              value 19;
              description "abort rev reset";
            }
            enum "burn-boot-reset" {
              value 20;
              description "burn boot reset";
            }
            enum "standby-cd-healthier-reset" {
              value 21;
              description
                "standby cd healthier reset";
            }
            enum "non-native-config-clear-reset" {
              value 22;
              description
                "non native config clear reset";
            }
            enum "memory-protection-error-reset" {
              value 23;
              description
                "memory protection error reset";
            }
            enum "card-reset-reason-max" {
              value 24;
              description
                "card reset reason max";
            }
          }
          description "Card reset reason";
        }
    
        grouping INV-TIMESPEC {
          description
            "Inventory FRU Info Time Spec";
          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";
          }
        }  // grouping INV-TIMESPEC
    
        grouping INV-CARD-FRU-INFO {
          description
            "card (FRU) operation state bag";
          container last-operational-state-change {
            description
              "last card oper change state";
            uses INV-TIMESPEC;
          }  // container last-operational-state-change
    
          container card-up-time {
            description
              "time for which the card has remained up";
            uses INV-TIMESPEC;
          }  // container card-up-time
    
          leaf card-administrative-state {
            type int32;
            description
              "Indicates the card admin state: shutdown or not";
          }
    
          leaf power-administrative-state {
            type int32;
            description
              "Indicates the power admin state: up or down";
          }
    
          leaf card-operational-state {
            type int32;
            description
              "Indicates the card operation state";
          }
    
          leaf card-monitor-state {
            type int32;
            description
              "Indicates the card is monitored by a manager or
             left unmonitored";
          }
    
          leaf card-reset-reason {
            type Card-reset-reason;
            description
              "Indicates the card reset reason enum";
          }
    
          leaf power-current-measurement {
            type int32;
            description
              "power current: not implemented";
          }
    
          leaf power-operational-state {
            type int32;
            description
              "Power operation state value";
          }
        }  // grouping INV-CARD-FRU-INFO
    
        grouping INV-PWG-INFO {
          description "Power supply group bag";
          leaf power-group-redundancy-mode {
            type int32;
            description "redundancy mode";
          }
    
          leaf power-group-power-units {
            type string;
            description "power units";
          }
    
          leaf power-group-available-current {
            type int32;
            description "available current";
          }
    
          leaf power-group-drawn-current {
            type int32;
            description "drawn current";
          }
        }  // grouping INV-PWG-INFO
    
        grouping INV-PHY-ENTITY-BASIC-INFO {
          description
            "Bag contains all the basic inventory information
           for each entity";
          leaf description {
            type string {
              length "0..255";
            }
            description
              "describes in user-readable termswhat the entity
             in question does";
          }
    
          leaf vendor-type {
            type string {
              length "0..255";
            }
            description
              "maps to the vendor OID string";
          }
    
          leaf name {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity name string";
          }
    
          leaf hardware-revision {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity hw revision string";
          }
    
          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 chip-hardware-revision {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity chip module hw revision
             string";
          }
    
          leaf serial-number {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity serial number string";
          }
    
          leaf manufacturer-name {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity manufacturer's name string";
          }
    
          leaf model-name {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity model name";
          }
    
          leaf asset-id-str {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity asset Identification string";
          }
    
          leaf asset-identification {
            type int32;
            description
              "Describes the Entity asset Identification number";
          }
    
          leaf is-field-replaceable-unit {
            type boolean;
            description
              "1 if Field Replaceable Unit 0, if not";
          }
    
          leaf manufacturer-asset-tags {
            type int32;
            description
              "Describes the Entity Manufacture Asset Tags
             number";
          }
    
          leaf composite-class-code {
            type int32;
            description
              "Major&minor class of the entity";
          }
    
          leaf memory-size {
            type int32;
            description
              "Size of memory associated withthe entity where
             applicable";
          }
    
          leaf environmental-monitor-path {
            type string {
              length "0..255";
            }
            description
              "sysdb name of sensor in the envmon EDM";
          }
    
          leaf alias {
            type string {
              length "0..255";
            }
            description
              "useful for storing an entity alias ";
          }
    
          leaf group-flag {
            type boolean;
            description
              "indicates if this entity is groupor not";
          }
    
          leaf new-deviation-number {
            type int32;
            description
              "integer value for New Deviation Number 0x88";
          }
    
          leaf physical-layer-interface-module-type {
            type int32;
            description
              "integer value for plim type ifapplicable to this
             entity";
          }
    
          leaf unrecognized-fru {
            type boolean;
            description
              "1 if UnrecognizedFRU and 0 for recognizedFRU";
          }
    
          leaf redundancystate {
            type int32;
            description
              "integer value for Redundancy State ifapplicable
             to this entity";
          }
    
          leaf ceport {
            type boolean;
            description
              "1 if ce port found, 0 if not";
          }
    
          leaf xr-scoped {
            type boolean;
            description
              "1 if xr scoped, 0 if not";
          }
    
          leaf unique-id {
            type int32;
            description
              "Unique id for an entity";
          }
    
          leaf allocated-power {
            type int32;
            description
              "Allocated power for an entity";
          }
    
          leaf power-capacity {
            type int32;
            description
              "Power Capacity of a Power Module";
          }
        }  // grouping INV-PHY-ENTITY-BASIC-INFO
    
        grouping INV-PHY-ENTITY-ASSET-INFO {
          description
            "The physical entity detaled asset attribute bag";
          leaf part-number {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity Part Number";
          }
    
          leaf manufacturer-assembly-number {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity Manufacture Assembly number
             string";
          }
    
          leaf manufacturer-assembly-revision {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity Manufacture assembly
             revision string";
          }
    
          leaf manufacturer-firmware-identifier {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity Manufacturer Firmware
             Identifier string";
          }
    
          leaf manufacturer-software-identifier {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity Manufacturer Software
             Identifier string";
          }
    
          leaf manufacturer-common-language-equipment-identifier {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity Common LanguageEquipment
             Identifier number";
          }
    
          leaf original-equipment-manufacturer-string {
            type string {
              length "0..255";
            }
            description
              "Describes the Entity String containingOEM
             information if applicable";
          }
        }  // grouping INV-PHY-ENTITY-ASSET-INFO
      }  // submodule Cisco-IOS-XR-invmgr-oper-sub3
    

© 2024 YumaWorks, Inc. All rights reserved.