huawei-bgp-routing-table

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

  • Version: 2021-09-15

    huawei-bgp-routing-table@2021-09-15


    
      module huawei-bgp-routing-table {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-bgp-routing-table";
    
        prefix bgp-rt;
    
        import huawei-bgp {
          prefix bgp;
        }
        import huawei-extension {
          prefix ext;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import huawei-pub-type {
          prefix pub-type;
        }
        import huawei-network-instance {
          prefix ni;
        }
    
        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-15" {
          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 bgp-origin-type {
          type enumeration {
            enum "igp" {
              value 1;
              description "IBGP route.";
            }
            enum "egp" {
              value 2;
              description "EBGP route.";
            }
            enum "incomplete" {
              value 3;
              description
                "Route whose source is unknown.";
            }
          }
          description "The origin of bgpcommon.";
        }
    
        typedef flapping-af-type {
          type enumeration {
            enum "ipv4uni" {
              value 1;
              description
                "IPv4 unicast address family.";
            }
            enum "ipv4multi" {
              value 2;
              description
                "IPv4 multicast address family.";
            }
            enum "ipv4vpn" {
              value 3;
              description
                "IPv4 VPN address family.";
            }
            enum "ipv4labeluni" {
              value 4;
              description
                "IPv4 labeled address family.";
            }
            enum "ipv6uni" {
              value 5;
              description
                "IPv6 unicast address family.";
            }
            enum "ipv6vpn" {
              value 6;
              description
                "IPv6 VPN address family.";
            }
          }
          description
            "The address family type of flapping.";
        }
    
        typedef bgp-external-flag-type {
          type bits {
            bit type5-ip-prefix {
              position 5;
              description "Ip prefix.";
            }
            bit type2-irb {
              position 13;
              description "IRB.";
            }
          }
          description "Route external flags.";
        }
    
        typedef hierarchy-convergence-type {
          type enumeration {
            enum "base" {
              value 1;
              description "Base route.";
            }
            enum "hierarchy" {
              value 2;
              description "Hierarchy route.";
            }
          }
          description "Hierarchy route flags.";
        }
    
        typedef bgp-route-type-flag {
          type bits {
            bit ibgp {
              position 0;
              description "IBGP route.";
            }
            bit ebgp {
              position 1;
              description "EBGP route.";
            }
            bit network {
              position 2;
              description "Network route.";
            }
            bit import {
              position 3;
              description "Imported route.";
            }
            bit auto-summary {
              position 4;
              description
                "Automatcially summarized route.";
            }
            bit aggregate {
              position 5;
              description "Aggregated route.";
            }
            bit cpri {
              position 6;
              description
                "Route received by CBGP from PD-BGP.";
            }
            bit pcri {
              position 7;
              description
                "Route received by PD-BGP from CBGP.";
            }
            bit suppressed {
              position 8;
              description "Suppressed.";
            }
            bit nhp-empty {
              position 9;
              description "NHP-empty.";
            }
            bit no-adv {
              position 10;
              description
                "Routes that are not advertised to other routers.";
            }
            bit local-cross {
              position 11;
              description
                "Locally crossed routes.";
            }
            bit remote-cross {
              position 12;
              description
                "Remotely crossed routes.";
            }
            bit vd-bgp {
              position 13;
              description "VD-BGP route.";
            }
            bit path-local {
              position 14;
              description "Path_Local route.";
            }
            bit path-gateway {
              position 15;
              description "Path_Gateway route.";
            }
            bit policy-nopass {
              position 16;
              description "Policy_NoPass route.";
            }
            bit supprenet {
              position 17;
              description "Supernet route.";
            }
            bit dampened {
              position 18;
              description "Dampened route.";
            }
            bit history {
              position 19;
              description "History route.";
            }
            bit select {
              position 20;
              description "Selected route.";
            }
            bit best {
              position 21;
              description "Best route.";
            }
            bit backup {
              position 22;
              description "Backup route.";
            }
            bit attr-change {
              position 23;
              description "ATTR_Change route.";
            }
            bit nhlfe-created {
              position 24;
              description "NHLFE_Created route.";
            }
            bit ilm-created {
              position 25;
              description "ILM_Created route.";
            }
            bit nexthop-change {
              position 26;
              description
                "Route whose next hop changed.";
            }
            bit invalid {
              position 27;
              description "Invalid route.";
            }
            bit source-change {
              position 28;
              description
                "Route whose source address changed.";
            }
            bit in-selectedq {
              position 29;
              description
                "Route in a selected queue.";
            }
            bit exitif-error {
              position 30;
              description "EXITIF_ERROR route.";
            }
            bit group-head {
              position 31;
              description "GROUP_HEAD route.";
            }
          }
          description "BGP-route-type-flag.";
        }
    
        typedef region-validation-result-type {
          type enumeration {
            enum "valid" {
              value 1;
              description
                "The BGP region validation result is valid.";
            }
            enum "invalid" {
              value 2;
              description
                "The BGP region validation result is invalid.";
            }
          }
          description
            "The type of BGP region validation result.";
        }
      }  // module huawei-bgp-routing-table
    

© 2023 YumaWorks, Inc. All rights reserved.