public interface Route extends ChildOf<Routes>, Augmentable<Route>, RouteMetadata
This class represents the following YANG schema fragment defined in module ietf-routing
list route { status obsolete; leaf route-preference { type route-preference; status obsolete; } container next-hop { status obsolete; uses next-hop-state-content { status obsolete; } } uses route-metadata { status obsolete; } }The schema path to identify an instance is ietf-routing/routing-state/ribs/rib/routes/route
To create instances of this class use RouteBuilder
.
RouteBuilder
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable NextHop |
getNextHop()
Route's next-hop attribute.
|
@Nullable RoutePreference |
getRoutePreference()
This route attribute, also known as 'administrativedistance', allows for
selecting the preferred routeamong routes with the same destination prefix.
|
augmentation
getLastUpdated, getSourceProtocol, isActive
getImplementedInterface
@Nullable RoutePreference getRoutePreference()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.routing.rev180313.RoutePreference
routePreference
, or null
if not present@Nullable NextHop getNextHop()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.routing.rev180313.routing.state.ribs.rib.routes.route.NextHop
nextHop
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.