openconfig-local-routing

openconfig-version: 2.0.1

Description

This module describes configuration and operational state data for routes that are locally generated, i.e., not created by dynamic routing protocols. These include static routes, locally created aggregate routes for reducing the number of constituent routes that must be advertised, summary routes for IGPs, etc.

This model expresses locally generated routes as generically as possible, avoiding configuration of protocol-specific attributes at the time of route creation. This is primarily to avoid assumptions about how underlying router implementations handle route attributes in various routing table data structures they maintain. Hence, the definition of locally generated routes essentially creates 'bare' routes that do not have any protocol- specific attributes.

When protocol-specific attributes must be attached to a route (e.g., communities on a locally defined route meant to be advertised via BGP), the attributes should be attached via a protocol-specific policy after importing the route into the protocol for distribution (again via routing policy).

Imports

openconfig-inet-types
openconfig-policy-types
openconfig-extensions
openconfig-interfaces
openconfig-bfd

Defined types

local-defined-next-hop

description:
Pre-defined next-hop designation for locally generated routes

type: identityref

  • base: LOCAL_DEFINED_NEXT_HOP

Identities

base: LOCAL_DEFINED_NEXT_HOP

description:
A base identity type of local defined next-hops

DROP

description:
Discard traffic for the corresponding destination

base identity: LOCAL_DEFINED_NEXT_HOP

description:
Treat traffic towards addresses within the specified next-hop prefix as though they are connected to a local link. When the LOCAL_LINK next-hop type is specified, an interface must also be specified such that the local system can determine which link to trigger link-layer address discovery against

base identity: LOCAL_DEFINED_NEXT_HOP

Data elements