huawei-loopdetect

Loopdetect.

  • Version: 2020-03-06

    huawei-loopdetect@2020-03-06


    
      module huawei-loopdetect {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-loopdetect";
    
        prefix loopdetect;
    
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-extension {
          prefix ext;
        }
    
        organization
          "Huawei Technologies Co., Ltd.";
    
        contact
          "Huawei Industrial Base
         Bantian, Longgang
         Shenzhen 518129
         People's Republic of China
         Website: http://www.huawei.com
         Email: support@huawei.com";
    
        description "Loopdetect.";
    
        revision "2020-03-06" {
          description "Change description.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-04-08" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "vlan";
    
        container loopdetect {
          description "Loop detection.";
          container ldetect-global {
            presence
              "Enable global loop-detect.";
            description
              "Enable/disable global loop-detect.";
            leaf loose-identifier {
              type string {
                length "1..16";
              }
              description
                "Global loop-detect loose identifier.";
            }
          }  // container ldetect-global
    
          container trigger-detect {
            description
              "Configure trigger detect.";
            container global {
              description
                "Configure global auto loop detection.";
              leaf enable {
                type boolean;
                default "false";
                description
                  "Enable/disable global auto loop detection.";
              }
    
              leaf min-slot-up-time {
                type uint32 {
                  range "1..100";
                }
                units "min";
                default "30";
                description "Min slot up time.";
              }
    
              leaf min-port-up-time {
                type uint32 {
                  range "1..600";
                }
                units "min";
                default "10";
                description "Min port up time.";
              }
            }  // container global
          }  // container trigger-detect
        }  // container loopdetect
      }  // module huawei-loopdetect
    

© 2023 YumaWorks, Inc. All rights reserved.