summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/00_common.conf3
-rwxr-xr-xvsperf5
2 files changed, 6 insertions, 2 deletions
diff --git a/conf/00_common.conf b/conf/00_common.conf
index a846fb55..9b71fda0 100644
--- a/conf/00_common.conf
+++ b/conf/00_common.conf
@@ -131,6 +131,9 @@ CUMULATIVE_PARAMS = False
# For example: 'throughput_rx_mbps', 'throughput_rx_fps', 'avg_latency_ns'
MATRIX_METRIC = 'throughput_rx_fps'
+# OPNFVPOD specification.
+OPNFVPOD = ''
+
# ############################
# Modules
# ############################
diff --git a/vsperf b/vsperf
index 003ca88b..1c72a708 100755
--- a/vsperf
+++ b/vsperf
@@ -896,8 +896,9 @@ def main():
output=settings.getValue('XUNIT_DIR'), outsuffix="",
verbosity=0).run(suite)
- if args['opnfvpod']:
- pod_name = args['opnfvpod']
+ if args['opnfvpod'] or settings.getValue('OPNFVPOD'):
+ pod_name = (args['opnfvpod'] if args['opnfvpod'] else
+ settings.getValue('OPNFVPOD'))
installer_name = str(settings.getValue('OPNFV_INSTALLER')).lower()
opnfv_url = settings.getValue('OPNFV_URL')
pkg_list = settings.getValue('PACKAGE_LIST')