Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec

This module contains the YANG definitions for the Cisco IOS-XR SysAdmin 'controller switch port-state' command. Copyright (c) 2...

  • Version: 2019-04-15

    Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec@2019-04-15


    
      module Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec {
    
        yang-version 1;
    
        namespace
          "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec";
    
        prefix esdma_admin_exec;
    
        import tailf-common {
          prefix tailf;
        }
        import Cisco-IOS-XR-sysadmin-ethsw-esdma-types {
          prefix esdma_types;
        }
        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 the YANG definitions
    for the Cisco IOS-XR SysAdmin
    'controller switch port-state' command.
    
    Copyright (c) 2011-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2019-04-15" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-05-01" {
          description
            "Namespace change to comply with Cisco guidelines on namespace";
        }
    
        revision "2016-10-12" {
          description
            "Unhide commands and configs. Moved to advanced-grp";
        }
    
        revision "2016-07-06" {
          description
            "Initial revision with content extracted from esdma_cli.yang.";
        }
    
        semver:module-version "1.0.0";
    
        grouping switch-exec-admin {
          container port-state {
            list location {
              key "rack card switch-id";
              leaf rack {
                type esdma_types:esdma-rack-num-enum;
              }
    
              leaf card {
                type esdma_types:esdma-cpu;
                description
                  "Card that owns a switch of interest";
              }
    
              leaf switch-id {
                type esdma_types:esdma-switch-type-enum;
                description "Switch type";
              }
    
              list port-iter {
                tailf:action "down" {
                  output {
                    leaf "result" {
                      type "string";
                      mandatory "true";
                    }
                  }
                }
                tailf:action "up" {
                  output {
                    leaf "result" {
                      type "string";
                      mandatory "true";
                    }
                  }
                }
                tailf:action "test" {
                  output {
                    leaf "result" {
                      type "string";
                      mandatory "true";
                    }
                  }
                }
                key "port";
                leaf port {
                  type esdma_types:esdma-switch-port-type;
                  description "Switch port";
                }
              }  // list port-iter
            }  // list location
          }  // container port-state
        }  // grouping switch-exec-admin
      }  // module Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec
    

© 2023 YumaWorks, Inc. All rights reserved.