huawei-bgp-flow

Inter-AS routing protocol that exchanges Network Layer Reachability Information (NLRI) with other BGP systems.

  • Version: 2021-09-07

    huawei-bgp-flow@2021-09-07


    
      module huawei-bgp-flow {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-bgp-flow";
    
        prefix bgp-flow;
    
        import huawei-extension {
          prefix ext;
        }
        import huawei-network-instance {
          prefix ni;
        }
        import huawei-bgp {
          prefix bgp;
        }
        import huawei-routing-policy {
          prefix rtp;
        }
        import huawei-xpl {
          prefix xpl;
        }
        import huawei-bgp-routing-table {
          prefix bgp-rt;
        }
        import huawei-l3vpn {
          prefix l3vpn;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import huawei-pub-type {
          prefix pub-type;
        }
    
        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
          "Inter-AS routing protocol that exchanges Network Layer Reachability Information (NLRI) with other BGP systems.";
    
        revision "2021-09-07" {
          description
            "The YANG descriptions are modified according to new standards.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-03-22" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "bgp";
    
        typedef rpd-cap-type {
          type enumeration {
            enum "receive" {
              value 1;
              description
                "Converts received BGP FlowSpec routes to common IP routes if these BGP FlowSpec routes carry the RPD attribute.";
            }
          }
          description
            "The type of FlowSpec Route Policy Distribute.";
        }
    
        typedef flow-validation-result-type {
          type enumeration {
            enum "not-enable" {
              value 0;
              description "Not enable.";
            }
            enum "checking" {
              value 1;
              description "Check.";
            }
            enum "accept" {
              value 2;
              description "Accept.";
            }
            enum "discard" {
              value 3;
              description "Discard.";
            }
          }
          description
            "BGP FLOW route validation result.";
        }
    
        typedef flow-operation-code {
          type enumeration {
            enum "redirect" {
              value 0;
              description "Redirect.";
            }
            enum "copy" {
              value 1;
              description "Copy.";
            }
          }
          description
            "Operation type of redirect.";
        }
    
        typedef flow-color {
          type string {
            length "1..26";
            pattern
              '(0:(([0-9]\d{0,8})|([1-3]\d{9})|(4[0-1]\d{8})|(42[0-8]\d{7})|(429[0-3]\d{6})|(4294[0-8]\d{5})|(42949[0-5]\d{4})|(429496[0-6]\d{3})|(4294967[0-1]\d{2})|(42949672[0-8]\d{1})|(429496729[0-5]))|-:-)';
          }
          description "Type of color.";
        }
      }  // module huawei-bgp-flow
    

© 2023 YumaWorks, Inc. All rights reserved.