Class SalFlowServiceImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.services.sal.SalFlowServiceImpl
- All Implemented Interfaces:
SalFlowService
,org.opendaylight.yangtools.yang.binding.RpcService
-
Constructor Summary
ConstructorDescriptionSalFlowServiceImpl
(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-flow
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>>
removeFlow
(RemoveFlowInput input) Invokeremove-flow
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>>
updateFlow
(UpdateFlowInput input) Invokeupdate-flow
RPC.
-
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:SalFlowService
Invokeadd-flow
RPC.Adding flow to openflow device.
- Specified by:
addFlow
in 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:SalFlowService
Invokeremove-flow
RPC.Removing flow from openflow device.
- Specified by:
removeFlow
in 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:SalFlowService
Invokeupdate-flow
RPC.Updating flow on openflow device.
- Specified by:
updateFlow
in interfaceSalFlowService
- Parameters:
input
- ofupdate-flow
- Returns:
- output of
update-flow
-