Add task call entry in cli for REST API 89/23089/3
authorchenjiankun <chenjiankun1@huawei.com>
Thu, 13 Oct 2016 09:23:22 +0000 (09:23 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Wed, 9 Nov 2016 01:15:38 +0000 (01:15 +0000)
commit1873da9a908a50fe70a074731e3643297b6eab6d
treef4af82572d0759646ee91c126816917c67466f9d
parente80a6484956de102d14b2b42349ac1e90510cd82
Add task call entry in cli for REST API

JIRA: YARDSTICK-368

This is to add api entry for api, the way to use cli will not be changed
The command line will use main method, and the api will use api method
The **kwargs in do_start will receive the args from api entry

Change-Id: Ic487344436f4596cd2efd70e008c8ea862778f2e
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
yardstick/cmd/cli.py
yardstick/cmd/commands/task.py