Cisco-IOS-XR-sysadmin-hw-module-xrv9k

This module contains a collection of YANG definitions for Cisco IOS-XR SysAdmin configuration. This module defines the top leve...

  • Version: 2019-04-15

    Cisco-IOS-XR-sysadmin-hw-module-xrv9k@2019-04-15


    
      module Cisco-IOS-XR-sysadmin-hw-module-xrv9k {
    
        yang-version 1;
    
        namespace
          "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-hw-module-xrv9k";
    
        prefix calvados_hw_module;
    
        import Cisco-IOS-XR-sysadmin-sm-hw-mod {
          prefix shelf_mgr;
        }
        import Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd {
          prefix shhwfpd;
        }
        import Cisco-IOS-XR-sysadmin-obfl-conf {
          prefix obflconf;
        }
        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 SysAdmin configuration.
         
         This module defines the top level container for
         all 'hw-module' commands for Sysadmin.
         
         Copyright (c) 2012-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-15" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-06-04" {
          description
            "Changed the module name to match platform-dependent filename";
        }
    
        revision "2018-04-09" {
          description
            "Required changes for ConfD 6.4.5";
        }
    
        revision "2017-01-31" {
          description
            "Changed the namespace and module name";
        }
    
        revision "2012-07-03" {
          description
            "Created initial 'hw-module' refactorization";
        }
    
        semver:module-version "1.0.0";
    
        container hw-module {
          container config {
            container shutdown {
              list location {
                key "location";
                leaf location {
                  type calvados:location-id;
                  mandatory true;
                }
              }  // list location
            }  // container shutdown
    
            container reset {
              container auto {
                container disable {
                  list location {
                    key "location";
                    leaf location {
                      type calvados:location-id;
                      mandatory true;
                    }
                  }  // list location
                }  // container disable
              }  // container auto
            }  // container reset
    
            container offline {
              list location {
                key "location";
                leaf location {
                  type calvados:location-id;
                  mandatory true;
                }
              }  // list location
            }  // container offline
    
            list location {
              key "location";
              leaf location {
                type string;
              }
    
              container logging {
                container onboard {
                  choice onboard_target {
                    leaf disable {
                      type empty;
                    }
                  }  // choice onboard_target
                }  // container onboard
              }  // container logging
            }  // list location
          }  // container config
    
          container oper {
            config false;
            list location {
              key "location";
              leaf location {
                type string;
              }
    
              container actions {
                container cbootmedia {
                  config false;
                  list bootmedia {
                    tailf:action "reload" {
                      output {
                        leaf "result" {
                          type "string";
                          mandatory "true";
                        }
                      }
                    }
                    key "bootmedium";
                    config false;
                    leaf bootmedium {
                      type string;
                    }
                  }  // list bootmedia
                }  // container cbootmedia
              }  // container actions
    
              container show {
              }  // container show
            }  // list location
          }  // container oper
    
          container shhwfpd {
            config false;
            list alocation {
              key "locs";
              leaf locs {
                type string;
              }
    
              list fpd {
                key "fpdname";
                leaf fpdname {
                  type string;
                }
    
                leaf state {
                  type string;
                  description "Status";
                }
    
                leaf hwver {
                  type string;
                  description "HWver";
                }
    
                leaf fpdver {
                  type string;
                  description "FPD ver";
                }
    
                leaf cardname {
                  type string;
                  description "Card type";
                }
    
                leaf attr {
                  type string;
                  description "Attribute";
                }
    
                leaf fpddnld {
                  type string;
                  description "FPD Programed";
                }
              }  // list fpd
            }  // list alocation
    
            list fpd {
              key "fpdname";
              leaf fpdname {
                type string;
              }
            }  // list fpd
          }  // container shhwfpd
        }  // container hw-module
      }  // module Cisco-IOS-XR-sysadmin-hw-module-xrv9k
    

© 2023 YumaWorks, Inc. All rights reserved.