Bug-4234 - Add count field to cars stress-test RPC. 12/26412/3
authorShaleen Saxena <ssaxena@brocade.com>
Wed, 2 Sep 2015 17:19:51 +0000 (13:19 -0400)
committerShaleen Saxena <ssaxena@brocade.com>
Wed, 2 Sep 2015 19:27:04 +0000 (15:27 -0400)
commit3abc8b4d3379109bd12aadbc01c0b134cbd268c5
tree00e6b0cdabf2109296becc8b13580058b428cd44
parent8c3896a99a221d3411f88f3a53c7d9fe6b89734e
Bug-4234 - Add count field to cars stress-test RPC.

Added a 'count' field to cars stress-test RPC. The test will stop
after the 'count' cars have been created. If count is zero, then
stress-test will continue till stop-stress-test rpc is given.

Also added some null checks for missing input fields. If rate is
zero, then an error is returned.

Change-Id: Id313f9094e8ca887993e4e8911d0a86b64db7303
Signed-off-by: Shaleen Saxena <ssaxena@brocade.com>
opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/car.yang
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/CarProvider.java