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-flow
     rpc 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 Detail

      • addFlow

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowOutput>> addFlow​(AddFlowInput input)
        Invoke add-flow RPC.
             
                 Adding flow to openflow device.
             
         
        Parameters:
        input - of add-flow
        Returns:
        output of add-flow
      • removeFlow

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>> removeFlow​(RemoveFlowInput input)
        Invoke remove-flow RPC.
             
                 Removing flow from openflow device.
             
         
        Parameters:
        input - of remove-flow
        Returns:
        output of remove-flow
      • updateFlow

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>> updateFlow​(UpdateFlowInput input)
        Invoke update-flow RPC.
             
                 Updating flow on openflow device.
             
         
        Parameters:
        input - of update-flow
        Returns:
        output of update-flow