public final class RouteTargetConstrainRIBSupport extends AbstractRIBSupport<RouteTargetConstrainRoutesCase,RouteTargetConstrainRoutes,RouteTargetConstrainRoute,RouteTargetConstrainRouteKey>
RIBSupport.ApplyRoute
mappingService, 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.DataObject>> |
cacheableNlriObjects() |
RouteTargetConstrainRoute |
createRoute(RouteTargetConstrainRoute route,
String routeKey,
long pathId,
Attributes attributes)
Creates a route with new path Id and attributes.
|
RouteTargetConstrainRouteKey |
createRouteListKey(long pathId,
String routeKey)
Construct a Route List Key using new path Id for Families.
|
RouteTargetConstrainRoutesCase |
emptyRoutesCase()
Return the table-type-specific empty routes container, as augmented into the
bgp-peer model under /peer/effect-rib-in/tables/routes choice node.
|
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.
|
static RouteTargetConstrainRIBSupport |
getInstance(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService) |
protected void |
processDestination(org.opendaylight.controller.md.sal.dom.api.DOMDataWriteTransaction 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) |
buildUpdate, changedRoutes, createRouteIdentifier, deleteRoutes, deleteRoutes, emptyTable, extractPrefix, extractRouteDistinguisher, getAfi, getSafi, getTablesKey, pathIdQName, prefixNid, putRoutes, putRoutes, routeAttributesIdentifier, routeKeyQName, routeNid, routePath, routePathIdNid, routeQName, routesCaseClass, routesContainerClass, routesContainerIdentifier, routesListClass, routesYangInstanceIdentifier
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cacheableAttributeObjects
public 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.DataObject>> 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 void processDestination(org.opendaylight.controller.md.sal.dom.api.DOMDataWriteTransaction 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, String routeKey, long pathId, Attributes attributes)
RIBSupport
route
- routerouteKey
- route keypathId
- new path Idattributes
- route attributespublic RouteTargetConstrainRoutesCase emptyRoutesCase()
RIBSupport
public RouteTargetConstrainRoutes emptyRoutesContainer()
RIBSupport
public RouteTargetConstrainRouteKey createRouteListKey(long pathId, String routeKey)
RIBSupport
pathId
- The path identifierrouteKey
- RouteKeyCopyright © 2019 OpenDaylight. All rights reserved.