X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsamples%2Fclustering-test-app%2Fmodel%2Fsrc%2Fmain%2Fyang%2Fcar.yang;h=eb02be7f0f1220c725346210d285aafa192a9ef8;hp=d9cfb6b1d5872f79a695410cf52d100fd6094e70;hb=a24dce8bd21fdf3452086e307d2b4ecaafb73e42;hpb=28b6378c12b00eb9110e87a15d6a829c33945c66 diff --git a/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/car.yang b/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/car.yang index d9cfb6b1d5..eb02be7f0f 100644 --- a/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/car.yang +++ b/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/car.yang @@ -59,6 +59,22 @@ module car { uses car-entry; } } + + rpc stress-test { + input { + leaf rate { + type uint16; + } + leaf count { + type uint16; + default 0; + description "Number of cars to create. Zero implies unlimited cars; use + stop-stress-test rpc to stop the test."; + } + } + } + rpc stop-stress-test { + } } \ No newline at end of file