huawei-l2vpn-extension

L2 virtual private network extensions.

  • Version: 2019-07-08

    huawei-l2vpn-extension@2019-07-08


    
      module huawei-l2vpn-extension {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-l2vpn-extension";
    
        prefix l2vpn-extension;
    
        import ietf-inet-types {
          prefix inet;
        }
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-qos {
          prefix qos;
        }
        import huawei-l2vpn {
          prefix l2vpn;
        }
        import huawei-extension {
          prefix ext;
        }
        import huawei-vrrp {
          prefix vrrp;
        }
        import huawei-ip {
          prefix ip;
        }
        import huawei-network-instance {
          prefix ni;
        }
        import huawei-tunnel-management {
          prefix tnlm;
        }
        import huawei-mpls-te {
          prefix mpls-te;
        }
        import huawei-mpls-te-cr-static {
          prefix mpls-te-cr-static;
        }
    
        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
          "L2 virtual private network extensions.";
    
        revision "2019-07-08" {
          description "Init revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "l2vpn";
    
        typedef qos-query-type {
          type enumeration {
            enum "be" {
              value 0;
              description
                "Best effort (BE) 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 "L2VPN QoS query.";
        }
    
        typedef pw-role-type {
          type enumeration {
            enum "primary" {
              value 1;
              description
                "The PW role type is primary.";
            }
            enum "backup" {
              value 2;
              description
                "The PW role type is backup.";
            }
            enum "bypass" {
              value 3;
              description
                "The PW role type is bypass.";
            }
            enum "left-primary" {
              value 4;
              description
                "The left side PW of multi-segment instance.";
            }
            enum "right-primary" {
              value 5;
              description
                "The right side PW of multi-segment instance.";
            }
            enum "right-backup" {
              value 6;
              description
                "The backup of the right side PW.";
            }
            enum "ac-bypass" {
              value 7;
              description
                "The PW role type is AC-bypass.";
            }
            enum "pw-bypass" {
              value 8;
              description
                "The PW role type is PW-bypass.";
            }
          }
          description "L2VPN PW role type.";
        }
      }  // module huawei-l2vpn-extension
    

© 2023 YumaWorks, Inc. All rights reserved.