huawei-srv6-type

SRv6 type defined file.

  • Version: 2021-04-27

    huawei-srv6-type@2021-04-27


    
      submodule huawei-srv6-type {
    
        yang-version 1;
    
        belongs-to huawei-srv6 {
            prefix srv6;
        }
    
        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 "SRv6 type defined file.";
    
        revision "2021-04-27" {
          description "Add GSRv6 function.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-03-03" {
          description "Modify the description.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-02-24" {
          description "Modify the description.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-02-04" {
          description "Add new type.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-04-04" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
    
        typedef protocol-type {
          type enumeration {
            enum "l3vpn" {
              value 0;
              description "L3VPN.";
            }
            enum "evpn" {
              value 1;
              description "EVPN.";
            }
            enum "evpn-l3vpn" {
              value 2;
              description "EVPN L3VPN.";
            }
          }
          description "Protocol Type.";
        }
    
        typedef mode-type {
          type enumeration {
            enum "uniform" {
              value 1;
              description "Uniform mode.";
            }
            enum "pipe" {
              value 2;
              description "Pipe mode.";
            }
          }
          description "Pipe mode types.";
        }
    
        typedef service-class {
          type enumeration {
            enum "be" {
              value 0;
              description "Service name is BE.";
            }
            enum "af1" {
              value 1;
              description "Service name is AF1.";
            }
            enum "af2" {
              value 2;
              description "Service name is AF2.";
            }
            enum "af3" {
              value 3;
              description "Service name is AF3.";
            }
            enum "af4" {
              value 4;
              description "Service name is AF4.";
            }
            enum "ef" {
              value 5;
              description "Service name is EF.";
            }
            enum "cs6" {
              value 6;
              description "Service name is CS6.";
            }
            enum "cs7" {
              value 7;
              description "Service name is CS7.";
            }
          }
          description
            "Service type for the packet.";
        }
    
        typedef color {
          type enumeration {
            enum "green" {
              value 0;
              description "Green Color.";
            }
            enum "yellow" {
              value 1;
              description "Yellow Color.";
            }
            enum "red" {
              value 2;
              description "Red Color.";
            }
          }
          description
            "Color type for the packet.";
        }
    
        typedef inner-type {
          type enumeration {
            enum "null" {
              value 0;
              description
                "Indicates that the inner type is not configured.";
            }
            enum "ipv4" {
              value 1;
              description
                "The inner type is IPv4.";
            }
          }
          description
            "Indicates the type of the original packet sent from the SFF to the SF.";
        }
    
        typedef match-type {
          type enumeration {
            enum "none" {
              value 0;
              description
                "The mapping policy type is none.";
            }
            enum "sr-policy-dscp" {
              value 1;
              description "SR Policy DSCP.";
            }
          }
          description "Mapping policy type.";
        }
    
        typedef encapsulation-type {
          type enumeration {
            enum "invalid" {
              value 0;
              description
                "Invalid encapsulation mode.";
            }
            enum "insert" {
              value 1;
              description
                "Insert encapsulation mode.";
            }
            enum "encaps" {
              value 2;
              description
                "Encaps encapsulation mode.";
            }
            enum "insert-encaps" {
              value 3;
              description
                "Insert and encaps encapsulation mode.";
            }
            enum "none" {
              value 4;
              description
                "None encapsulation mode.";
            }
          }
          description "Encapsulation modes.";
        }
      }  // submodule huawei-srv6-type
    

© 2023 YumaWorks, Inc. All rights reserved.