huawei-evpn-ext

Evpn ext configuration.

  • Version: 2020-03-06

    huawei-evpn-ext@2020-03-06


    
      module huawei-evpn-ext {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-evpn-ext";
    
        prefix evpn-ext;
    
        import huawei-evpn {
          prefix evpn;
        }
        import huawei-license {
          prefix lcs;
        }
        import huawei-extension {
          prefix ext;
        }
        import huawei-qos {
          prefix qos;
        }
        import huawei-pic {
          prefix pic;
        }
    
        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 "Evpn ext configuration.";
    
        revision "2020-03-06" {
          description "Add pipe type.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-01-13" {
          description "Modify description.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-10-26" {
          description "Add container.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-04-23" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "forwarding";
    
        typedef lcs-active-type {
          type enumeration {
            enum "deactive" {
              value 0;
              description
                "Specify the license active type as deactivate.";
            }
            enum "active" {
              value 1;
              description
                "Specify the license active type as activate.";
            }
          }
          description "License active type.";
        }
    
        typedef lcs-active-status-type {
          type enumeration {
            enum "unallocated" {
              value 0;
              description
                "Specify the license active status as unallocated.";
            }
            enum "allocated" {
              value 1;
              description
                "Specify the license active status as allocated.";
            }
            enum "activated" {
              value 2;
              description
                "Specify the license active status as ctivated.";
            }
          }
          description
            "License active status type.";
        }
    
        typedef evpn-pipe-mode {
          type enumeration {
            enum "pipe" {
              value 1;
              description "Evpn pipe mode.";
            }
            enum "shortpipe" {
              value 2;
              description
                "Evpn Short Pipe mode.";
            }
            enum "uniform" {
              value 3;
              description "Evpn uniform mode.";
            }
          }
          description "Evpn pipe mode.";
        }
    
        typedef evpn-service-class {
          type enumeration {
            enum "be" {
              value 0;
              description
                "Specify the CoS as BE.";
            }
            enum "af1" {
              value 1;
              description
                "Specify the CoS as AF1.";
            }
            enum "af2" {
              value 2;
              description
                "Specify the CoS as AF2.";
            }
            enum "af3" {
              value 3;
              description
                "Specify the CoS as AF3.";
            }
            enum "af4" {
              value 4;
              description
                "Specify the CoS as AF4.";
            }
            enum "ef" {
              value 5;
              description
                "Specify the CoS as EF.";
            }
            enum "cs6" {
              value 6;
              description
                "Specify the CoS as CS6.";
            }
            enum "cs7" {
              value 7;
              description
                "Specify the CoS as CS7.";
            }
          }
          description "Description of CoS.";
        }
    
        typedef evpn-color {
          type enumeration {
            enum "green" {
              value 0;
              description
                "Specify the packet color as green.";
            }
            enum "yellow" {
              value 1;
              description
                "Specify the packet color as yellow.";
            }
            enum "red" {
              value 2;
              description
                "Specify the packet color as red.";
            }
          }
          description
            "Description of packet color.";
        }
    
        typedef evpn-trust-type {
          type enumeration {
            enum "outpri" {
              value 0;
              description
                "Specify the trust type as OUTTER-VLAN-8021P.";
            }
            enum "inpri" {
              value 1;
              description
                "Specify the trust type as INNER-VLAN-8021P.";
            }
            enum "ipdscp" {
              value 2;
              description
                "Specify the trust type as IP-DSCP.";
            }
          }
          description
            "Description of trust type.";
        }
      }  // module huawei-evpn-ext
    

© 2023 YumaWorks, Inc. All rights reserved.