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>
(cherry picked from commit
3abc8b4d3379109bd12aadbc01c0b134cbd268c5)