diff options
author | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2019-08-28 09:15:48 +0530 |
---|---|---|
committer | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2019-08-28 20:00:57 +0530 |
commit | c98c9f6f3fd7706367e06f36f1e9cfd0c64c4c21 (patch) | |
tree | d872925e398f47a4dbc843dfdfe2702a0e333e2a | |
parent | 391e5ceb8958eff1f108cc2d589dd3a11c7c48a2 (diff) |
VSPERF: Enable results publishing through config-file.
This patch enables the publising of results to TestAPI via config-file.
Initial OPNFVPOD to empty string in 00_common.conf
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
Change-Id: I5ca03d094b075c6b5ab5d656421aff506ce4b273
-rw-r--r-- | conf/00_common.conf | 3 | ||||
-rwxr-xr-x | vsperf | 5 |
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 # ############################ @@ -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') |