Cisco-IOS-XR-hw-module-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR hw-module package configuration. This module contains de...

  • Version: 2020-05-27

    Cisco-IOS-XR-hw-module-cfg@2020-05-27


    
      module Cisco-IOS-XR-hw-module-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-hw-module-cfg";
    
        prefix hw-module-cfg;
    
        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 module contains a collection of YANG definitions
         for Cisco IOS-XR hw-module package configuration.
         
         This module contains definitions
         for the following management objects:
           hw-module: Hardware module information
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-05-27" {
          description
            "Addition of attention-led and auto-reset-disable leaves to eXR model.";
        }
    
        revision "2019-10-15" {
          description "IOS XR 7.0.12 revision.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        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 Admin-state {
          type enumeration {
            enum "unshut" {
              value 0;
              description "Power On";
            }
            enum "shut" {
              value 1;
              description "Power Off";
            }
          }
          description "Admin state";
        }
    
        container hw-module {
          description
            "Hardware module information";
          container nodes {
            description "List of nodes";
            list node {
              key "location";
              description "Node object";
              container config {
                must
                  "attention-led or admin-state or auto-reset-disable" {
                  error-message
                    "Hw-module config containers cannot be empty";
                  description
                    "At least one configuration parameter must be set";
                }
                description
                  "Configuration data for hw-module";
                leaf auto-reset-disable {
                  type boolean;
                  description
                    "Do not automatically reset the hw-module on
                   failure";
                }
    
                leaf attention-led {
                  type boolean;
                  description
                    "Enable hw-module attention LED (Blue)";
                }
    
                leaf admin-state {
                  type Admin-state;
                  description
                    "Set the admin state of the hw-module";
                }
              }  // container config
    
              leaf location {
                type string;
                description "Location string";
              }
            }  // list node
          }  // container nodes
        }  // container hw-module
      }  // module Cisco-IOS-XR-hw-module-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.