Cisco-IOS-XR-envmon-oper

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

  • Version: 2020-09-25

    Cisco-IOS-XR-envmon-oper@2020-09-25


    
      module Cisco-IOS-XR-envmon-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-envmon-oper";
    
        prefix envmon-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-envmon-oper-sub2 {
          revision-date "2020-09-25";
        }
        include Cisco-IOS-XR-envmon-oper-sub1 {
          revision-date "2020-09-25";
        }
    
        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 envmon package operational data.
    
    This module contains definitions
    for the following management objects:
      environmental-monitoring: Environmental Monitoring Operational
        data space
      power-management: Power tray and power module management
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-09-25" {
          description
            "IOS XR 7.3.1 revision. Added alarm port oper commands.";
        }
    
        revision "2020-04-07" {
          description
            "IOS XR 7.2.1 revision. Added extra description to interpret Threshold Value -32768.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        container environmental-monitoring {
          config false;
          description
            "Environmental Monitoring Operational data space";
          list rack {
            key "name";
            description "Rack Number";
            container nodes {
              description "Table of nodes";
              list node {
                key "node";
                description "Node Number";
                container sensor-types {
                  description
                    "Table of all sensor types";
                  list sensor-type {
                    key "type";
                    description "Sensor Type";
                    container sensor-names {
                      description
                        "Table of sensors";
                      list sensor-name {
                        key "name";
                        description
                          "Name of sensor";
                        leaf name {
                          type string;
                          description
                            "Sensor name";
                        }
    
                        leaf sensor-value {
                          type int32;
                          description
                            "Value of Sensor";
                        }
    
                        leaf critical-low-threshold {
                          type int32;
                          description
                            "Critical Low Threshold Value, interpret -32768
    value as N/A";
                        }
    
                        leaf critical-high-threshold {
                          type int32;
                          description
                            "Critical High Threshold Value, interpret -32768
    value as N/A";
                        }
    
                        leaf major-low-threshold {
                          type int32;
                          description
                            "Major Low Threshold Value, interpret -32768
    value as N/A";
                        }
    
                        leaf major-high-threshold {
                          type int32;
                          description
                            "Major High Threshold Value, interpret -32768
    value as N/A";
                        }
    
                        leaf minor-low-threshold {
                          type int32;
                          description
                            "Minor Low Threshold Value, interpret -32768
    value as N/A";
                        }
    
                        leaf minor-high-threshold {
                          type int32;
                          description
                            "Minor High Threshold Value, interpret -32768
    value as N/A";
                        }
    
                        leaf name-xr {
                          type string;
                          description
                            "Name of Sensor";
                        }
    
                        leaf location {
                          type string;
                          description
                            "Location of Sensor";
                        }
    
                        leaf fru-type {
                          type string;
                          description "FRU Type";
                        }
    
                        leaf status {
                          type uint32;
                          description
                            "Sensor Operational Status";
                        }
                      }  // list sensor-name
                    }  // container sensor-names
    
                    leaf type {
                      type xr:Cisco-ios-xr-string;
                      description "Sensor Type";
                    }
                  }  // list sensor-type
                }  // container sensor-types
    
                leaf node {
                  type xr:Node-id;
                  description "Node ID";
                }
              }  // list node
            }  // container nodes
    
            leaf name {
              type xr:Cisco-ios-xr-string;
              description "Rack name";
            }
          }  // list rack
        }  // container environmental-monitoring
    
        container power-management {
          config false;
          description
            "Power tray and power module management";
          list rack {
            key "name";
            description "Rack identifier";
            container producers {
              description
                "Power producers information";
              container producer-nodes {
                description
                  "Table of power producer nodes";
                list producer-node {
                  key "node";
                  description
                    "Power producer node identifier";
                  leaf node {
                    type xr:Node-id;
                    description "Node ID";
                  }
    
                  list pem-info-array {
                    description "PEM Info Array";
                    leaf node-name {
                      type string;
                      description
                        "Name of the Node";
                    }
    
                    leaf node-type {
                      type string;
                      description
                        "PID of the PEM";
                    }
    
                    leaf num-feed {
                      type uint32;
                      description
                        "Number of Feeds";
                    }
    
                    leaf voltage-in-a {
                      type uint32;
                      description
                        "Input Voltage A";
                    }
    
                    leaf voltage-in-b {
                      type uint32;
                      description
                        "Input Voltage B";
                    }
    
                    leaf voltage-out {
                      type uint32;
                      description
                        "Output Voltage";
                    }
    
                    leaf current-in-a {
                      type uint32;
                      description
                        "Input Current A";
                    }
    
                    leaf current-in-b {
                      type uint32;
                      description
                        "Input Current B";
                    }
    
                    leaf current-out {
                      type uint32;
                      description
                        "Output Current";
                    }
    
                    leaf node-status {
                      type string;
                      description "Node Status";
                    }
                  }  // list pem-info-array
                }  // list producer-node
              }  // container producer-nodes
            }  // container producers
    
            container chassis {
              description
                "Chassis level information";
              leaf total-pwr-required {
                type uint32;
                description
                  "Total Power required";
              }
    
              leaf red-mode {
                type uint32;
                description "Redundancy Mode";
              }
    
              leaf total-pe-ms {
                type uint32;
                description
                  "Total Number of PEMs";
              }
    
              leaf red-num-pe-ms {
                type uint32;
                description
                  "Redundant Number of PEMs";
              }
    
              leaf psu-non-fruable {
                type uint8;
                description "PSU Fixed Hardware";
              }
    
              leaf total-out-capacity {
                type uint32;
                description "Total out capacity";
              }
    
              leaf total-pwr-output {
                type uint32;
                description "Total Power output";
              }
    
              leaf total-pwr-input {
                type uint32;
                description "Total Power input";
              }
    
              list grp-info {
                max-elements 3;
                description
                  "Total Info Group Wise";
                leaf total-pwr-in {
                  type uint64;
                  description
                    "Total Power Input in watts";
                }
    
                leaf total-pwr-out {
                  type uint64;
                  description
                    "Total Power Output in watts";
                }
    
                leaf total-current-in-a {
                  type string;
                  description
                    "Total Current Input A in amps";
                }
    
                leaf total-current-in-b {
                  type string;
                  description
                    "Total Current Input B in amps";
                }
    
                leaf total-current-out {
                  type string;
                  description
                    "Total Current Output in amps";
                }
    
                leaf total-output-capacity {
                  type uint64;
                  description
                    "Total Output capacity in watts";
                }
              }  // list grp-info
            }  // container chassis
    
            container consumers {
              description "Power consumers info";
              container consumer-nodes {
                description
                  "Table of power consumer nodes";
                list consumer-node {
                  key "node";
                  description
                    "Consumer node identifier";
                  leaf node {
                    type xr:Node-id;
                    description "Node ID";
                  }
    
                  leaf node-name {
                    type string;
                    description
                      "Name of the Node";
                  }
    
                  leaf node-type {
                    type string;
                    description
                      "PID of the Entity";
                  }
    
                  leaf pwr-alctd {
                    type uint32;
                    description
                      "Power Allocated";
                  }
    
                  leaf pwr-used {
                    type uint32;
                    description "Power Used";
                  }
    
                  leaf node-status {
                    type string;
                    description "Node Status";
                  }
                }  // list consumer-node
              }  // container consumer-nodes
            }  // container consumers
    
            leaf name {
              type xr:Cisco-ios-xr-string;
              description "Rack name";
            }
          }  // list rack
        }  // container power-management
      }  // module Cisco-IOS-XR-envmon-oper
    

© 2023 YumaWorks, Inc. All rights reserved.