dovetail tool: Add an option cmd for pushing results into DB 23/31323/4
authorxudan <xudan16@huawei.com>
Wed, 22 Mar 2017 07:51:37 +0000 (07:51 +0000)
committerxudan <xudan16@huawei.com>
Sat, 25 Mar 2017 08:59:53 +0000 (08:59 +0000)
commit223806ad2a5d60c9909f32f35b8cea16bf703a69
treedfcd9c27f2876c3b185a5afb2266ca78e0e155d8
parent02d44a030687100d0ebf68d1645536536d42cbb9
dovetail tool: Add an option cmd for pushing results into DB

JIRA: DOVETAIL-373

1. add an option --report/-r to choose the report type.
2. "-r file" will store results with files.
3. "-r http://192.168.135.2:8000/api/v1" will push results into DB.
   The DB url can replaced by user's local DB or official DB.
4. Default report type is defined as "report_dest" in dovetail_config.yml.
5. Yardstick can't push results of one testcase into DB now, so both "-r file"
   and "-r http://..." will be regarded as "file".

Change-Id: Ieaa017ab59c5b15235bf306ef57cdc56beb22af8
Signed-off-by: xudan <xudan16@huawei.com>
dovetail/conf/cmd_config.yml
dovetail/conf/dovetail_config.yml
dovetail/conf/functest_config.yml
dovetail/conf/yardstick_config.yml
dovetail/container.py
dovetail/report.py
dovetail/run.py