From cab391ccb85ac4f1279bfa341f5390e08c7d82cd Mon Sep 17 00:00:00 2001 From: "Sridhar K. N. Rao" Date: Mon, 27 May 2019 19:23:26 +0530 Subject: 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 --- tools/pkt_gen/testcenter/testcenter.py | 6 ++++-- 1 file 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") -- cgit 1.2.3-korg