Cisco-IOS-XR-platform-oper

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

  • Version: 2020-07-07

    Cisco-IOS-XR-platform-oper@2020-07-07


    
      module Cisco-IOS-XR-platform-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-platform-oper";
    
        prefix platform-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-platform-oper-sub1 {
          revision-date "2020-07-07";
        }
    
        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 package operational data.
         
         This module contains definitions
         for the following management objects:
           platform: Platform information
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-07-07" {
          description
            "Added VM class for Thin XR model";
        }
    
        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 "2.0.0";
        semver:module-version "1.0.0";
    
        container platform {
          config false;
          description "Platform information";
          container racks {
            description "Table of racks";
            list rack {
              key "rack-name";
              description "Rack name";
              container slots {
                description "Table of slots";
                list slot {
                  key "slot-name";
                  description "Slot name";
                  container instances {
                    description
                      "Table of Instances";
                    list instance {
                      key "instance-name";
                      description
                        "Instance name";
                      leaf instance-name {
                        type string;
                        description
                          "Instance name";
                      }
    
                      container state {
                        description
                          "State information";
                        leaf card-type {
                          type string;
                          description
                            "Card type";
                        }
    
                        leaf card-redundancy-state {
                          type Card-redundancy-state;
                          description
                            "Redundancy state";
                        }
    
                        leaf plim {
                          type string;
                          description "PLIM";
                        }
    
                        leaf state {
                          type Node-state;
                          description "State";
                        }
    
                        leaf is-monitored {
                          type boolean;
                          description
                            "True if monitor state is active";
                        }
    
                        leaf is-powered {
                          type boolean;
                          description
                            "True if power state is active";
                        }
    
                        leaf is-shutdown {
                          type boolean;
                          description
                            "True if shutdown state is active";
                        }
    
                        leaf admin-state {
                          type string;
                          description
                            "Admin state";
                        }
    
                        leaf node-name {
                          type string;
                          description
                            "Node name";
                        }
    
                        leaf oper-state {
                          type string;
                          description
                            "Operational state";
                        }
                      }  // container state
                    }  // list instance
                  }  // container instances
    
                  container vm {
                    description "VM information";
                    leaf node-description {
                      type string;
                      description "Node Type";
                    }
    
                    leaf red-role {
                      type string;
                      description
                        "Node Redundency Role";
                    }
    
                    leaf partner-name {
                      type string;
                      description "Partner Name";
                    }
    
                    leaf software-status {
                      type string;
                      description "SW status";
                    }
    
                    leaf node-ip {
                      type string;
                      description
                        "Node IP Address";
                    }
    
                    leaf node-name {
                      type string;
                      description "Node name";
                    }
                  }  // container vm
    
                  leaf slot-name {
                    type xr:Cisco-ios-xr-string;
                    description "Slot name";
                  }
    
                  container state {
                    description
                      "State information";
                    leaf card-type {
                      type string;
                      description "Card type";
                    }
    
                    leaf card-redundancy-state {
                      type Card-redundancy-state;
                      description
                        "Redundancy state";
                    }
    
                    leaf plim {
                      type string;
                      description "PLIM";
                    }
    
                    leaf state {
                      type Node-state;
                      description "State";
                    }
    
                    leaf is-monitored {
                      type boolean;
                      description
                        "True if monitor state is active";
                    }
    
                    leaf is-powered {
                      type boolean;
                      description
                        "True if power state is active";
                    }
    
                    leaf is-shutdown {
                      type boolean;
                      description
                        "True if shutdown state is active";
                    }
    
                    leaf admin-state {
                      type string;
                      description "Admin state";
                    }
    
                    leaf node-name {
                      type string;
                      description "Node name";
                    }
    
                    leaf oper-state {
                      type string;
                      description
                        "Operational state";
                    }
                  }  // container state
                }  // list slot
              }  // container slots
    
              leaf rack-name {
                type xr:Cisco-ios-xr-string;
                description "Rack name";
              }
            }  // list rack
          }  // container racks
        }  // container platform
      }  // module Cisco-IOS-XR-platform-oper
    

© 2023 YumaWorks, Inc. All rights reserved.