openconfig-rib-bgp-types

openconfig-version: 0.5.0

Description

Defines identity and type defintions associated with the OpenConfig BGP RIB modules

Imports

openconfig-extensions

Identities

base: INVALID_ROUTE_REASON

description:
Base identity for reason code for routes that are rejected as invalid. Some derived entities are based on BMP v3

INVALID_CLUSTER_LOOP

description:
Route was invalid due to CLUSTER_LIST loop

base identity: INVALID_ROUTE_REASON

INVALID_AS_LOOP

description:
Route was invalid due to AS_PATH loop

base identity: INVALID_ROUTE_REASON

INVALID_ORIGINATOR

description:
Route was invalid due to ORIGINATOR_ID, e.g., update has local router as originator

base identity: INVALID_ROUTE_REASON

INVALID_CONFED

description:
Route was invalid due to a loop in the AS_CONFED_SEQUENCE or AS_CONFED_SET attributes

base identity: INVALID_ROUTE_REASON

base: BGP_NOT_SELECTED_BESTPATH

description:
Base identity for indicating reason a route was was not selected by BGP route selection algorithm

LOCAL_PREF_LOWER

description:
Route has a lower localpref attribute than current best path

base identity: BGP_NOT_SELECTED_BESTPATH

AS_PATH_LONGER

description:
Route has a longer AS path attribute than current best path

base identity: BGP_NOT_SELECTED_BESTPATH

ORIGIN_TYPE_HIGHER

description:
Route has a higher origin type, i.e., IGP origin is preferred over EGP or incomplete

base identity: BGP_NOT_SELECTED_BESTPATH

MED_HIGHER

description:
Route has a higher MED, or metric, attribute than the current best path

base identity: BGP_NOT_SELECTED_BESTPATH

PREFER_EXTERNAL

description:
Route source is via IGP, rather than EGP.

base identity: BGP_NOT_SELECTED_BESTPATH

NEXTHOP_COST_HIGHER

description:
Route has a higher interior cost to the next hop.

base identity: BGP_NOT_SELECTED_BESTPATH

HIGHER_ROUTER_ID

description:
Route was sent by a peer with a higher BGP Identifier value, or router id

base identity: BGP_NOT_SELECTED_BESTPATH

HIGHER_PEER_ADDRESS

description:
Route was sent by a peer with a higher IP address

base identity: BGP_NOT_SELECTED_BESTPATH

base: BGP_NOT_SELECTED_POLICY

description:
Base identity for reason code for routes that are rejected due to policy

REJECTED_IMPORT_POLICY

description:
Route was rejected after apply import policies

base identity: BGP_NOT_SELECTED_POLICY

base: TUNNEL_ENCAPSULATION_TYPE

description:
Types of tunnel encapsulation, as described by the Tunnel Encapsulation attribute

SRTE_POLICY_TUNNEL

description:
Segment Routing Traffic Engineering Policy tunnel.

base identity: TUNNEL_ENCAPSULATION_TYPE

base: TUNNEL_ENCAPSULATION_SUBTLV_TYPE

description:
SubTLVs of the Tunnel Encapsulation attribute

TUNNEL_REMOTE_ENDPOINT

description:
Remote endpoint of the tunnel.

base identity: TUNNEL_ENCAPSULATION_SUBTLV_TYPE

TUNNEL_COLOR

description:
Colour of the tunnel

base identity: TUNNEL_ENCAPSULATION_SUBTLV_TYPE

SRTE_PREFERENCE

description:
Preference of the SR-TE policy entry described by the tunnel encapsulation attribute.

base identity: TUNNEL_ENCAPSULATION_SUBTLV_TYPE

SRTE_BINDING_SID

description:
Binding SID to be used by the SR-TE policy described by the tunnel encapsulation attribute.

base identity: TUNNEL_ENCAPSULATION_SUBTLV_TYPE

SRTE_SEGMENT_LIST

description:
Segment lists to be used by the SR-TE policy described by the tunnel encapsulation attribute.

base identity: TUNNEL_ENCAPSULATION_SUBTLV_TYPE

base: SRTE_SEGMENT_LIST_SUBTLV

description:
SubTLVs of the SR-TE Policy Segment List sub-TLV of the Tunnel Encapsulation attribute.

SRTE_SEGMENT_LIST_WEIGHT

description:
Weight of the segment list within the SR-TE policy

base identity: SRTE_SEGMENT_LIST_SUBTLV

SRTE_SEGMENT_LIST_SEGMENT

description:
An individual element within the SR-TE Policy Segment List.

base identity: SRTE_SEGMENT_LIST_SUBTLV

Data elements

openconfig-rib-bgp-ext

openconfig-version: 0.6.0

Description

Defines additional data nodes for the OpenConfig BGP RIB model. These items reflect extensions that are desirable features but are not currently supported in a majority of BGP implementations.

Imports

openconfig-extensions
openconfig-rib-bgp-types
openconfig-network-instance

Data elements

openconfig-rib-bgp

openconfig-version: 0.9.0

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.

Imports

openconfig-bgp-types
openconfig-extensions

Data elements