public interface RouteMetadata extends DataObject
This class represents the following YANG schema fragment defined in module ietf-routing
grouping route-metadata { leaf source-protocol { type identityref { base routing-protocol; } } leaf active { type empty; } leaf last-updated { type yang:date-and-time; } }The schema path to identify an instance is ietf-routing/route-metadata
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable DateAndTime |
getLastUpdated()
Timestamp of the last modification of the route.
|
@Nullable Class<? extends RoutingProtocol> |
getSourceProtocol()
Type of the routing protocol from which the routeoriginated.
|
@Nullable Boolean |
isActive()
The presence of this leaf indicates that the route ispreferred among all routes
in the same RIB that have thesame destination prefix.
|
getImplementedInterface
@Nullable Class<? extends RoutingProtocol> getSourceProtocol()
java.lang.Class
sourceProtocol
, or null
if not present@Nullable Boolean isActive()
java.lang.Boolean
active
, or null
if not present@Nullable DateAndTime getLastUpdated()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime
lastUpdated
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.