Cisco-IOS-XR-sdr-invmgr-oper

This module contains a collection of YANG definitions for Cisco IOS-XR sdr-invmgr package operational data. This module contain...

  • Version: 2020-04-08

    Cisco-IOS-XR-sdr-invmgr-oper@2020-04-08


    
      module Cisco-IOS-XR-sdr-invmgr-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-oper";
    
        prefix sdr-invmgr-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-sdr-invmgr-oper-sub1 {
          revision-date "2020-04-08";
        }
    
        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 sdr-invmgr package operational data.
    
    This module contains definitions
    for the following management objects:
      sdr-inventory: SDR information
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-04-08" {
          description
            "Deprecated Memory container.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2019-03-07" {
          description
            "Improved description for certain fields.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "2.0.0";
        semver:module-version "1.0.1";
    
        container sdr-inventory {
          config false;
          description "SDR information";
          container racks {
            description "RackTable";
            list rack {
              key "name";
              description "Rack name";
              leaf name {
                type xr:Cisco-ios-xr-string;
                description "Rack name";
              }
    
              list slot {
                key "name";
                description "Slot name";
                leaf name {
                  type xr:Cisco-ios-xr-string;
                  description "Slot name";
                }
    
                list card {
                  key "name";
                  description "Card";
                  container attributes {
                    description
                      "Shows the different attributes or status of
    each entity or component in inventory";
                    leaf config-state-string {
                      type string {
                        length "1..100";
                      }
                      description
                        "Entity Config State String Attribute";
                    }
    
                    leaf power {
                      type uint32 {
                        range "0..4294967295";
                      }
                      default "0";
                      description
                        "Indicate Entity Power";
                    }
    
                    leaf config-state {
                      type uint32 {
                        range "0..4294967295";
                      }
                      default "0";
                      description
                        "Entity Config State Attribute";
                    }
    
                    leaf card-state {
                      type uint32 {
                        range "0..4294967295";
                      }
                      default "0";
                      description
                        "Entity CardState Attribute";
                    }
    
                    leaf vm-state {
                      type uint32 {
                        range "0..4294967295";
                      }
                      default "0";
                      description
                        "VM State information";
                    }
    
                    leaf card-admin-state {
                      type uint32 {
                        range "0..4294967295";
                      }
                      default "0";
                      description
                        "Entity Card Admin State Attribute";
                    }
    
                    leaf card-type {
                      type uint32 {
                        range "0..4294967295";
                      }
                      default "0";
                      description
                        "Entity CardType Attribute";
                    }
    
                    leaf card-type-string {
                      type string {
                        length "1..100";
                      }
                      description
                        "Entity Card Type String Attribute";
                    }
    
                    leaf node-name-string {
                      type xr:Node-id;
                      description
                        "Entity Node Name String Attribute";
                    }
    
                    leaf card-valid {
                      type uint32 {
                        range "0..4294967295";
                      }
                      default "0";
                      description
                        "Indicates weather Entity Card is Valid";
                    }
    
                    leaf pi-slot-number {
                      type uint32 {
                        range "0..4294967295";
                      }
                      default "0";
                      description
                        "Pi Slot Number";
                    }
    
                    leaf shutdown {
                      type uint32 {
                        range "0..4294967295";
                      }
                      default "0";
                      description
                        "Indicates whether the Entity is in Shutdown
    State";
                    }
    
                    leaf ctype {
                      type uint32 {
                        range "0..4294967295";
                      }
                      default "0";
                      description
                        "Entity CType Attribute";
                    }
    
                    leaf card-state-string {
                      type string {
                        length "1..100";
                      }
                      description
                        "Entity Card State String Attribute";
                    }
    
                    leaf monitor {
                      type uint32 {
                        range "0..4294967295";
                      }
                      default "0";
                      description
                        "Entity Monitor Attribute";
                    }
                  }  // container attributes
    
                  leaf name {
                    type xr:Cisco-ios-xr-string;
                    description "Card";
                  }
                }  // list card
              }  // list slot
            }  // list rack
          }  // container racks
    
          container memory {
            status deprecated;
            description
              "Memory related information";
            container racks {
              status deprecated;
              description "RackTable";
              list rack {
                key "name";
                status deprecated;
                description "Rack name";
                container node-ids {
                  status deprecated;
                  description "NodeIDTable";
                  list node-id {
                    key "name";
                    status deprecated;
                    description
                      "Inventory Admin Mempool Data  Bag";
                    leaf name {
                      type xr:Cisco-ios-xr-string;
                      description "nodeid";
                    }
    
                    uses INV-ADMIN-MEMPOOL-DATA;
                  }  // list node-id
                }  // container node-ids
    
                leaf name {
                  type xr:Cisco-ios-xr-string;
                  description "Rack name";
                }
              }  // list rack
            }  // container racks
          }  // container memory
        }  // container sdr-inventory
      }  // module Cisco-IOS-XR-sdr-invmgr-oper
    

© 2023 YumaWorks, Inc. All rights reserved.