Cisco-IOS-XE-switch-rpc

NED Switch RPC YANG module for IOS Copyright (c) 2016-2019 by Cisco Systems, Inc. All rights reserved.

  • Version: 2020-03-01

    Cisco-IOS-XE-switch-rpc@2020-03-01


    
      module Cisco-IOS-XE-switch-rpc {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-switch-rpc";
    
        prefix ios-xe-sw-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 Switch RPC YANG module for IOS
         Copyright (c) 2016-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-03-01" {
          description "Added factory-reset";
        }
    
        revision "2019-11-01" {
          description
            "Added new augment statement";
        }
    
        revision "2019-07-01" {
          description
            "Establish semantic version baseline";
        }
    
        revision "2019-02-11" {
          description
            "increased stacking switch range from 9 to 16";
        }
    
        revision "2018-12-06" {
          description
            "created for NED RPC modularisation";
        }
    
        cisco-semver:module-version "1.2.0";
        cisco-semver:module-version "1.1.0";
        cisco-semver:module-version "1.0.0";
    
        rpc switch {
          input {
            leaf switch-number-drop-node-name {
              type uint8 {
                range "1..16";
              }
              mandatory true;
            }
    
            choice pri-renum-stack {
              mandatory true;
              leaf priority {
                type uint8 {
                  range "1..15";
                }
                description
                  "<1-15>  Switch Priority";
              }
              leaf renumber {
                type uint8 {
                  range "1..16";
                }
                description
                  "<1-16>  New number of the Switch";
              }
              container statck {
                leaf port {
                  type uint8 {
                    range "1..2";
                  }
                  description
                    "<1-2>  Stack port number to enable/disable";
                }
              }  // container statck
            }  // choice pri-renum-stack
          }
    
          output {
            leaf result {
              type string;
              description
                "Output returned by the network element";
            }
          }
        }  // rpc switch
      }  // module Cisco-IOS-XE-switch-rpc
    

© 2023 YumaWorks, Inc. All rights reserved.