This module describes configuration and operational state data for routes that are locally generated, i.e., not created by dynam...
Version: 2018-11-21
module openconfig-local-routing { yang-version 1; namespace "http://openconfig.net/yang/local-routing"; prefix oc-loc-rt; import openconfig-inet-types { prefix inet; } import openconfig-policy-types { prefix oc-pt; } import openconfig-extensions { prefix oc-ext; } import openconfig-interfaces { prefix oc-if; } organization "OpenConfig working group"; contact "OpenConfig working group www.openconfig.net"; 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)."; revision "2018-11-21" { description "Add OpenConfig module metadata extensions."; reference "1.0.2"; } revision "2017-05-15" { description "Update to resolve style guide non-compliance."; reference "1.0.1"; } revision "2016-05-11" { description "OpenConfig public release"; reference "1.0.0"; } oc-ext:openconfig-version "1.0.2"; oc-ext:regexp-posix; oc-ext:catalog-organization "openconfig"; oc-ext:origin "openconfig"; identity LOCAL_DEFINED_NEXT_HOP { description "A base identity type of local defined next-hops"; } identity DROP { base LOCAL_DEFINED_NEXT_HOP; description "Discard traffic for the corresponding destination"; } identity LOCAL_LINK { base 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"; } typedef local-defined-next-hop { type identityref { base LOCAL_DEFINED_NEXT_HOP; } description "Pre-defined next-hop designation for locally generated routes"; } } // module openconfig-local-routing
© 2023 YumaWorks, Inc. All rights reserved.