public final class RouteTargetConstrainRIBSupport extends AbstractRIBSupport<RouteTargetConstrainRoutesCase,RouteTargetConstrainRoutes,RouteTargetConstrainRoute,RouteTargetConstrainRouteKey>
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) |
com.google.common.collect.ImmutableCollection<Class<? extends org.opendaylight.yangtools.yang.binding.BindingObject>> |
cacheableNlriObjects() |
RouteTargetConstrainRoute |
createRoute(RouteTargetConstrainRoute route,
RouteTargetConstrainRouteKey key,
Attributes attributes)
Creates a route with new path Id and attributes.
|
RouteTargetConstrainRouteKey |
createRouteListKey(PathId pathId,
String routeKey)
Construct a Route List Key using new path Id for Families.
|
RouteTargetConstrainRoutes |
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<RouteTargetConstrainRoute> |
extractAdjRibInRoutes(Routes routes)
Extract a route list from the adj-rib-in instantiation of table routes.
|
PathId |
extractPathId(RouteTargetConstrainRouteKey routeListKey)
Given a route list key, return the associated path ID.
|
String |
extractRouteKey(RouteTargetConstrainRouteKey routeListKey)
Given a route list key, return the associated path ID.
|
static RouteTargetConstrainRIBSupport |
getInstance(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService) |
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, createRouteListKey, routePathpublic static RouteTargetConstrainRIBSupport getInstance(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService)
public com.google.common.collect.ImmutableCollection<Class<? extends org.opendaylight.yangtools.yang.binding.BindingObject>> cacheableNlriObjects()
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)
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)
public RouteTargetConstrainRoute createRoute(RouteTargetConstrainRoute route, RouteTargetConstrainRouteKey key, Attributes attributes)
RIBSupportroute - routekey - route keyattributes - route attributespublic RouteTargetConstrainRoutes emptyRoutesContainer()
RIBSupportpublic RouteTargetConstrainRouteKey createRouteListKey(PathId pathId, String routeKey)
RIBSupportpathId - The path identifierrouteKey - RouteKeypublic PathId extractPathId(RouteTargetConstrainRouteKey routeListKey)
RIBSupportrouteListKey - Route list keypublic String extractRouteKey(RouteTargetConstrainRouteKey routeListKey)
RIBSupportrouteListKey - Route list keypublic List<RouteTargetConstrainRoute> extractAdjRibInRoutes(Routes routes)
RIBSupportroutes - Table route choiceCopyright © 2020 OpenDaylight. All rights reserved.