All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.DataRoot<RpcbenchmarkData>

@Generated("mdsal-binding-generator") public interface RpcbenchmarkData extends org.opendaylight.yangtools.binding.DataRoot<RpcbenchmarkData>
Copyright © 2015, 2018 Cisco Systems, Inc. and others. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html

This class represents the following YANG schema fragment defined in module rpcbenchmark

 module rpcbenchmark {
   yang-version 1;
   namespace urn:opendaylight:params:xml:ns:yang:rpcbenchmark;
   prefix rpcbenchmark;
   revision 2015-07-02 {
   }
   rpc 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 Details

    • implementedInterface

      default Class<RpcbenchmarkData> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.DataRoot<RpcbenchmarkData>