public final class LinkstateRIBSupport extends AbstractRIBSupport<LinkstateRoutesCase,LinkstateRoutes,LinkstateRoute,LinkstateRouteKey>
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) |
LinkstateRoute |
createRoute(LinkstateRoute route,
String routeKey,
long pathId,
Attributes attributes)
Creates a route with new path Id and attributes.
|
LinkstateRouteKey |
createRouteListKey(long pathId,
String routeKey)
Construct a Route List Key using new path Id for Families.
|
LinkstateRoutesCase |
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.
|
LinkstateRoutes |
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 LinkstateRIBSupport |
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, routesYangInstanceIdentifierclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcacheableAttributeObjects, cacheableNlriObjectspublic static LinkstateRIBSupport 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)
processDestination in class AbstractRIBSupport<LinkstateRoutesCase,LinkstateRoutes,LinkstateRoute,LinkstateRouteKey>protected DestinationType buildDestination(Collection<org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode> routes)
buildDestination in class AbstractRIBSupport<LinkstateRoutesCase,LinkstateRoutes,LinkstateRoute,LinkstateRouteKey>protected DestinationType buildWithdrawnDestination(Collection<org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode> routes)
buildWithdrawnDestination in class AbstractRIBSupport<LinkstateRoutesCase,LinkstateRoutes,LinkstateRoute,LinkstateRouteKey>public LinkstateRoute createRoute(LinkstateRoute route, String routeKey, long pathId, Attributes attributes)
RIBSupportroute - routerouteKey - route keypathId - new path Idattributes - route attributespublic LinkstateRoutesCase emptyRoutesCase()
RIBSupportpublic LinkstateRoutes emptyRoutesContainer()
RIBSupportpublic LinkstateRouteKey createRouteListKey(long pathId, String routeKey)
RIBSupportpathId - The path identifierrouteKey - RouteKeyCopyright © 2019 OpenDaylight. All rights reserved.