yardstick env influxdb/grafana cmd support centos 33/37233/3
authorchenjiankun <chenjiankun1@huawei.com>
Wed, 12 Jul 2017 03:58:58 +0000 (03:58 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Wed, 19 Jul 2017 06:35:17 +0000 (06:35 +0000)
commitf49a1f22f8ba1bfa7a9942f7a9f084d2c9c81378
tree8ece32fa9f73547ed3c520ce9d47be755993a281
parent0832b64daeeae389db660d87c139e82c1c6593f8
yardstick env influxdb/grafana cmd support centos

JIRA: YARDSTICK-714

Currently yardstick env influxdb/grafana command do not support centos.
Because we use the gateway ip to get the service of influxdb and grafana.
But in centos, we can not access influxdb/grafana service via gateway ip.
In this patch, I use docker inspect to get the ip of influxdb and grafana.
So these command can support centos.

Change-Id: Ie4abcb8048b92d61bc62777dfc362bb29f354b2b
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
api/resources/v1/env.py
yardstick/benchmark/core/task.py
yardstick/common/constants.py
yardstick/common/utils.py