Cisco-IOS-XR-sysadmin-ethsw-esdma-clear

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

  • Version: 2019-04-15

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


    
      module Cisco-IOS-XR-sysadmin-ethsw-esdma-clear {
    
        yang-version 1;
    
        namespace
          "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-clear";
    
        prefix esdma_clear;
    
        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
    'clear controller switch' commands.
    
    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-07-06" {
          description
            "Initial revision with content extracted from esdma_cli.yang.";
        }
    
        semver:module-version "1.0.0";
    
        grouping switch-clear-statistics {
          container statistics {
            list location {
              tailf:action "all" {
                output {
                  leaf "result" {
                    type "string";
                    mandatory "true";
                  }
                }
              }
              key "rack card switch-id";
              leaf rack {
                type esdma_types:esdma-rack-num-enum;
              }
    
              leaf card {
                type esdma_types:esdma-cpu;
              }
    
              leaf switch-id {
                type esdma_types:esdma-switch-type-enum;
              }
            }  // list location
          }  // container statistics
        }  // grouping switch-clear-statistics
    
        grouping switch-clear-mlap {
          container mlap {
            container statistics {
              list location {
                tailf:action "all" {
                  output {
                    leaf "result" {
                      type "string";
                      mandatory "true";
                    }
                  }
                }
                key "rack card switch-id";
                leaf rack {
                  type esdma_types:esdma-rack-num-enum;
                }
    
                leaf card {
                  type esdma_types:esdma-cpu;
                }
    
                leaf switch-id {
                  type esdma_types:esdma-switch-type-enum;
                }
              }  // list location
            }  // container statistics
          }  // container mlap
        }  // grouping switch-clear-mlap
    
        grouping switch-clear-sdr {
          container sdr {
            container statistics {
              list location {
                tailf:action "all" {
                  output {
                    leaf "result" {
                      type "string";
                      mandatory "true";
                    }
                  }
                }
                key "rack card switch-id";
                leaf rack {
                  type esdma_types:esdma-rack-num-enum;
                }
    
                leaf card {
                  type esdma_types:esdma-cpu;
                }
    
                leaf switch-id {
                  type esdma_types:esdma-switch-type-enum;
                }
              }  // list location
            }  // container statistics
          }  // container sdr
        }  // grouping switch-clear-sdr
    
        grouping switch-clear-fdb {
          container fdb {
            list location {
              tailf:action "all" {
                output {
                  leaf "result" {
                    type "string";
                    mandatory "true";
                  }
                }
              }
              key "rack card switch-id";
              leaf rack {
                type esdma_types:esdma-rack-num-enum;
              }
    
              leaf card {
                type esdma_types:esdma-cpu;
              }
    
              leaf switch-id {
                type esdma_types:esdma-switch-type-enum;
              }
            }  // list location
          }  // container fdb
        }  // grouping switch-clear-fdb
      }  // module Cisco-IOS-XR-sysadmin-ethsw-esdma-clear
    

© 2023 YumaWorks, Inc. All rights reserved.