public abstract class AbstractFlowspecRIBSupport<T extends AbstractFlowspecNlriParser> extends MultiPathAbstractRIBSupport
RIBSupport.ApplyRoute
Modifier and Type | Field and Description |
---|---|
protected T |
nlriParser |
Modifier | Constructor and Description |
---|---|
protected |
AbstractFlowspecRIBSupport(Class<? extends Routes> cazeClass,
Class<? extends org.opendaylight.yangtools.yang.binding.DataObject> containerClass,
Class<? extends Route> listClass,
Class<? extends AddressFamily> afiClass,
Class<? extends SubsequentAddressFamily> safiClass,
org.opendaylight.yangtools.yang.common.QName dstContainerClassQName,
T nlriParser) |
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>> |
cacheableAttributeObjects() |
com.google.common.collect.ImmutableCollection<Class<? extends org.opendaylight.yangtools.yang.binding.DataObject>> |
cacheableNlriObjects() |
boolean |
isComplexRoute()
Indicate whether this AFI/SAFI combination is a complex route.
|
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) |
createRouteKeyPathArgument, extractPathId, getRouteIdAddPath, pathIdQName, routeKeyQName, routePathIdNid
buildUpdate, changedRoutes, deleteRoutes, deleteRoutes, emptyRoutes, getAfi, getSafi, putRoutes, putRoutes, routeAttributesIdentifier, routeNid, routePath, routeQName, routesCaseClass, routesContainerClass, routesContainerIdentifier, routesListClass
protected final T extends AbstractFlowspecNlriParser nlriParser
protected AbstractFlowspecRIBSupport(Class<? extends Routes> cazeClass, Class<? extends org.opendaylight.yangtools.yang.binding.DataObject> containerClass, Class<? extends Route> listClass, Class<? extends AddressFamily> afiClass, Class<? extends SubsequentAddressFamily> safiClass, org.opendaylight.yangtools.yang.common.QName dstContainerClassQName, T nlriParser)
@Nonnull public final com.google.common.collect.ImmutableCollection<Class<? extends org.opendaylight.yangtools.yang.binding.DataObject>> cacheableAttributeObjects()
@Nonnull public final com.google.common.collect.ImmutableCollection<Class<? extends org.opendaylight.yangtools.yang.binding.DataObject>> cacheableNlriObjects()
public final boolean isComplexRoute()
RIBSupport
@Nonnull protected DestinationType buildDestination(@Nonnull Collection<org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode> routes)
buildDestination
in class AbstractRIBSupport
@Nonnull protected DestinationType buildWithdrawnDestination(@Nonnull Collection<org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode> routes)
buildWithdrawnDestination
in class AbstractRIBSupport
protected final 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
Copyright © 2018 OpenDaylight. All rights reserved.