huawei-pbr

PBR module.

  • Version: 2021-02-05

    huawei-pbr@2021-02-05


    
      module huawei-pbr {
    
        yang-version 1;
    
        namespace "urn:huawei:yang:huawei-pbr";
    
        prefix pbr;
    
        import huawei-extension {
          prefix ext;
        }
        import huawei-qos {
          prefix qos;
        }
        import huawei-network-instance {
          prefix ni;
        }
        import huawei-devm {
          prefix devm;
        }
        import huawei-devm-vnf {
          prefix devm-vnf;
        }
        import huawei-ifm {
          prefix ifm;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import huawei-nqa {
          prefix nqa;
        }
        import huawei-mpls {
          prefix mpls;
        }
        import huawei-mpls-ldp {
          prefix mpls-ldp;
        }
    
        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 "PBR module.";
    
        revision "2021-02-05" {
          description
            "Modify max-elements for IPv4-multinhp.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-03-14" {
          description
            "Split L2VPN related nodes to pbr-l2vpn YANG file.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-03-11" {
          description
            "The modifications in the schema file are synchronized to the YANG file.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-10-09" {
          description
            "The modifications in the schema file are synchronized to the YANG file.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-04-09" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "qos";
    
        typedef routing-type {
          type enumeration {
            enum "false" {
              value 0;
              description "No route.";
            }
            enum "default" {
              value 1;
              description
                "Filter default route.";
            }
            enum "blackhole" {
              value 2;
              description
                "Filter blackhole route.";
            }
            enum "default-blackhole" {
              value 3;
              description
                "Filter default and blackhole route.";
            }
          }
          description "Routing type.";
        }
    
        typedef routing-filter-type {
          type enumeration {
            enum "default" {
              value 1;
              description
                "Filter default route.";
            }
            enum "blackhole" {
              value 2;
              description
                "Filter blackhole route.";
            }
            enum "default-blackhole" {
              value 3;
              description
                "Filter default and blackhole route.";
            }
          }
          description "Routing type.";
        }
    
        typedef sid-type {
          type enumeration {
            enum "sid" {
              value 0;
              description "Public network SID.";
            }
            enum "vpnsid" {
              value 1;
              description "Private network SID.";
            }
          }
          description "SID/VPNSID.";
        }
    
        typedef ip-type {
          type enumeration {
            enum "ipv4" {
              value 0;
              description "IPv4.";
            }
            enum "ipv6" {
              value 1;
              description "IPv6.";
            }
            enum "ipv4ipv6" {
              value 2;
              description "IPv4 and IPv6.";
            }
          }
          description "Ip type.";
        }
      }  // module huawei-pbr
    

© 2023 YumaWorks, Inc. All rights reserved.