summaryrefslogtreecommitdiffstats
path: root/vsperf
diff options
context:
space:
mode:
authorRadek Zetik <radekx.zetik@intel.com>2015-12-09 12:59:36 +0000
committerMaryam Tahhan <maryam.tahhan@intel.com>2015-12-14 15:51:47 +0000
commit66c0d987430787f33b936b31b120356f33270f58 (patch)
treec20f239eebc0e905ecbcfca398651e9679b9a9c4 /vsperf
parentb7a3cb6b74850ef71fbbeacbee63df791caba626 (diff)
Results: Integrate with opnfv_test_dashboard
The feature is enabled by --opnfvpod parameter on vsperf command line. The value of the parameter sets POD name: example: --opnfvpod <pod_name> or --opnfvpod=<pod_name> You need to specify installer name. It can be set in conf-file default value: OPNFV_INSTALLER = "Fuel" Additionally, there are two parameters with default values: OPNFV_URL = "http://213.77.62.197" Defines address of opnfv releng database server PACKAGE_LIST = "src/package-list.mk" OVS and DPDK tags are read from this file and values are used for creation of 'version' filed. The patch requires 'requests' module. The requirements.txt is updated. JIRA: VSPERF-112 Change-Id: I49f6f5058b1bce8a257669efa8229ff31879481d Signed-off-by: Radek Zetik <radekx.zetik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Diffstat (limited to 'vsperf')
-rwxr-xr-xvsperf6
1 files changed, 5 insertions, 1 deletions
diff --git a/vsperf b/vsperf
index 2f85fba5..62c905c3 100755
--- a/vsperf
+++ b/vsperf
@@ -448,11 +448,15 @@ def main():
if args['opnfvpod']:
pod_name = args['opnfvpod']
installer_name = settings.getValue('OPNFV_INSTALLER')
+ opnfv_url = settings.getValue('OPNFV_URL')
+ pkg_list = settings.getValue('PACKAGE_LIST')
int_data = {'cuse': False,
'vanilla': False,
'pod': pod_name,
- 'installer': installer_name}
+ 'installer': installer_name,
+ 'pkg_list': pkg_list,
+ 'db_url': opnfv_url}
if settings.getValue('VSWITCH').endswith('Vanilla'):
int_data['vanilla'] = True
if settings.getValue('VNF').endswith('Cuse'):