huawei-mpls-forward-devm

MPLS forward for DEVM.

  • Version: 2020-02-27

    huawei-mpls-forward-devm@2020-02-27


    
      module huawei-mpls-forward-devm {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-mpls-forward-devm";
    
        prefix mpls-forward-devm;
    
        import huawei-devm {
          prefix devm;
        }
        import huawei-loadbalance {
          prefix loadbalance;
        }
        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 "MPLS forward for DEVM.";
    
        revision "2020-02-27" {
          description
            "The type of some nodes is fixed.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-03-27" {
          description "Init revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "forwarding";
    
        typedef hash-cfg-flag {
          type enumeration {
            enum "payload-header" {
              value 64;
              description
                "Hashed based on payload-header.";
            }
            enum "label" {
              value 192;
              description
                "Hashed based on label.";
            }
            enum "ip" {
              value 160;
              description
                "Hashed based on label or payload-header.";
            }
            enum "ip-tos" {
              value 193;
              description
                "Hashed based on label or TOS.";
            }
            enum "mac" {
              value 196;
              description
                "Hashed based on label or MAC.";
            }
          }
          description "Hash configuration flag.";
        }
    
        typedef enable-flag {
          type enumeration {
            enum "enable" {
              value 1;
              description "The CFG is enabled.";
            }
            enum "disable" {
              value 0;
              description "The CFG is disabled.";
            }
          }
          description "Enable flag type.";
        }
    
        typedef check-mode {
          type enumeration {
            enum "ip" {
              value 291;
              description
                "The check mode is IP.";
            }
            enum "label-contained-length" {
              value 292;
              description
                "The check mode is label-contained-length.";
            }
          }
          description "Check mode.";
        }
    
        typedef hash-type {
          type enumeration {
            enum "flow" {
              value 194;
              description
                "Load balance based on flow.";
            }
            enum "packet" {
              value 195;
              description
                "Load balance based on packet.";
            }
          }
          description "Hash type.";
        }
      }  // module huawei-mpls-forward-devm
    

© 2023 YumaWorks, Inc. All rights reserved.