Interface Route
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.Grouping,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.binding.Grouping, 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;
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn routeKey, ornullif it is not present.default @NonNull StringReturn routeKey, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterfaceMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.PathAttributes
getAttributes, nonnullAttributesMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.PathIdGrouping
getPathId, requirePathId
-
Method Details
-
getRouteKey
String getRouteKey()Return routeKey, ornullif 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:
StringrouteKey, ornullif it is not present.
-
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:
StringrouteKey, guaranteed to be non-null.- Throws:
NoSuchElementException- if routeKey is not present
-