Class AbstractFlowBasedServicesStateBindHelper
- java.lang.Object
-
- org.opendaylight.genius.interfacemanager.servicebindings.flowbased.state.helpers.AbstractFlowBasedServicesStateBindHelper
-
- All Implemented Interfaces:
FlowBasedServicesStateAddable
- Direct Known Subclasses:
FlowBasedEgressServicesStateBindHelper
,FlowBasedIngressServicesStateBindHelper
public abstract class AbstractFlowBasedServicesStateBindHelper extends java.lang.Object implements FlowBasedServicesStateAddable
AbstractFlowBasedServicesConfigBindHelper to enable flow based ingress/egress service binding for interfaces.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractFlowBasedServicesStateBindHelper(org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
Create instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
bindServices(java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> futures, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifaceState, java.util.List<BoundServices> allServices, java.lang.Class<? extends ServiceModeBase> serviceMode)
protected abstract void
bindServicesOnInterface(TypedReadWriteTransaction<Datastore.Configuration> tx, java.util.List<BoundServices> allServices, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifState)
abstract void
bindServicesOnInterfaceType(java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> futures, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String ifaceName)
protected org.opendaylight.mdsal.binding.api.DataBroker
getDataBroker()
protected ManagedNewTransactionRunner
getTxRunner()
-
-
-
Method Detail
-
getDataBroker
protected org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
-
getTxRunner
protected ManagedNewTransactionRunner getTxRunner()
-
bindServices
public final void bindServices(java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> futures, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifaceState, java.util.List<BoundServices> allServices, java.lang.Class<? extends ServiceModeBase> serviceMode)
- Specified by:
bindServices
in interfaceFlowBasedServicesStateAddable
-
bindServicesOnInterface
protected abstract void bindServicesOnInterface(TypedReadWriteTransaction<Datastore.Configuration> tx, java.util.List<BoundServices> allServices, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifState)
-
bindServicesOnInterfaceType
public abstract void bindServicesOnInterfaceType(java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> futures, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String ifaceName)
- Specified by:
bindServicesOnInterfaceType
in interfaceFlowBasedServicesStateAddable
-
-