huawei-lspic-mp

MP-group CRC and los packet alarm threshold configuration and time delay detect.

  • Version: 2019-05-05

    huawei-lspic-mp@2019-05-05


    
      module huawei-lspic-mp {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-lspic-mp";
    
        prefix lspic-mp;
    
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-ppp-net {
          prefix ppp-net;
        }
        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
          "MP-group CRC and los packet alarm threshold configuration and time delay detect.";
    
        revision "2019-05-05" {
          description "Init revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "interface-mgr";
    
        typedef enable-status {
          type enumeration {
            enum "disable" {
              value 0;
              description "Disable.";
            }
            enum "enable" {
              value 1;
              description "Enable.";
            }
          }
          description "Enable status.";
        }
    
        typedef fragment-statistics-mode {
          type enumeration {
            enum "fragment-statistics" {
              value 0;
              description "Fragment statistics.";
            }
            enum "non-fragment-statistics" {
              value 1;
              description
                "Non-fragment statistics.";
            }
          }
          description
            "Fragment statistics mode.";
        }
    
        typedef packet-priority-type {
          type enumeration {
            enum "normal" {
              value 0;
              description
                "MP-group Packet Mormal Priority.";
            }
            enum "high" {
              value 1;
              description
                "MP-group Packet High Priority.";
            }
          }
          description
            "Type of ifmmp pack priority.";
        }
    
        typedef packet-queue-depth-mode {
          type enumeration {
            enum "depth256" {
              value 0;
              description
                "Queue depth 256 packets.";
            }
            enum "depth512" {
              value 1;
              description
                "Queue depth 512 packets.";
            }
            enum "depth1024" {
              value 2;
              description
                "Queue depth 1024 packets.";
            }
            enum "depth2048" {
              value 3;
              description
                "Queue depth 2048 packets.";
            }
            enum "depth4096" {
              value 4;
              description
                "Queue depth 4096 packets.";
            }
          }
          description "Packet queue depth mode.";
        }
    
        container lspic-mp {
          description
            "The global configurations of MP-group interface.";
          container fragment-attribute {
            description
              "Configure global configurations of MP-group interface.";
            leaf statistics-mode {
              ext:dynamic-default;
              type fragment-statistics-mode;
              description
                "Global settings of the MP-group and Global-MP-Group interfaces fragment statistics mode. If the fragment statistics mode is fragment-statistics, it will clear statistics of all MP-Group and Global-MP-Group interfaces.";
            }
          }  // container fragment-attribute
        }  // container lspic-mp
      }  // module huawei-lspic-mp
    

© 2023 YumaWorks, Inc. All rights reserved.