public final class LabeledUnicastIpv4RIBSupport extends AbstractRIBSupport<C,S,LabeledUnicastRoute,LabeledUnicastRouteKey>
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) |
LabeledUnicastRoute |
createRoute(LabeledUnicastRoute route,
String routeKey,
long pathId,
Attributes attributes)
Creates a route with new path Id and attributes.
|
LabeledUnicastRouteKey |
createRouteListKey(long pathId,
String routeKey)
Construct a Route List Key using new path Id for Families.
|
LabeledUnicastRoutesCase |
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.
|
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.
|
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) |
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) |
protected List<CLabeledUnicastDestination> |
extractRoutes(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) |
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, 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)
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 LabeledUnicastRoutesCase emptyRoutesCase()
RIBSupport
public LabeledUnicastRoutes emptyRoutesContainer()
RIBSupport
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<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(long pathId, String routeKey)
RIBSupport
pathId
- The path identifierrouteKey
- RouteKeypublic final LabeledUnicastRoute createRoute(LabeledUnicastRoute route, String routeKey, long pathId, Attributes attributes)
RIBSupport
route
- routerouteKey
- route keypathId
- new path Idattributes
- route attributesCopyright © 2019 OpenDaylight. All rights reserved.