yardstick env influxdb/grafana cmd support centos 83/37483/4
authorchenjiankun <chenjiankun1@huawei.com>
Fri, 14 Jul 2017 08:26:53 +0000 (08:26 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Fri, 14 Jul 2017 08:58:05 +0000 (08:58 +0000)
commitcce6fa7f1bca039bedc7484aff6f7862d9074053
treec82b60efeaebc372cb7c3accd1f7eef57fc15113
parent961de9447288c431a47a42a31a70df23ccc726eb
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: I4599cbbd0fe43de9cf08e5d9e74d31edbb742998
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
api/resources/env_action.py
yardstick/common/constants.py
yardstick/common/utils.py