summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xci/prepare_env.sh4
-rw-r--r--yardstick/dispatcher/http.py2
-rw-r--r--yardstick/dispatcher/influxdb.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/ci/prepare_env.sh b/ci/prepare_env.sh
index c00c07943..a51938c80 100755
--- a/ci/prepare_env.sh
+++ b/ci/prepare_env.sh
@@ -13,7 +13,7 @@
: ${INSTALLER_TYPE:='fuel'}
: ${INSTALLER_IP:='10.20.0.2'}
-: ${POD_NAME:='opnfv-jump-2'}
+: ${NODE_NAME:='opnfv-jump-2'}
: ${EXTERNAL_NETWORK:='net04_ext'}
# Extract network name from EXTERNAL_NETWORK
@@ -32,4 +32,4 @@ if [ ! -f $OPENRC ]; then
fi
source $OPENRC
-export EXTERNAL_NETWORK INSTALLER_TYPE POD_NAME
+export EXTERNAL_NETWORK INSTALLER_TYPE NODE_NAME
diff --git a/yardstick/dispatcher/http.py b/yardstick/dispatcher/http.py
index 90238adf3..f84ad0970 100644
--- a/yardstick/dispatcher/http.py
+++ b/yardstick/dispatcher/http.py
@@ -49,7 +49,7 @@ class HttpDispatcher(DispatchBase):
self.result = {
"project_name": "yardstick",
"description": "yardstick test cases result",
- "pod_name": os.environ.get('POD_NAME', 'unknown'),
+ "pod_name": os.environ.get('NODE_NAME', 'unknown'),
"installer": os.environ.get('INSTALLER_TYPE', 'unknown'),
"version": os.environ.get('YARDSTICK_VERSION', 'unknown')
}
diff --git a/yardstick/dispatcher/influxdb.py b/yardstick/dispatcher/influxdb.py
index f61912d72..efa566904 100644
--- a/yardstick/dispatcher/influxdb.py
+++ b/yardstick/dispatcher/influxdb.py
@@ -65,7 +65,7 @@ class InfluxdbDispatcher(DispatchBase):
self.task_id = -1
self.runners_info = {}
self.static_tags = {
- "pod_name": os.environ.get('POD_NAME', 'unknown'),
+ "pod_name": os.environ.get('NODE_NAME', 'unknown'),
"installer": os.environ.get('INSTALLER_TYPE', 'unknown'),
"version": os.environ.get('YARDSTICK_VERSION', 'unknown')
}