metrics baseline in compute-baseline.json 61/35561/4
authorzhihui wu <wu.zhihui1@zte.com.cn>
Wed, 31 May 2017 02:42:23 +0000 (10:42 +0800)
committerzhihui wu <wu.zhihui1@zte.com.cn>
Thu, 1 Jun 2017 01:44:57 +0000 (09:44 +0800)
commit70d8b5c5dbe78d0adb9cdb80afc93e7eb9ac4ca1
tree8ca298cd6ed050eb74915caf9a08117c00e11111
parenta2fbfdbdea5ad9c2b36d195d0dbff43263304f5a
metrics baseline in compute-baseline.json

- Previously, metrics baseline are defined in the spec file.
In this patch, move metrics baseline to compute-baseline.json.
- you can get qpi based with baseline file given in calculate.yml
- you can generate a customized baseline file when baseline file is
not given in calculate.yml

And baseline will be removed from the spec file.

Change-Id: I123d28e28543cb153b60120b5076306fa2fa3873
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
qtip/ansible_library/plugins/action/calculate.py
requirements.txt
resources/ansible_roles/qtip/tasks/calculate.yml
tests/unit/ansible_library/plugins/action/calculate_test.py