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

      • testStatus

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<TestStatusOutput>> testStatus​(TestStatusInput input)
        Invoke test-status RPC.
             
                 Get test status
             
         
        Parameters:
        input - of test-status
        Returns:
        output of test-status
      • startTest

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<StartTestOutput>> startTest​(StartTestInput input)
        Invoke start-test RPC.
             
                 Start a new RPC Benchmark test
             
         
        Parameters:
        input - of start-test
        Returns:
        output of start-test