Cisco-IOS-XE-ucse-rpc

NED UCSE (Unified Computing System E-Series) RPC YANG module for IOS Copyright (c) 2019 by Cisco Systems, Inc. All rights reserv...

  • Version: 2019-07-01

    Cisco-IOS-XE-ucse-rpc@2019-07-01


    
      module Cisco-IOS-XE-ucse-rpc {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-ucse-rpc";
    
        prefix ios-xe-ucse-rpc;
    
        import cisco-semver {
          prefix cisco-semver;
        }
        import Cisco-IOS-XE-rpc {
          prefix ios-xe-rpc;
        }
    
        organization "Cisco Systems";
    
        contact "<mailto:cs-yang@cisco.com>";
    
        description
          "NED UCSE (Unified Computing System E-Series) RPC YANG module for IOS
         Copyright (c) 2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-07-01" {
          description
            "Establish semantic version baseline";
        }
    
        revision "2019-01-10" {
          description
            "Initial revision for NED UCSE (Unified Computing System E-Series) RPC YANG module for IOS";
        }
    
        cisco-semver:module-version "1.0.0";
    
        rpc ucse {
          description
            "UCSE (Unified Computing System E-Series) commands";
          input {
            leaf subslot {
              type string {
                pattern '[0-2]/[0-3]';
              }
              mandatory true;
              description
                "UCSE (Unified Computing System E-Series) subslot";
            }
    
            choice command-choice {
              mandatory true;
              container imc {
                description
                  "IMC (Integrated Management Controller) command";
                leaf password-reset {
                  type empty;
                  description
                    "Reset the password for IMC (Integrated Management Controller)";
                }
              }  // container imc
              container server {
                description "Server commands";
                choice server-command-choice {
                  leaf cmos-reset {
                    type empty;
                    description
                      "Reset the CMOS password for the server";
                  }
                  container password-reset {
                    description
                      "Reset the password for the server";
                    leaf BIOS {
                      type empty;
                      description
                        "Reset the BIOS password for the server";
                    }
                  }  // container password-reset
                  leaf reload {
                    type empty;
                    description
                      "Reload the server";
                  }
                  leaf reset {
                    type empty;
                    description
                      "Reset the server";
                  }
                  leaf start {
                    type empty;
                    description
                      "Start the server";
                  }
                  leaf stop {
                    type empty;
                    description
                      "Stop the server";
                  }
                }  // choice server-command-choice
              }  // container server
              leaf shutdown {
                type empty;
                description
                  "Shutdown the UCSE (Unified Computing System E-Series) module";
              }
              container statistics {
                description "Statistics command";
                leaf clear {
                  type empty;
                  description
                    "Clear the statistics";
                }
              }  // container statistics
            }  // choice command-choice
          }
    
          output {
            uses ios-xe-rpc:cisco-xe-rpc-output;
          }
        }  // rpc ucse
      }  // module Cisco-IOS-XE-ucse-rpc
    

© 2023 YumaWorks, Inc. All rights reserved.