Interface SalFlowService
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.RpcService
- All Known Implementing Classes:
OpenflowpluginTestServiceProvider
,SalFlowServiceImpl
@Generated("mdsal-binding-generator") public interface SalFlowService extends org.opendaylight.yangtools.yang.binding.RpcService
Interface for implementing the following YANG RPCs defined in module sal-flowrpc add-flow { input input { uses tr:transaction-metadata; leaf flow-ref { type types:flow-ref; } uses node-flow; } output output { uses tr:transaction-aware; } } rpc remove-flow { input input { uses tr:transaction-metadata; leaf flow-ref { type types:flow-ref; } uses node-flow; } output output { uses tr:transaction-aware; } } rpc update-flow { input input { uses tr:transaction-metadata; leaf flow-ref { type types:flow-ref; } uses flow-update; } output output { uses tr:transaction-aware; } }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.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.
-
-
-
Method Detail
-
addFlow
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowOutput>> addFlow(AddFlowInput input)
Invokeadd-flow
RPC.Adding flow to openflow device.
- Parameters:
input
- ofadd-flow
- Returns:
- output of
add-flow
-
removeFlow
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>> removeFlow(RemoveFlowInput input)
Invokeremove-flow
RPC.Removing flow from openflow device.
- Parameters:
input
- ofremove-flow
- Returns:
- output of
remove-flow
-
updateFlow
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>> updateFlow(UpdateFlowInput input)
Invokeupdate-flow
RPC.Updating flow on openflow device.
- Parameters:
input
- ofupdate-flow
- Returns:
- output of
update-flow
-
-