summaryrefslogtreecommitdiffstats
path: root/vnfs
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2016-01-11 17:56:45 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2016-01-22 16:48:12 +0000
commitb7865213f0942217ce8396d60f27ccac7f65cd07 (patch)
tree31008b4b8659a2d5296afd3e0ea3f8288b0186db /vnfs
parent4e48999bc6956dee6f9134b4ef26f34f578cdd80 (diff)
reporting: add vswitch, vnf and trafficgen version into the report
Final test report MD file should contain information about version of vswitch, vnf, VM loopback forwarding application and traffic generator used during the test. In case that component is cloned from GIT repository, then hash of its recent commit should be part of the report too. Change-Id: I4eb398bc95bc5030d0852d08bcf9febbf17640d4 JIRA: VSPERF-172 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Radek Zetik <radekx.zetik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Brian Castelli <brian.castelli@spirent.com> Reviewed-by: Tv Rao <tv.rao@freescale.com> (cherry picked from commit 6da6b66a1affe7a79180a49534602a02e7994c7f)
Diffstat (limited to 'vnfs')
-rw-r--r--vnfs/qemu/qemu.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/vnfs/qemu/qemu.py b/vnfs/qemu/qemu.py
index bf7b1a90..83eea679 100644
--- a/vnfs/qemu/qemu.py
+++ b/vnfs/qemu/qemu.py
@@ -1,4 +1,4 @@
-# Copyright 2015 Intel Corporation.
+# Copyright 2015-2016 Intel Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -200,7 +200,8 @@ class IVnfQemu(IVnf):
"""
# set guest loopback application based on VNF configuration
# cli option take precedence to config file values
- guest_loopback = get_test_param('guest_loopback', S.getValue('GUEST_LOOPBACK')[self._number])
+ guest_loopback = S.getValue('GUEST_LOOPBACK')[self._number]
+
if guest_loopback == 'testpmd':
self._login()
self._configure_testpmd()