Class FlowCommitWrapperImpl
java.lang.Object
org.opendaylight.openflowplugin.learningswitch.FlowCommitWrapperImpl
- All Implemented Interfaces:
FlowCommitWrapper
-
Constructor Summary
ConstructorsConstructorDescriptionFlowCommitWrapperImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBrokerService) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<?>writeFlowToConfig(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> flowPath, Flow flowBody) Starts and commits data change transaction which modifies provided flow path with supplied body.
-
Constructor Details
-
FlowCommitWrapperImpl
public FlowCommitWrapperImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBrokerService)
-
-
Method Details
-
writeFlowToConfig
public com.google.common.util.concurrent.ListenableFuture<?> writeFlowToConfig(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> flowPath, Flow flowBody) Description copied from interface:FlowCommitWrapperStarts and commits data change transaction which modifies provided flow path with supplied body.- Specified by:
writeFlowToConfigin interfaceFlowCommitWrapper- Parameters:
flowPath- the flow pathflowBody- the flow body- Returns:
- transaction commit
-