summaryrefslogtreecommitdiffstats
path: root/tools/pkt_gen/testcenter
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2019-05-27 19:23:26 +0530
committerSridhar K. N. Rao <sridhar.rao@spirent.com>2019-05-27 19:55:15 +0530
commitcab391ccb85ac4f1279bfa341f5390e08c7d82cd (patch)
tree427f2a4e6a79c07d8eb7f06e1c6dd104207e042c /tools/pkt_gen/testcenter
parent589639d313c24104b2a27ef16baf716d1d274108 (diff)
pkt_gen: Bug-fix in Spirent testcenter parameter ordering.
This patch provides a fix to parameter ordering for imix and live results. 2 line changes. JIRA: VSPERF-598 Change-Id: I329b67114d780e0bcc73b128aeafe6e0f25b0621 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
Diffstat (limited to 'tools/pkt_gen/testcenter')
-rw-r--r--tools/pkt_gen/testcenter/testcenter.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/pkt_gen/testcenter/testcenter.py b/tools/pkt_gen/testcenter/testcenter.py
index f01069e2..73967bae 100644
--- a/tools/pkt_gen/testcenter/testcenter.py
+++ b/tools/pkt_gen/testcenter/testcenter.py
@@ -436,11 +436,13 @@ class TestCenter(trafficgen.ITrafficGenerator):
if traffic['imix']['enabled']:
if traffic['imix']['type'] == 'genome':
genome = traffic['imix']['genome']
- args.append('--imix' + ' ' + genome)
+ args.append('--imix')
+ args.append(genome)
if settings.getValue("TRAFFICGEN_STC_LIVE_RESULTS") == "True":
args.append('--live_results')
- args.append('--logfile' + ' ' + self._liveresults_file)
+ args.append('--logfile')
+ args.append(self._liveresults_file)
if settings.getValue("TRAFFICGEN_STC_VERBOSE") == "True":
args.append("--verbose")