Interface SalBulkFlowService

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.RpcService
    All Known Implementing Classes:
    SalBulkFlowServiceImpl

    @Generated("mdsal-binding-generator")
    public interface SalBulkFlowService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module sal-bulk-flow
     rpc register {
     }
     rpc add-flows-rpc {
       input input {
         uses bulk-flow-list-grouping;
       }
     }
     rpc remove-flows-rpc {
       input input {
         uses bulk-flow-list-grouping;
       }
     }
     rpc add-flows-ds {
       input input {
         leaf always-create-parents {
           type boolean;
           default false;
         }
         uses bulk-flow-ds-list-grouping;
       }
     }
     rpc remove-flows-ds {
       input input {
         uses bulk-flow-ds-list-grouping;
       }
     }
     rpc flow-test {
       input input {
         leaf create-parents {
           type boolean;
           default true;
         }
         leaf is-add {
           type boolean;
         }
         leaf dpn-count {
           type uint32;
         }
         leaf flows-per-dpn {
           type uint32;
         }
         leaf start-table-id {
           type uint32;
         }
         leaf end-table-id {
           type uint32;
         }
         leaf batch-size {
           type uint32;
         }
         leaf seq {
           type boolean;
         }
         leaf tx-chain {
           type boolean;
         }
         leaf sleep-for {
           type uint32;
         }
         leaf sleep-after {
           type uint32;
         }
       }
     }
     rpc read-flow-test {
       input input {
         leaf verbose {
           type boolean;
         }
         leaf dpn-count {
           type uint32;
         }
         leaf is-config-ds {
           type boolean;
         }
         leaf flows-per-dpn {
           type uint32;
         }
         leaf start-table-id {
           type uint32;
         }
         leaf end-table-id {
           type uint32;
         }
       }
     }
     rpc flow-rpc-add-test {
       input input {
         leaf dpn-id {
           type string;
         }
         leaf flow-count {
           type uint32;
         }
         leaf rpc-batch-size {
           type uint32;
         }
       }
     }
     rpc flow-rpc-add-multiple {
       input input {
         leaf flow-count {
           type uint32;
         }
         leaf rpc-batch-size {
           type uint32;
         }
       }
     }
     rpc table-test {
       input input {
         leaf operation {
           type enumeration {
             enum add;
             enum delete;
           }
         }
         leaf dpn-count {
           type uint32;
         }
         leaf start-table-id {
           type uint32;
         }
         leaf end-table-id {
           type uint32;
         }
       }
     }
     
    • Method Detail

      • register

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RegisterOutput>> register​(RegisterInput input)
        Invoke register RPC.
             
                 register mbean etc. via rpc invocation.
             
         
        Parameters:
        input - of register
        Returns:
        output of register
      • addFlowsRpc

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowsRpcOutput>> addFlowsRpc​(AddFlowsRpcInput input)
        Invoke add-flows-rpc RPC.
             
                 Adding multiple flows to openflow device via direct rpc invocation.
             
         
        Parameters:
        input - of add-flows-rpc
        Returns:
        output of add-flows-rpc
      • removeFlowsRpc

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowsRpcOutput>> removeFlowsRpc​(RemoveFlowsRpcInput input)
        Invoke remove-flows-rpc RPC.
             
                 Removing multiple flows from openflow device via direct rpc invocation.
             
         
        Parameters:
        input - of remove-flows-rpc
        Returns:
        output of remove-flows-rpc
      • addFlowsDs

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowsDsOutput>> addFlowsDs​(AddFlowsDsInput input)
        Invoke add-flows-ds RPC.
             
                 Adding multiple flows to openflow device via dataStore.
             
         
        Parameters:
        input - of add-flows-ds
        Returns:
        output of add-flows-ds
      • removeFlowsDs

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowsDsOutput>> removeFlowsDs​(RemoveFlowsDsInput input)
        Invoke remove-flows-ds RPC.
             
                 Removing multiple flows from openflow device via dataStore.
             
         
        Parameters:
        input - of remove-flows-ds
        Returns:
        output of remove-flows-ds
      • flowTest

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<FlowTestOutput>> flowTest​(FlowTestInput input)
        Invoke flow-test RPC.
        Parameters:
        input - of flow-test
        Returns:
        output of flow-test
      • readFlowTest

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ReadFlowTestOutput>> readFlowTest​(ReadFlowTestInput input)
        Invoke read-flow-test RPC.
        Parameters:
        input - of read-flow-test
        Returns:
        output of read-flow-test
      • flowRpcAddTest

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<FlowRpcAddTestOutput>> flowRpcAddTest​(FlowRpcAddTestInput input)
        Invoke flow-rpc-add-test RPC.
        Parameters:
        input - of flow-rpc-add-test
        Returns:
        output of flow-rpc-add-test
      • flowRpcAddMultiple

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<FlowRpcAddMultipleOutput>> flowRpcAddMultiple​(FlowRpcAddMultipleInput input)
        Invoke flow-rpc-add-multiple RPC.
        Parameters:
        input - of flow-rpc-add-multiple
        Returns:
        output of flow-rpc-add-multiple
      • tableTest

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<TableTestOutput>> tableTest​(TableTestInput input)
        Invoke table-test RPC.
        Parameters:
        input - of table-test
        Returns:
        output of table-test