Cisco-IOS-XR-sysadmin-ethsw-esdma-mac

This module contains the YANG definitions for the Cisco IOS-XR SysAdmin 'show controller switch mac' commands. Copyright (c) 20...

  • Version: 2019-04-15

    Cisco-IOS-XR-sysadmin-ethsw-esdma-mac@2019-04-15


    
      module Cisco-IOS-XR-sysadmin-ethsw-esdma-mac {
    
        yang-version 1;
    
        namespace
          "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-mac";
    
        prefix esdma_mac;
    
        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
    'show controller switch mac' commands.
    
    Copyright (c) 2011-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2019-04-15" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-04-09" {
          description
            "Required changes for ConfD 6.4.5";
        }
    
        revision "2017-05-01" {
          description
            "Namespace change to comply with Cisco guidelines on namespace";
        }
    
        revision "2016-07-06" {
          description
            "Initial revision with content extracted from esdma_cli.yang.";
        }
    
        semver:module-version "1.0.0";
    
        grouping switch-mac-group {
          container mac {
            container mac-statistics {
              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 to list the switch MAC information for";
                }
    
                leaf switch-id {
                  type esdma_types:esdma-switch-type-enum;
                  description "Switch type";
                }
    
                list port-iter {
                  key "port";
                  leaf port {
                    type esdma_types:esdma-switch-port-type;
                    description "Switch port";
                  }
    
                  list mac-entry {
                    key "id";
                    leaf id {
                      type uint32;
                    }
    
                    leaf base-reg {
                      type string;
                    }
    
                    leaf desc {
                      type string;
                    }
    
                    leaf value {
                      type string;
                    }
                  }  // list mac-entry
                }  // list port-iter
              }  // list location
            }  // container mac-statistics
          }  // container mac
        }  // grouping switch-mac-group
      }  // module Cisco-IOS-XR-sysadmin-ethsw-esdma-mac
    

© 2023 YumaWorks, Inc. All rights reserved.