huawei-mpls-forward

MPLS forward.

  • Version: 2020-06-10

    huawei-mpls-forward@2020-06-10


    
      module huawei-mpls-forward {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-mpls-forward";
    
        prefix mpls-forward;
    
        import huawei-loadbalance {
          prefix loadbalance;
        }
        import huawei-network-instance {
          prefix ni;
        }
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-l3vpn {
          prefix l3vpn;
        }
        import huawei-qos {
          prefix qos;
        }
        import huawei-mpls {
          prefix mpls;
        }
        import huawei-pub-type {
          prefix pub-type;
        }
        import huawei-extension {
          prefix ext;
        }
        import huawei-tunnel-management {
          prefix tnlm;
        }
        import huawei-mpls-te {
          prefix mpls-te;
        }
    
        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.";
    
        revision "2020-06-10" {
          description "Adding new nodes.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-05-18" {
          description "Updating nodes.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-03-25" {
          description
            "Modifying some non-standard descriptions.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-02-27" {
          description
            "Removing the invalid definition of enumeration type and modifying the invalid statements.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-03-27" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "forwarding";
    
        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.";
        }
    
        typedef l3vpn-ingpipe-mode {
          type enumeration {
            enum "pipe" {
              value 1;
              description "Pipe mode.";
            }
            enum "shortpipe" {
              value 2;
              description "Short pipe mode.";
            }
            enum "uniform" {
              value 3;
              description "Uniform pipe mode.";
            }
          }
          description
            "The mode of the L3VPN ingress pipe mode.";
        }
    
        typedef l3vpn-egpipe-mode {
          type enumeration {
            enum "pipe" {
              value 1;
              description "Pipe mode.";
            }
            enum "shortpipe" {
              value 2;
              description "Short pipe mode.";
            }
            enum "uniform" {
              value 3;
              description "Uniform pipe mode.";
            }
          }
          description
            "The mode of the L3VPN egress pipe mode.";
        }
    
        typedef l3vpn-pipe-mode {
          type enumeration {
            enum "pipe" {
              value 1;
              description "Pipe mode.";
            }
            enum "shortpipe" {
              value 2;
              description "Short pipe mode.";
            }
            enum "uniform" {
              value 3;
              description "Uniform pipe mode.";
            }
          }
          description
            "The mode of the L3VPN pipe mode.";
        }
    
        typedef l3vpn-ttl-mode {
          type enumeration {
            enum "pipe" {
              value 1;
              description "Pipe mode.";
            }
            enum "uniform" {
              value 3;
              description "Uniform pipe mode.";
            }
          }
          description
            "The mode of the L3VPN tunnel.";
        }
    
        typedef l3vpn-service-class {
          type enumeration {
            enum "be" {
              value 0;
              description "BE service class.";
            }
            enum "af1" {
              value 1;
              description "AF1 service class.";
            }
            enum "af2" {
              value 2;
              description "AF2 service class.";
            }
            enum "af3" {
              value 3;
              description "AF3 service class.";
            }
            enum "af4" {
              value 4;
              description "AF4 service class.";
            }
            enum "ef" {
              value 5;
              description "EF service class.";
            }
            enum "cs6" {
              value 6;
              description "CS6 service class.";
            }
            enum "cs7" {
              value 7;
              description "CS7 service class.";
            }
          }
          description
            "The service class of L3VPN.";
        }
    
        typedef l3vpn-color {
          type enumeration {
            enum "green" {
              value 0;
              description "Green.";
            }
            enum "yellow" {
              value 1;
              description "Yellow.";
            }
            enum "red" {
              value 2;
              description "Red.";
            }
          }
          description "The color of L3VPN.";
        }
    
        typedef deep-hash-flag {
          type enumeration {
            enum "l3" {
              value 1;
              description
                "Hashed based on L3 IP.";
            }
          }
          description
            "Deep hash configuration flag.";
        }
    
        typedef deep-hash-fragment {
          type enumeration {
            enum "ip" {
              value 1;
              description
                "Hash-field based on IP.";
            }
            enum "disable" {
              value 3;
              description
                "Hash-field not based on anything.";
            }
          }
          description
            "Deep hash configuration fragment.";
        }
    
        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 te-pipe-mode {
          type enumeration {
            enum "pipe" {
              value 1;
              description "Pipe mode.";
            }
            enum "uniform" {
              value 3;
              description "Uniform pipe mode.";
            }
          }
          description "TE pipe mode.";
        }
    
        typedef te-pipe-service-class {
          type enumeration {
            enum "be" {
              value 0;
              description
                "Best effort (EF) service class.";
            }
            enum "af1" {
              value 1;
              description
                "Assured forwarding 1 (AF1) service class.";
            }
            enum "af2" {
              value 2;
              description
                "Assured forwarding 2 (AF2) service class.";
            }
            enum "af3" {
              value 3;
              description
                "Assured forwarding 3 (AF3) service class.";
            }
            enum "af4" {
              value 4;
              description
                "Assured forwarding 4 (AF4) service class.";
            }
            enum "ef" {
              value 5;
              description
                "Expedited forwarding (EF) service class.";
            }
            enum "cs6" {
              value 6;
              description
                "Class selector 6 (CS6) service class.";
            }
            enum "cs7" {
              value 7;
              description
                "Class selector 7 (CS7) service class.";
            }
          }
          description "TE pipe service class.";
        }
    
        typedef te-pipe-color {
          type enumeration {
            enum "green" {
              value 0;
              description "Green.";
            }
            enum "yellow" {
              value 1;
              description "Yellow.";
            }
            enum "red" {
              value 2;
              description "Red.";
            }
          }
          description "TE pipe color.";
        }
    
        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 enl-exp-mode {
          type enumeration {
            enum "pipe" {
              value 2;
              description "Pipe mode.";
            }
            enum "uniform" {
              value 1;
              description "Uniform pipe mode.";
            }
          }
          description
            "Explicit null label EXP mode.";
        }
    
        typedef enl-ttl-mode {
          type enumeration {
            enum "pipe" {
              value 1;
              description "Pipe mode.";
            }
            enum "uniform" {
              value 0;
              description "Uniform pipe mode.";
            }
          }
          description
            "Explicit null label TTL mode.";
        }
    
        typedef ela-exp-mode {
          type enumeration {
            enum "pipe" {
              value 2;
              description "Pipe mode.";
            }
            enum "uniform" {
              value 1;
              description "Uniform pipe mode.";
            }
          }
          description "Entropy label EXP mode.";
        }
    
        typedef ela-ttl-mode {
          type enumeration {
            enum "pipe" {
              value 1;
              description "Pipe mode.";
            }
            enum "uniform" {
              value 0;
              description "Uniform pipe mode.";
            }
          }
          description "Entropy label TTL mode.";
        }
      }  // module huawei-mpls-forward
    

© 2023 YumaWorks, Inc. All rights reserved.