netconfcentral logo

openconfig-rib-bgp

HTML

openconfig-rib-bgp@2016-10-17



  module openconfig-rib-bgp {

    yang-version 1;

    namespace
      "http://openconfig.net/yang/rib/bgp";

    prefix oc-rib-bgp;

    import openconfig-bgp-types {
      prefix oc-bgpt;
    }
    import openconfig-extensions {
      prefix oc-ext;
    }

    include openconfig-rib-bgp-tables;
    include openconfig-rib-bgp-shared-attributes;
    include openconfig-rib-bgp-attributes;
    include openconfig-rib-bgp-table-attributes;

    organization "OpenConfig working group";

    contact
      "OpenConfig working group
    www.openconfig.net";

    description
      "Defines a data model for representing BGP routing table (RIB)
    contents.  The model supports 5 logical RIBs per address family:

    loc-rib: This is the main BGP routing table for the local routing
    instance, containing best-path selections for each prefix. The
    loc-rib table may contain multiple routes for a given prefix,
    with an attribute to indicate which was selected as the best
    path.  Note that multiple paths may be used or advertised even if
    only one path is marked as best, e.g., when using BGP
    add-paths.  An implementation may choose to mark multiple
    paths in the RIB as best path by setting the flag to true for
    multiple entries.

    adj-rib-in-pre: This is a per-neighbor table containing the NLRI
    updates received from the neighbor before any local input policy
    rules or filters have been applied.  This can be considered the
    'raw' updates from a given neighbor.

    adj-rib-in-post: This is a per-neighbor table containing the
    routes received from the neighbor that are eligible for
    best-path selection after local input policy rules have been
    applied.

    adj-rib-out-pre: This is a per-neighbor table containing routes
    eligible for sending (advertising) to the neighbor before output
    policy rules have been applied.

    adj-rib-out-post: This is a per-neighbor table containing routes
    eligible for sending (advertising) to the neighbor after output
    policy rules have been applied.";

    revision "2016-10-17" {
      description
        "OpenConfig BGP RIB refactor";
      reference
        "0.3.0";

    }

    revision "2016-04-11" {
      description
        "OpenConfig public release";
      reference
        "0.2.0";

    }

    oc-ext:openconfig-version "0.3.0";

    grouping bgp-rib-state {
      description
        "Operational state data for the top level BGP RIB";
      leaf afi-safi-name {
        type identityref {
          base oc-bgpt:AFI_SAFI_TYPE;
        }
        description "AFI,SAFI";
      }
    }  // grouping bgp-rib-state

    grouping bgp-rib-top {
      description
        "Top-level grouping for the BGP RIB";
      container bgp-rib {
        config false;
        description
          "Top level container for BGP RIBs";
        uses attribute-sets-top;

        uses community-sets-top;

        uses ext-community-sets-top;

        container afi-safis {
          config false;
          description
            "Enclosing container for address family list";
          list afi-safi {
            key "afi-safi-name";
            description
              "list of afi-safi types";
            leaf afi-safi-name {
              type leafref {
                path
                  "../state/afi-safi-name";
              }
              description
                "Reference to the list key";
            }

            container state {
              config false;
              description
                "Operational state data for the BGP list";
              uses bgp-rib-state;
            }  // container state

            container ipv4-unicast {
              when
                "../afi-safi-name = 'oc-bgpt:IPV4_UNICAST'" {
                description
                  "Include this container for IPv4 unicast RIB";
              }
              description
                "Routing tables for IPv4 unicast -- active when the
              afi-safi name is ipv4-unicast";
              uses ipv4-loc-rib-top;

              uses ipv4-adj-rib-top;
            }  // container ipv4-unicast

            container ipv6-unicast {
              when
                "../afi-safi-name = 'oc-bgpt:IPV6_UNICAST'" {
                description
                  "Include this container for IPv6 unicast RIB";
              }
              description
                "Routing tables for IPv6 unicast -- active when the
              afi-safi name is ipv6-unicast";
              uses ipv6-loc-rib-top;

              uses ipv6-adj-rib-top;
            }  // container ipv6-unicast
          }  // list afi-safi
        }  // container afi-safis
      }  // container bgp-rib
    }  // grouping bgp-rib-top

    uses bgp-rib-top;
  }  // module openconfig-rib-bgp

Summary

  
openconfig-rib-bgp-table-attributes  
  
Organization OpenConfig working group
  
Submodule openconfig-rib-bgp-table-attributes
Version 2016-10-17
File openconfig-rib-bgp-table-attributes.yang
  
  
Cooked /cookedmodules/openconfig-rib-bgp-table-attributes/2016-10-17
YANG /src/openconfig-rib-bgp-table-attributes@2016-10-17.yang
XSD /xsd/openconfig-rib-bgp-table-attributes@2016-10-17.xsd
  
Abstract This submodule contains common data definitions for data related to a RIB entry, or RIB table.
  
Contact
OpenConfig working group
www.openconfig.net
  
openconfig-rib-bgp-shared-attributes  
  
Organization OpenConfig working group
  
Submodule openconfig-rib-bgp-shared-attributes
Version 2016-10-17
File openconfig-rib-bgp-shared-attributes.yang
  
  
Cooked /cookedmodules/openconfig-rib-bgp-shared-attributes/2016-10-17
YANG /src/openconfig-rib-bgp-shared-attributes@2016-10-17.yang
XSD /xsd/openconfig-rib-bgp-shared-attributes@2016-10-17.xsd
  
Abstract This submodule contains structural data definitions for attribute sets shared across routes.
  
Contact
OpenConfig working group
www.openconfig.net
  
openconfig-rib-bgp  
  
Organization OpenConfig working group
  
Module openconfig-rib-bgp
Version 2016-10-17
File openconfig-rib-bgp.yang
  
Prefix oc-rib-bgp
Namespace http://openconfig.net/yang/rib/bgp
  
Cooked /cookedmodules/openconfig-rib-bgp/2016-10-17
YANG /src/openconfig-rib-bgp@2016-10-17.yang
XSD /xsd/openconfig-rib-bgp@2016-10-17.xsd
  
Abstract Defines a data model for representing BGP routing table (RIB) contents. The model supports 5 logical RIBs per address family: ...
  
Contact
OpenConfig working group
www.openconfig.net
  
openconfig-rib-bgp-tables  
  
Organization OpenConfig working group
  
Submodule openconfig-rib-bgp-tables
Version 2016-10-17
File openconfig-rib-bgp-tables.yang
  
  
Cooked /cookedmodules/openconfig-rib-bgp-tables/2016-10-17
YANG /src/openconfig-rib-bgp-tables@2016-10-17.yang
XSD /xsd/openconfig-rib-bgp-tables@2016-10-17.xsd
  
Abstract This submodule contains structural data definitions for BGP routing tables.
  
Contact
OpenConfig working group
www.openconfig.net
  
openconfig-rib-bgp-attributes  
  
Organization OpenConfig working group
  
Submodule openconfig-rib-bgp-attributes
Version 2016-10-17
File openconfig-rib-bgp-attributes.yang
  
  
Cooked /cookedmodules/openconfig-rib-bgp-attributes/2016-10-17
YANG /src/openconfig-rib-bgp-attributes@2016-10-17.yang
XSD /xsd/openconfig-rib-bgp-attributes@2016-10-17.xsd
  
Abstract This submodule contains common data definitions for BGP attributes for use in BGP RIB tables.
  
Contact
OpenConfig working group
www.openconfig.net

Description

 
openconfig-rib-bgp-table-attributes
This submodule contains common data definitions for data
related to a RIB entry, or RIB table.
 
openconfig-rib-bgp-shared-attributes
This submodule contains structural data definitions for
attribute sets shared across routes.
 
openconfig-rib-bgp
Defines a data model for representing BGP routing table (RIB)
contents.  The model supports 5 logical RIBs per address family:

loc-rib: This is the main BGP routing table for the local routing
instance, containing best-path selections for each prefix. The
loc-rib table may contain multiple routes for a given prefix,
with an attribute to indicate which was selected as the best
path.  Note that multiple paths may be used or advertised even if
only one path is marked as best, e.g., when using BGP
add-paths.  An implementation may choose to mark multiple
paths in the RIB as best path by setting the flag to true for
multiple entries.

adj-rib-in-pre: This is a per-neighbor table containing the NLRI
updates received from the neighbor before any local input policy
rules or filters have been applied.  This can be considered the
'raw' updates from a given neighbor.

adj-rib-in-post: This is a per-neighbor table containing the
routes received from the neighbor that are eligible for
best-path selection after local input policy rules have been
applied.

adj-rib-out-pre: This is a per-neighbor table containing routes
eligible for sending (advertising) to the neighbor before output
policy rules have been applied.

adj-rib-out-post: This is a per-neighbor table containing routes
eligible for sending (advertising) to the neighbor after output
policy rules have been applied.
 
openconfig-rib-bgp-tables
This submodule contains structural data definitions for
BGP routing tables.
 
openconfig-rib-bgp-attributes
This submodule contains common data definitions for BGP
attributes for use in BGP RIB tables.

Groupings

Grouping Objects Abstract
attribute-sets-top attr-sets Top level grouping for list of common attribute sets
bgp-adj-rib-attr-state path-id Path attributes that are not expected to be shared across route entries, specific to Adj-RIB
bgp-adj-rib-common-attr-refs attr-index community-index ext-community-index Definitions of common references to attribute sets for multiple AFI-SAFIs for Adj-RIB tables
bgp-adj-rib-in-post-route-annotations-state best-path Data definitions for information attached to routes in the Adj-RIB-in post-policy table
bgp-adj-rib-key-refs prefix path-id Key references to support operational state structure for the BGP Adj-RIB tables
bgp-aggregator-attr-state as as4 address Operational state data for the BGP aggregator attribute
bgp-aggregator-attr-top aggregator Common definition of the BGP aggregator attribute
bgp-as-path-attr-state type member Data for representing BGP AS-PATH attribute
bgp-as-path-attr-top as-path Top-level grouping for AS-PATH attribute data
bgp-as4-path-attr-top as4-path Top-level grouping for AS4-PATH attribute data
bgp-common-route-annotations-state last-modified valid-route invalid-reason Data definitions for flags and other information attached to routes in both LOC-RIB and Adj-RIB
bgp-common-table-attrs-state Common attributes attached to all routing tables
bgp-common-table-attrs-top state Operational state data for common attributes attached to all routing tables
bgp-community-attr-state community Common definition of BGP community attributes
bgp-extended-community-attr-state ext-community Common definition of BGP extended community attribute
bgp-loc-rib-attr-state Path attributes that are not expected to be shared across route entries, specific to LOC-RIB
bgp-loc-rib-common-attr-refs attr-index community-index ext-community-index Definitions of common references to attribute sets for multiple AFI-SAFIs for LOC-RIB tables
bgp-loc-rib-common-keys origin path-id Common references used in keys for IPv4 and IPv6 LOC-RIB entries
bgp-loc-rib-key-refs prefix origin path-id Key references to support operational state structure for the BGP LOC-RIB table
bgp-loc-rib-route-annotations-state Data definitions for information attached to routes in the LOC-RIB
bgp-rib-state afi-safi-name Operational state data for the top level BGP RIB
bgp-rib-top bgp-rib Top-level grouping for the BGP RIB
bgp-shared-common-attr-state origin atomic-aggregate next-hop med local-pref originator-id cluster-list aigp Route attributes shared across route table entries, common to both LOC-Rib and Adj-RIB
bgp-unknown-attr-flags-state optional transitive partial extended Operational state data for path attribute flags
bgp-unknown-attr-state attr-type attr-len attr-value Operational state data for path attributes not shared across route entries, common to LOC-RIB and Adj-RIB
bgp-unknown-attr-top unknown-attributes Unknown path attributes that are not expected to be shared across route entries, common to LOC-RIB and Adj-RIB
community-sets-top communities Top level grouping for list of shared community attribute sets
ext-community-sets-top ext-communities Top level grouping for list of extended community attribute sets
ipv4-adj-rib-common stateroutes Common structural grouping for each IPv4 adj-RIB table
ipv4-adj-rib-in-post stateroutes Common structural grouping for the IPv4 adj-rib-in post-policy table
ipv4-adj-rib-top neighbors Top-level grouping for Adj-RIB table
ipv4-loc-rib-top loc-rib Top-level grouping for IPv4 routing tables
ipv6-adj-rib-common routes Common structural grouping for each IPv6 adj-RIB table
ipv6-adj-rib-in-post routes Common structural grouping for the IPv6 adj-rib-in post-policy table
ipv6-adj-rib-top neighbors Top-level grouping for Adj-RIB table
ipv6-loc-rib-top loc-rib Top-level grouping for IPv6 routing tables

Objects

Type Key
Mandatory config
Optional config
Not config
Object Type Abstract
bgp-rib container Top level container for BGP RIBs
   afi-safis container Enclosing container for address family list
      afi-safi list list of afi-safi types
         afi-safi-name leaf Reference to the list key
         ipv4-unicast container Routing tables for IPv4 unicast -- active when the afi-safi name is ipv4-unicast
            loc-rib container Container for the IPv4 BGP LOC-RIB data
               routes container Enclosing container for list of routes in the routing table.
                  route list List of routes in the table, keyed by the route prefix, the route origin, and path-id. The route origin can be either the neighbor address from which the route was learned, or the source protocol that injected the route. The path-id distinguishes routes...
                     origin leaf Reference to the origin list key
                     path-id leaf Reference to the path-id list key
                     prefix leaf Reference to the prefix list key
                     state container Operational state data for route entries in the BGP LOC-RIB
                        attr-index leaf Reference to the common attribute group for the route
                        community-index leaf Reference to the community attribute for the route
                        ext-community-index leaf Reference to the extended community attribute for the route
                        invalid-reason leaf If the route is rejected as invalid, this indicates the reason.
                        last-modified leaf Timestamp when this path was last modified. The value is the timestamp in seconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).
                        origin leaf Indicates the origin of the route. If the route is learned from a neighbor, this value is the neighbor address. If the route was injected or redistributed from another protocol, the origin indicates the source protocol for the route.
                        path-id leaf If the route is learned from a neighbor, the path-id corresponds to the path-id for the route in the corresponding adj-rib-in-post table. If the route is injected from another protocol, or the neighbor does not support BGP add-paths, the path-id should b...
                        prefix leaf The IPv4 prefix corresponding to the route
                        valid-route leaf Indicates that the route is considered valid by the local router
                     unknown-attributes container Unknown path attributes that were received in the UPDATE message which contained the prefix.
                        unknown-attribute list This list contains received attributes that are unrecognized or unsupported by the local router. The list may be empty.
                           attr-type leaf Reference to the list key
                           state container Operational state for unknown route attributes
                              attr-len leaf One or two octet attribute length field indicating the length of the attribute data in octets. If the Extended Length attribute flag is set, the length field is 2 octets, otherwise it is 1 octet
                              attr-type leaf 1-octet value encoding the attribute type code
                              attr-value leaf Raw attribute value, not including the attribute flags, type, or length. The maximum length of the attribute value data is 2^16-1 per the max value of the attr-len field (2 octets).
                              extended leaf Defines whether the attribute length is one octet (if set to false) or two octets (if set to true). Set in the fourth high-order bit of the BGP attribute flags octet.
                              optional leaf Defines whether the attribute is optional (if set to true) or well-known (if set to false). Set in the high-order bit of the BGP attribute flags octet.
                              partial leaf Defines whether the information contained in the optional transitive attribute is partial (if set to true) or complete (if set to false). For well-known attributes and for optional non-transitive attributes, the partial flag must be set to false. Set in...
                              transitive leaf Defines whether an optional attribute is transitive (if set to true) or non-transitive (if set to false). For well-known attributes, the transitive flag MUST be set to true. Set in the second high-order bit of the BGP attribute flags octet.
               state container Operational state data for data related to the entire LOC-RIB
            neighbors container Enclosing container for neighbor list
               neighbor list List of neighbors (peers) of the local BGP speaker
                  adj-rib-in-post container Per-neighbor table containing the paths received from the neighbor that are eligible for best-path selection after local input policy rules have been applied.
                     routes container Enclosing container for list of routes in the routing table.
                        route list List of routes in the table, keyed by a combination of the route prefix and path-id to distinguish multiple routes received from a neighbor for the same prefix, e.g., when BGP add-paths is enabled.
                           path-id leaf Reference to the path-id list key
                           prefix leaf Reference to the prefix list key
                           state container Operational state data for BGP Adj-RIB entries
                              attr-index leaf Reference to the common attribute group for the route
                              best-path leaf Current path was selected as the best path.
                              community-index leaf Reference to the community attribute for the route
                              ext-community-index leaf Reference to the extended community attribute for the route
                              invalid-reason leaf If the route is rejected as invalid, this indicates the reason.
                              last-modified leaf Timestamp when this path was last modified. The value is the timestamp in seconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).
                              path-id leaf When the BGP speaker supports advertisement of multiple paths for a prefix, the path identifier is used to uniquely identify a route based on the combination of the prefix and path id. In the Adj-RIB-In, the path-id value is the value received in the upd...
                              prefix leaf Prefix for the route
                              valid-route leaf Indicates that the route is considered valid by the local router
                           unknown-attributes container Unknown path attributes that were received in the UPDATE message which contained the prefix.
                              unknown-attribute list This list contains received attributes that are unrecognized or unsupported by the local router. The list may be empty.
                                 attr-type leaf Reference to the list key
                                 state container Operational state for unknown route attributes
                                    attr-len leaf One or two octet attribute length field indicating the length of the attribute data in octets. If the Extended Length attribute flag is set, the length field is 2 octets, otherwise it is 1 octet
                                    attr-type leaf 1-octet value encoding the attribute type code
                                    attr-value leaf Raw attribute value, not including the attribute flags, type, or length. The maximum length of the attribute value data is 2^16-1 per the max value of the attr-len field (2 octets).
                                    extended leaf Defines whether the attribute length is one octet (if set to false) or two octets (if set to true). Set in the fourth high-order bit of the BGP attribute flags octet.
                                    optional leaf Defines whether the attribute is optional (if set to true) or well-known (if set to false). Set in the high-order bit of the BGP attribute flags octet.
                                    partial leaf Defines whether the information contained in the optional transitive attribute is partial (if set to true) or complete (if set to false). For well-known attributes and for optional non-transitive attributes, the partial flag must be set to false. Set in...
                                    transitive leaf Defines whether an optional attribute is transitive (if set to true) or non-transitive (if set to false). For well-known attributes, the transitive flag MUST be set to true. Set in the second high-order bit of the BGP attribute flags octet.
                     state container Operational state data for data related to the entire LOC-RIB
                  adj-rib-in-pre container Per-neighbor table containing the NLRI updates received from the neighbor before any local input policy rules or filters have been applied. This can be considered the 'raw' updates from the neighbor.
                     routes container Enclosing container for list of routes in the routing table.
                        route list List of routes in the table, keyed by a combination of the route prefix and path-id to distinguish multiple routes received from a neighbor for the same prefix, e.g., when BGP add-paths is enabled.
                           path-id leaf Reference to the path-id list key
                           prefix leaf Reference to the prefix list key
                           state container Operational state data for BGP Adj-RIB entries
                              attr-index leaf Reference to the common attribute group for the route
                              community-index leaf Reference to the community attribute for the route
                              ext-community-index leaf Reference to the extended community attribute for the route
                              invalid-reason leaf If the route is rejected as invalid, this indicates the reason.
                              last-modified leaf Timestamp when this path was last modified. The value is the timestamp in seconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).
                              path-id leaf When the BGP speaker supports advertisement of multiple paths for a prefix, the path identifier is used to uniquely identify a route based on the combination of the prefix and path id. In the Adj-RIB-In, the path-id value is the value received in the upd...
                              prefix leaf Prefix for the route
                              valid-route leaf Indicates that the route is considered valid by the local router
                           unknown-attributes container Unknown path attributes that were received in the UPDATE message which contained the prefix.
                              unknown-attribute list This list contains received attributes that are unrecognized or unsupported by the local router. The list may be empty.
                                 attr-type leaf Reference to the list key
                                 state container Operational state for unknown route attributes
                                    attr-len leaf One or two octet attribute length field indicating the length of the attribute data in octets. If the Extended Length attribute flag is set, the length field is 2 octets, otherwise it is 1 octet
                                    attr-type leaf 1-octet value encoding the attribute type code
                                    attr-value leaf Raw attribute value, not including the attribute flags, type, or length. The maximum length of the attribute value data is 2^16-1 per the max value of the attr-len field (2 octets).
                                    extended leaf Defines whether the attribute length is one octet (if set to false) or two octets (if set to true). Set in the fourth high-order bit of the BGP attribute flags octet.
                                    optional leaf Defines whether the attribute is optional (if set to true) or well-known (if set to false). Set in the high-order bit of the BGP attribute flags octet.
                                    partial leaf Defines whether the information contained in the optional transitive attribute is partial (if set to true) or complete (if set to false). For well-known attributes and for optional non-transitive attributes, the partial flag must be set to false. Set in...
                                    transitive leaf Defines whether an optional attribute is transitive (if set to true) or non-transitive (if set to false). For well-known attributes, the transitive flag MUST be set to true. Set in the second high-order bit of the BGP attribute flags octet.
                     state container Operational state data for data related to the entire LOC-RIB
                  adj-rib-out-post container Per-neighbor table containing paths eligble for sending (advertising) to the neighbor after output policy rules have been applied
                     routes container Enclosing container for list of routes in the routing table.
                        route list List of routes in the table, keyed by a combination of the route prefix and path-id to distinguish multiple routes received from a neighbor for the same prefix, e.g., when BGP add-paths is enabled.
                           path-id leaf Reference to the path-id list key
                           prefix leaf Reference to the prefix list key
                           state container Operational state data for BGP Adj-RIB entries
                              attr-index leaf Reference to the common attribute group for the route
                              community-index leaf Reference to the community attribute for the route
                              ext-community-index leaf Reference to the extended community attribute for the route
                              invalid-reason leaf If the route is rejected as invalid, this indicates the reason.
                              last-modified leaf Timestamp when this path was last modified. The value is the timestamp in seconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).
                              path-id leaf When the BGP speaker supports advertisement of multiple paths for a prefix, the path identifier is used to uniquely identify a route based on the combination of the prefix and path id. In the Adj-RIB-In, the path-id value is the value received in the upd...
                              prefix leaf Prefix for the route
                              valid-route leaf Indicates that the route is considered valid by the local router
                           unknown-attributes container Unknown path attributes that were received in the UPDATE message which contained the prefix.
                              unknown-attribute list This list contains received attributes that are unrecognized or unsupported by the local router. The list may be empty.
                                 attr-type leaf Reference to the list key
                                 state container Operational state for unknown route attributes
                                    attr-len leaf One or two octet attribute length field indicating the length of the attribute data in octets. If the Extended Length attribute flag is set, the length field is 2 octets, otherwise it is 1 octet
                                    attr-type leaf 1-octet value encoding the attribute type code
                                    attr-value leaf Raw attribute value, not including the attribute flags, type, or length. The maximum length of the attribute value data is 2^16-1 per the max value of the attr-len field (2 octets).
                                    extended leaf Defines whether the attribute length is one octet (if set to false) or two octets (if set to true). Set in the fourth high-order bit of the BGP attribute flags octet.
                                    optional leaf Defines whether the attribute is optional (if set to true) or well-known (if set to false). Set in the high-order bit of the BGP attribute flags octet.
                                    partial leaf Defines whether the information contained in the optional transitive attribute is partial (if set to true) or complete (if set to false). For well-known attributes and for optional non-transitive attributes, the partial flag must be set to false. Set in...
                                    transitive leaf Defines whether an optional attribute is transitive (if set to true) or non-transitive (if set to false). For well-known attributes, the transitive flag MUST be set to true. Set in the second high-order bit of the BGP attribute flags octet.
                     state container Operational state data for data related to the entire LOC-RIB
                  adj-rib-out-pre container Per-neighbor table containing paths eligble for sending (advertising) to the neighbor before output policy rules have been applied
                     routes container Enclosing container for list of routes in the routing table.
                        route list List of routes in the table, keyed by a combination of the route prefix and path-id to distinguish multiple routes received from a neighbor for the same prefix, e.g., when BGP add-paths is enabled.
                           path-id leaf Reference to the path-id list key
                           prefix leaf Reference to the prefix list key
                           state container Operational state data for BGP Adj-RIB entries
                              attr-index leaf Reference to the common attribute group for the route
                              community-index leaf Reference to the community attribute for the route
                              ext-community-index leaf Reference to the extended community attribute for the route
                              invalid-reason leaf If the route is rejected as invalid, this indicates the reason.
                              last-modified leaf Timestamp when this path was last modified. The value is the timestamp in seconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).
                              path-id leaf When the BGP speaker supports advertisement of multiple paths for a prefix, the path identifier is used to uniquely identify a route based on the combination of the prefix and path id. In the Adj-RIB-In, the path-id value is the value received in the upd...
                              prefix leaf Prefix for the route
                              valid-route leaf Indicates that the route is considered valid by the local router
                           unknown-attributes container Unknown path attributes that were received in the UPDATE message which contained the prefix.
                              unknown-attribute list This list contains received attributes that are unrecognized or unsupported by the local router. The list may be empty.
                                 attr-type leaf Reference to the list key
                                 state container Operational state for unknown route attributes
                                    attr-len leaf One or two octet attribute length field indicating the length of the attribute data in octets. If the Extended Length attribute flag is set, the length field is 2 octets, otherwise it is 1 octet
                                    attr-type leaf 1-octet value encoding the attribute type code
                                    attr-value leaf Raw attribute value, not including the attribute flags, type, or length. The maximum length of the attribute value data is 2^16-1 per the max value of the attr-len field (2 octets).
                                    extended leaf Defines whether the attribute length is one octet (if set to false) or two octets (if set to true). Set in the fourth high-order bit of the BGP attribute flags octet.
                                    optional leaf Defines whether the attribute is optional (if set to true) or well-known (if set to false). Set in the high-order bit of the BGP attribute flags octet.
                                    partial leaf Defines whether the information contained in the optional transitive attribute is partial (if set to true) or complete (if set to false). For well-known attributes and for optional non-transitive attributes, the partial flag must be set to false. Set in...
                                    transitive leaf Defines whether an optional attribute is transitive (if set to true) or non-transitive (if set to false). For well-known attributes, the transitive flag MUST be set to true. Set in the second high-order bit of the BGP attribute flags octet.
                     state container Operational state data for data related to the entire LOC-RIB
                  neighbor-address leaf Reference to the list key
                  state container Operational state for each neighbor BGP Adj-RIB
                     neighbor-address leaf IP address of the BGP neighbor or peer
         ipv6-unicast container Routing tables for IPv6 unicast -- active when the afi-safi name is ipv6-unicast
            loc-rib container Container for the IPv6 BGP LOC-RIB data
               routes container Enclosing container for list of routes in the routing table.
                  route list List of routes in the table, keyed by the route prefix, the route origin, and path-id. The route origin can be either the neighbor address from which the route was learned, or the source protocol that injected the route. The path-id distinguishes routes...
                     origin leaf Reference to the origin list key
                     path-id leaf Reference to the path-id list key
                     prefix leaf Reference to the prefix list key
                     state container Operational state data for route entries in the BGP LOC-RIB
                        attr-index leaf Reference to the common attribute group for the route
                        community-index leaf Reference to the community attribute for the route
                        ext-community-index leaf Reference to the extended community attribute for the route
                        invalid-reason leaf If the route is rejected as invalid, this indicates the reason.
                        last-modified leaf Timestamp when this path was last modified. The value is the timestamp in seconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).
                        origin leaf Indicates the origin of the route. If the route is learned from a neighbor, this value is the neighbor address. If the route was injected or redistributed from another protocol, the origin indicates the source protocol for the route.
                        path-id leaf If the route is learned from a neighbor, the path-id corresponds to the path-id for the route in the corresponding adj-rib-in-post table. If the route is injected from another protocol, or the neighbor does not support BGP add-paths, the path-id should b...
                        prefix leaf The IPv6 prefix corresponding to the route
                        valid-route leaf Indicates that the route is considered valid by the local router
                     unknown-attributes container Unknown path attributes that were received in the UPDATE message which contained the prefix.
                        unknown-attribute list This list contains received attributes that are unrecognized or unsupported by the local router. The list may be empty.
                           attr-type leaf Reference to the list key
                           state container Operational state for unknown route attributes
                              attr-len leaf One or two octet attribute length field indicating the length of the attribute data in octets. If the Extended Length attribute flag is set, the length field is 2 octets, otherwise it is 1 octet
                              attr-type leaf 1-octet value encoding the attribute type code
                              attr-value leaf Raw attribute value, not including the attribute flags, type, or length. The maximum length of the attribute value data is 2^16-1 per the max value of the attr-len field (2 octets).
                              extended leaf Defines whether the attribute length is one octet (if set to false) or two octets (if set to true). Set in the fourth high-order bit of the BGP attribute flags octet.
                              optional leaf Defines whether the attribute is optional (if set to true) or well-known (if set to false). Set in the high-order bit of the BGP attribute flags octet.
                              partial leaf Defines whether the information contained in the optional transitive attribute is partial (if set to true) or complete (if set to false). For well-known attributes and for optional non-transitive attributes, the partial flag must be set to false. Set in...
                              transitive leaf Defines whether an optional attribute is transitive (if set to true) or non-transitive (if set to false). For well-known attributes, the transitive flag MUST be set to true. Set in the second high-order bit of the BGP attribute flags octet.
               state container Operational state data for data related to the entire LOC-RIB
            neighbors container Enclosing container for neighbor list
               neighbor list List of neighbors (peers) of the local BGP speaker
                  adj-rib-in-post container Per-neighbor table containing the paths received from the neighbor that are eligible for best-path selection after local input policy rules have been applied.
                     routes container Enclosing container for list of routes in the routing table.
                        route list List of routes in the table
                           path-id leaf Reference to the path-id list key
                           prefix leaf Reference to the prefix list key
                           state container Operational state data for BGP Adj-RIB entries
                              attr-index leaf Reference to the common attribute group for the route
                              best-path leaf Current path was selected as the best path.
                              community-index leaf Reference to the community attribute for the route
                              ext-community-index leaf Reference to the extended community attribute for the route
                              invalid-reason leaf If the route is rejected as invalid, this indicates the reason.
                              last-modified leaf Timestamp when this path was last modified. The value is the timestamp in seconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).
                              path-id leaf When the BGP speaker supports advertisement of multiple paths for a prefix, the path identifier is used to uniquely identify a route based on the combination of the prefix and path id. In the Adj-RIB-In, the path-id value is the value received in the upd...
                              prefix leaf Prefix for the route
                              valid-route leaf Indicates that the route is considered valid by the local router
                           unknown-attributes container Unknown path attributes that were received in the UPDATE message which contained the prefix.
                              unknown-attribute list This list contains received attributes that are unrecognized or unsupported by the local router. The list may be empty.
                                 attr-type leaf Reference to the list key
                                 state container Operational state for unknown route attributes
                                    attr-len leaf One or two octet attribute length field indicating the length of the attribute data in octets. If the Extended Length attribute flag is set, the length field is 2 octets, otherwise it is 1 octet
                                    attr-type leaf 1-octet value encoding the attribute type code
                                    attr-value leaf Raw attribute value, not including the attribute flags, type, or length. The maximum length of the attribute value data is 2^16-1 per the max value of the attr-len field (2 octets).
                                    extended leaf Defines whether the attribute length is one octet (if set to false) or two octets (if set to true). Set in the fourth high-order bit of the BGP attribute flags octet.
                                    optional leaf Defines whether the attribute is optional (if set to true) or well-known (if set to false). Set in the high-order bit of the BGP attribute flags octet.
                                    partial leaf Defines whether the information contained in the optional transitive attribute is partial (if set to true) or complete (if set to false). For well-known attributes and for optional non-transitive attributes, the partial flag must be set to false. Set in...
                                    transitive leaf Defines whether an optional attribute is transitive (if set to true) or non-transitive (if set to false). For well-known attributes, the transitive flag MUST be set to true. Set in the second high-order bit of the BGP attribute flags octet.
                  adj-rib-in-pre container Per-neighbor table containing the NLRI updates received from the neighbor before any local input policy rules or filters have been applied. This can be considered the 'raw' updates from the neighbor.
                     routes container Enclosing container for list of routes in the routing table.
                        route list List of routes in the table
                           path-id leaf Reference to the path-id list key
                           prefix leaf Reference to the prefix list key
                           state container Operational state data for BGP Adj-RIB entries
                              attr-index leaf Reference to the common attribute group for the route
                              community-index leaf Reference to the community attribute for the route
                              ext-community-index leaf Reference to the extended community attribute for the route
                              invalid-reason leaf If the route is rejected as invalid, this indicates the reason.
                              last-modified leaf Timestamp when this path was last modified. The value is the timestamp in seconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).
                              path-id leaf When the BGP speaker supports advertisement of multiple paths for a prefix, the path identifier is used to uniquely identify a route based on the combination of the prefix and path id. In the Adj-RIB-In, the path-id value is the value received in the upd...
                              prefix leaf Prefix for the route
                              valid-route leaf Indicates that the route is considered valid by the local router
                           unknown-attributes container Unknown path attributes that were received in the UPDATE message which contained the prefix.
                              unknown-attribute list This list contains received attributes that are unrecognized or unsupported by the local router. The list may be empty.
                                 attr-type leaf Reference to the list key
                                 state container Operational state for unknown route attributes
                                    attr-len leaf One or two octet attribute length field indicating the length of the attribute data in octets. If the Extended Length attribute flag is set, the length field is 2 octets, otherwise it is 1 octet
                                    attr-type leaf 1-octet value encoding the attribute type code
                                    attr-value leaf Raw attribute value, not including the attribute flags, type, or length. The maximum length of the attribute value data is 2^16-1 per the max value of the attr-len field (2 octets).
                                    extended leaf Defines whether the attribute length is one octet (if set to false) or two octets (if set to true). Set in the fourth high-order bit of the BGP attribute flags octet.
                                    optional leaf Defines whether the attribute is optional (if set to true) or well-known (if set to false). Set in the high-order bit of the BGP attribute flags octet.
                                    partial leaf Defines whether the information contained in the optional transitive attribute is partial (if set to true) or complete (if set to false). For well-known attributes and for optional non-transitive attributes, the partial flag must be set to false. Set in...
                                    transitive leaf Defines whether an optional attribute is transitive (if set to true) or non-transitive (if set to false). For well-known attributes, the transitive flag MUST be set to true. Set in the second high-order bit of the BGP attribute flags octet.
                  adj-rib-out-post container Per-neighbor table containing paths eligble for sending (advertising) to the neighbor after output policy rules have been applied
                     routes container Enclosing container for list of routes in the routing table.
                        route list List of routes in the table
                           path-id leaf Reference to the path-id list key
                           prefix leaf Reference to the prefix list key
                           state container Operational state data for BGP Adj-RIB entries
                              attr-index leaf Reference to the common attribute group for the route
                              community-index leaf Reference to the community attribute for the route
                              ext-community-index leaf Reference to the extended community attribute for the route
                              invalid-reason leaf If the route is rejected as invalid, this indicates the reason.
                              last-modified leaf Timestamp when this path was last modified. The value is the timestamp in seconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).
                              path-id leaf When the BGP speaker supports advertisement of multiple paths for a prefix, the path identifier is used to uniquely identify a route based on the combination of the prefix and path id. In the Adj-RIB-In, the path-id value is the value received in the upd...
                              prefix leaf Prefix for the route
                              valid-route leaf Indicates that the route is considered valid by the local router
                           unknown-attributes container Unknown path attributes that were received in the UPDATE message which contained the prefix.
                              unknown-attribute list This list contains received attributes that are unrecognized or unsupported by the local router. The list may be empty.
                                 attr-type leaf Reference to the list key
                                 state container Operational state for unknown route attributes
                                    attr-len leaf One or two octet attribute length field indicating the length of the attribute data in octets. If the Extended Length attribute flag is set, the length field is 2 octets, otherwise it is 1 octet
                                    attr-type leaf 1-octet value encoding the attribute type code
                                    attr-value leaf Raw attribute value, not including the attribute flags, type, or length. The maximum length of the attribute value data is 2^16-1 per the max value of the attr-len field (2 octets).
                                    extended leaf Defines whether the attribute length is one octet (if set to false) or two octets (if set to true). Set in the fourth high-order bit of the BGP attribute flags octet.
                                    optional leaf Defines whether the attribute is optional (if set to true) or well-known (if set to false). Set in the high-order bit of the BGP attribute flags octet.
                                    partial leaf Defines whether the information contained in the optional transitive attribute is partial (if set to true) or complete (if set to false). For well-known attributes and for optional non-transitive attributes, the partial flag must be set to false. Set in...
                                    transitive leaf Defines whether an optional attribute is transitive (if set to true) or non-transitive (if set to false). For well-known attributes, the transitive flag MUST be set to true. Set in the second high-order bit of the BGP attribute flags octet.
                  adj-rib-out-pre container Per-neighbor table containing paths eligble for sending (advertising) to the neighbor before output policy rules have been applied
                     routes container Enclosing container for list of routes in the routing table.
                        route list List of routes in the table
                           path-id leaf Reference to the path-id list key
                           prefix leaf Reference to the prefix list key
                           state container Operational state data for BGP Adj-RIB entries
                              attr-index leaf Reference to the common attribute group for the route
                              community-index leaf Reference to the community attribute for the route
                              ext-community-index leaf Reference to the extended community attribute for the route
                              invalid-reason leaf If the route is rejected as invalid, this indicates the reason.
                              last-modified leaf Timestamp when this path was last modified. The value is the timestamp in seconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).
                              path-id leaf When the BGP speaker supports advertisement of multiple paths for a prefix, the path identifier is used to uniquely identify a route based on the combination of the prefix and path id. In the Adj-RIB-In, the path-id value is the value received in the upd...
                              prefix leaf Prefix for the route
                              valid-route leaf Indicates that the route is considered valid by the local router
                           unknown-attributes container Unknown path attributes that were received in the UPDATE message which contained the prefix.
                              unknown-attribute list This list contains received attributes that are unrecognized or unsupported by the local router. The list may be empty.
                                 attr-type leaf Reference to the list key
                                 state container Operational state for unknown route attributes
                                    attr-len leaf One or two octet attribute length field indicating the length of the attribute data in octets. If the Extended Length attribute flag is set, the length field is 2 octets, otherwise it is 1 octet
                                    attr-type leaf 1-octet value encoding the attribute type code
                                    attr-value leaf Raw attribute value, not including the attribute flags, type, or length. The maximum length of the attribute value data is 2^16-1 per the max value of the attr-len field (2 octets).
                                    extended leaf Defines whether the attribute length is one octet (if set to false) or two octets (if set to true). Set in the fourth high-order bit of the BGP attribute flags octet.
                                    optional leaf Defines whether the attribute is optional (if set to true) or well-known (if set to false). Set in the high-order bit of the BGP attribute flags octet.
                                    partial leaf Defines whether the information contained in the optional transitive attribute is partial (if set to true) or complete (if set to false). For well-known attributes and for optional non-transitive attributes, the partial flag must be set to false. Set in...
                                    transitive leaf Defines whether an optional attribute is transitive (if set to true) or non-transitive (if set to false). For well-known attributes, the transitive flag MUST be set to true. Set in the second high-order bit of the BGP attribute flags octet.
                  neighbor-address leaf Reference to the list key
                  state container Operational state for each neighbor BGP Adj-RIB
                     neighbor-address leaf IP address of the BGP neighbor or peer
         state container Operational state data for the BGP list
            afi-safi-name leaf AFI,SAFI
   attr-sets container Enclosing container for the list of path attribute sets
      attr-set list List of path attributes that may be in use by multiple routes in the table
         aggregator container BGP attribute indicating the prefix has been aggregated by the specified AS and router.
            state container Operational state data for BGP aggregator attribute
               address leaf IP address of the router that performed the aggregation.
               as leaf AS number of the autnonomous system that performed the aggregation.
               as4 leaf AS number of the autnonomous system that performed the aggregation (4-octet representation). This value is populated if an upstream router is not 4-octet capable. Its semantics are similar to the AS4_PATH optional transitive attribute
         as-path container Enclosing container for the list of AS path segments. In the Adj-RIB-In or Adj-RIB-Out, this list should show the received or sent AS_PATH, respectively. For example, if the local router is not 4-byte capable, this value should consist of 2-octet ASNs o...
            segment list Unkeyed list of AS PATH segments
               state container Opstate data for AS-PATH segments
                  member leaf-list List of the AS numbers in the AS-PATH segment
                  type leaf The type of AS-PATH segment
         as4-path container This is the path encoded with 4-octet AS numbers in the optional transitive AS4_PATH attribute. This value is populated with the received or sent attribute in Adj-RIB-In or Adj-RIB-Out, respectively. It should not be populated in Loc-RIB since the Loc-RI...
            segment list Unkeyed list of AS PATH segments
               state container Opstate data for AS-PATH segments
                  member leaf-list List of the AS numbers in the AS-PATH segment
                  type leaf The type of AS-PATH segment
         index leaf Reference to list key
         state container Operational state for common path attributes
            aigp leaf BGP path attribute representing the accumulated IGP metric for the path
            atomic-aggregate leaf BGP attribute indicating that the prefix is an atomic aggregate, i.e., the peer selected a less specific route without selecting a more specific route that is included in it.
            cluster-list leaf-list Represents the reflection path that the route has passed.
            index leaf System generated index for each attribute set. The index is used to reference an attribute set from a specific path. Multiple paths may reference the same attribute set.
            local-pref leaf BGP local preference attribute sent to internal peers to indicate the degree of preference for externally learned routes. The route with the highest local preference value is preferred.
            med leaf BGP multi-exit discriminator attribute used in BGP route selection process
            next-hop leaf BGP next hop attribute defining the IP address of the router that should be used as the next hop to the destination
            origin leaf BGP attribute defining the origin of the path information.
            originator-id leaf BGP attribute that provides the id as an IPv4 address of the originator of the announcement.
   communities container Enclosing container for the list of community attribute sets
      community list List of path attributes that may be in use by multiple routes in the table
         index leaf Reference to the list key
         state container Operational state for shared BGP community attribute
            community leaf-list List of standard or well-known BGP community attributes.
            index leaf System generated index for each attribute set. The index is used to reference an attribute set from a specific path. Multiple paths may reference the same attribute set.
   ext-communities container Enclosing container for the list of extended community attribute sets
      ext-community list List of path attributes that may be in use by multiple routes in the table
         index leaf Reference to the list key
         state container Operational state for shared BGP extended community attribute
            ext-community leaf-list List of BGP extended community attributes. The received extended community may be an explicitly modeled type or unknown, represented by an 8-octet value formatted according to RFC 4360.
            index leaf System generated index for each attribute set. The index is used to reference an attribute set from a specific path. Multiple paths may reference the same attribute set.