Interface Route
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,PathAttributes
,PathIdGrouping
- All Known Subinterfaces:
BgpRibRoute
,BgpRibRoute
,BgpRibRoute
,EvpnRoute
,FlowspecIpv4RouteList
,FlowspecIpv6RouteList
,FlowspecL3vpnRoute
,FlowspecL3vpnRoute
,FlowspecRoute
,FlowspecRoute
,Ipv4Route
,Ipv4Route
,Ipv6Route
,L3vpnMcastRoute
,LabeledUnicastRoute
,LinkstateRoute
,MvpnBgpRibRoute
,MvpnRoute
,RouteTargetConstrainRoute
,VpnRoute
@Generated("mdsal-binding-generator") public interface Route extends org.opendaylight.yangtools.yang.binding.DataObject, PathIdGrouping, PathAttributes
This class represents the following YANG schema fragment defined in module bgp-rib
grouping route { uses bgp-msg:path-id-grouping; leaf route-key { type string; } uses bgp-msg:path-attributes; }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getRouteKey()
Return routeKey, ornull
if it is not present.Class<? extends Route>
implementedInterface()
default @NonNull String
requireRouteKey()
Return routeKey, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.PathAttributes
getAttributes
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.PathIdGrouping
getPathId, requirePathId
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends Route> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfacePathAttributes
- Specified by:
implementedInterface
in interfacePathIdGrouping
-
getRouteKey
String getRouteKey()
Return routeKey, ornull
if it is not present.The sole function of this leaf to act as the key in the list. Its format does not form the API contract of this model.
- Returns:
String
routeKey, ornull
if it is not present.
-
requireRouteKey
default @NonNull String requireRouteKey()
Return routeKey, guaranteed to be non-null.The sole function of this leaf to act as the key in the list. Its format does not form the API contract of this model.
- Returns:
String
routeKey, guaranteed to be non-null.- Throws:
NoSuchElementException
- if routeKey is not present
-
-