Interface NtfbenchmarkService
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.RpcService
@Generated("mdsal-binding-generator") public interface NtfbenchmarkService extends org.opendaylight.yangtools.yang.binding.RpcService
Interface for implementing the following YANG RPCs defined in module ntfbenchmarkrpc test-status { output output { leaf execStatus { type enumeration { enum idle { value 1; } enum executing { value 2; } } } leaf ntf-cnt { type uint32; default 0; } } } rpc start-test { input input { leaf producer-type { type enumeration { enum BLOCKING { value 1; } enum DROPPING { value 2; } } } leaf producers { type uint32; default 1; } leaf listeners { type uint32; default 1; } leaf payload-size { type uint32; default 1; } leaf iterations { type uint32; default 1; } } output output { leaf listener-ok { type uint32; default 0; } leaf producer-ok { type uint32; default 0; } leaf producer-error { type uint32; default 0; } leaf producer-elapsed-time { type uint32; default 0; } leaf listener-elapsed-time { type uint32; default 0; } leaf producer-rate { type uint32; default 0; } leaf listener-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- Parameters:
input- ofstart-test- Returns:
- output of
start-test
-
-