Interface RpcbenchmarkService
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.RpcService
@Generated("mdsal-binding-generator") public interface RpcbenchmarkService extends org.opendaylight.yangtools.yang.binding.RpcService
Interface for implementing the following YANG RPCs defined in module rpcbenchmarkrpc test-status { output output { leaf execStatus { type enumeration { enum idle { value 1; } enum executing { value 2; } } } leaf global-server-cnt { type uint32; default 0; } } } rpc start-test { input input { leaf operation { type enumeration { enum GLOBAL-RTC { value 1; } enum ROUTED-RTC { value 2; } } } leaf num-clients { type uint32; default 1; } leaf num-servers { type uint32; default 1; } leaf payload-size { type uint32; default 1; } leaf iterations { type uint32; default 1; } } output output { leaf global-rtc-client-ok { type uint32; default 0; } leaf global-rtc-client-error { type uint32; default 0; } leaf exec-time { type uint32; default 0; } leaf rate { type uint32; default 0; } } }
-
-
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<StartTestOutput>>startTest(StartTestInput input)Invokestart-testRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<TestStatusOutput>>testStatus(TestStatusInput input)Invoketest-statusRPC.
-
-
-
Method Detail
-
testStatus
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<TestStatusOutput>> testStatus(TestStatusInput input)
Invoketest-statusRPC.Get test status- Parameters:
input- oftest-status- Returns:
- output of
test-status
-
startTest
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<StartTestOutput>> startTest(StartTestInput input)
Invokestart-testRPC.Start a new RPC Benchmark test run- Parameters:
input- ofstart-test- Returns:
- output of
start-test
-
-