public final class LabeledUnicastIpv4RIBSupport extends AbstractRIBSupport<C,S,LabeledUnicastRoute,LabeledUnicastRouteKey>
RIBSupport.ApplyRoutemappingService, ROUTE_KEY, routeDefaultYii| Modifier and Type | Method and Description |
|---|---|
protected DestinationType |
buildDestination(Collection<org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode> routes) |
protected DestinationType |
buildWithdrawnDestination(Collection<org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode> routes) |
LabeledUnicastRoute |
createRoute(LabeledUnicastRoute route,
LabeledUnicastRouteKey key,
Attributes attributes)
Creates a route with new path Id and attributes.
|
LabeledUnicastRouteKey |
createRouteListKey(PathId pathId,
String routeKey)
Construct a Route List Key using new path Id for Families.
|
LabeledUnicastRoutes |
emptyRoutesContainer()
Return the table-type-specific empty routes container, as augmented into the
bgp-peer model under /peer/effect-rib-in/tables/routes choice node/routes container.
|
List<LabeledUnicastRoute> |
extractAdjRibInRoutes(Routes routes)
Extract a route list from the adj-rib-in instantiation of table routes.
|
static List<LabelStack> |
extractLabel(org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument> route,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier labelStackNid,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier labelValueNid) |
PathId |
extractPathId(LabeledUnicastRouteKey routeListKey)
Given a route list key, return the associated path ID.
|
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix |
extractPrefix(org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument> route,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier prefixTypeNid) |
String |
extractRouteKey(LabeledUnicastRouteKey routeListKey)
Given a route list key, return the associated path ID.
|
protected List<CLabeledUnicastDestination> |
extractRoutes(Collection<org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode> routes) |
protected Collection<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates> |
processDestination(org.opendaylight.mdsal.dom.api.DOMDataTreeWriteTransaction tx,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier routesPath,
org.opendaylight.yangtools.yang.data.api.schema.ContainerNode destination,
org.opendaylight.yangtools.yang.data.api.schema.ContainerNode attributes,
RIBSupport.ApplyRoute function) |
attributeFromContainerNode, attributeToContainerNode, buildUpdate, changedRoutes, createRouteIdentifier, deleteRoutes, deleteRoutes, emptyTable, extractPrefix, extractRouteDistinguisher, fromNormalizedNode, getAfi, getSafi, getTablesKey, prefixNid, putRoutes, putRoutes, relativeRoutesPath, routeAttributesIdentifier, routeKeyTemplate, routeNid, routePathIdNid, routeQName, routesCaseClass, routesContainerClass, routesContainerIdentifier, routesListClass, routesPath, routesYangInstanceIdentifierclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcacheableAttributeObjects, cacheableNlriObjects, createRouteListKey, routePathprotected DestinationType buildDestination(Collection<org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode> routes)
protected DestinationType buildWithdrawnDestination(Collection<org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode> routes)
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix extractPrefix(org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument> route,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier prefixTypeNid)
public LabeledUnicastRoutes emptyRoutesContainer()
RIBSupportpublic List<LabeledUnicastRoute> extractAdjRibInRoutes(Routes routes)
RIBSupportroutes - Table route choiceprotected Collection<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates> processDestination(org.opendaylight.mdsal.dom.api.DOMDataTreeWriteTransaction tx, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier routesPath, org.opendaylight.yangtools.yang.data.api.schema.ContainerNode destination, org.opendaylight.yangtools.yang.data.api.schema.ContainerNode attributes, RIBSupport.ApplyRoute function)
processDestination in class AbstractRIBSupport<C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject,S extends org.opendaylight.yangtools.yang.binding.ChildOf<? super C> & LabeledUnicastRoutesList,LabeledUnicastRoute,LabeledUnicastRouteKey>protected List<CLabeledUnicastDestination> extractRoutes(Collection<org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode> routes)
public static List<LabelStack> extractLabel(org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument> route, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier labelStackNid, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier labelValueNid)
public final LabeledUnicastRouteKey createRouteListKey(PathId pathId, String routeKey)
RIBSupportpathId - The path identifierrouteKey - RouteKeypublic final LabeledUnicastRoute createRoute(LabeledUnicastRoute route, LabeledUnicastRouteKey key, Attributes attributes)
RIBSupportroute - routekey - route keyattributes - route attributespublic final PathId extractPathId(LabeledUnicastRouteKey routeListKey)
RIBSupportrouteListKey - Route list keypublic final String extractRouteKey(LabeledUnicastRouteKey routeListKey)
RIBSupportrouteListKey - Route list keyCopyright © 2020 OpenDaylight. All rights reserved.