Class SalFlowServiceImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.services.sal.SalFlowServiceImpl
- All Implemented Interfaces:
SalFlowService,org.opendaylight.yangtools.yang.binding.RpcService
-
Constructor Summary
ConstructorsConstructorDescriptionSalFlowServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowOutput>>addFlow(AddFlowInput input) Invokeadd-flowRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>>removeFlow(RemoveFlowInput input) Invokeremove-flowRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>>updateFlow(UpdateFlowInput input) Invokeupdate-flowRPC.
-
Constructor Details
-
SalFlowServiceImpl
public SalFlowServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor)
-
-
Method Details
-
addFlow
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowOutput>> addFlow(AddFlowInput input) Description copied from interface:SalFlowServiceInvokeadd-flowRPC.Adding flow to openflow device.- Specified by:
addFlowin interfaceSalFlowService- Parameters:
input- ofadd-flow- Returns:
- output of
add-flow
-
removeFlow
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>> removeFlow(RemoveFlowInput input) Description copied from interface:SalFlowServiceInvokeremove-flowRPC.Removing flow from openflow device.- Specified by:
removeFlowin interfaceSalFlowService- Parameters:
input- ofremove-flow- Returns:
- output of
remove-flow
-
updateFlow
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>> updateFlow(UpdateFlowInput input) Description copied from interface:SalFlowServiceInvokeupdate-flowRPC.Updating flow on openflow device.- Specified by:
updateFlowin interfaceSalFlowService- Parameters:
input- ofupdate-flow- Returns:
- output of
update-flow
-