Interface SalBulkFlowService

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

    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)
        register mbean etc. via rpc invocation.
      • addFlowsRpc

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowsRpcOutput>> addFlowsRpc​(AddFlowsRpcInput input)
        Adding multiple flows to openflow device via direct rpc invocation.
      • removeFlowsRpc

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowsRpcOutput>> removeFlowsRpc​(RemoveFlowsRpcInput input)
        Removing multiple flows from openflow device via direct rpc invocation.
      • addFlowsDs

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowsDsOutput>> addFlowsDs​(AddFlowsDsInput input)
        Adding multiple flows to openflow device via dataStore.
      • removeFlowsDs

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowsDsOutput>> removeFlowsDs​(RemoveFlowsDsInput input)
        Removing multiple flows from openflow device via dataStore.
      • flowTest

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<FlowTestOutput>> flowTest​(FlowTestInput input)
      • readFlowTest

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ReadFlowTestOutput>> readFlowTest​(ReadFlowTestInput input)
      • flowRpcAddTest

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<FlowRpcAddTestOutput>> flowRpcAddTest​(FlowRpcAddTestInput input)
      • tableTest

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<TableTestOutput>> tableTest​(TableTestInput input)