aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pkt_gen/moongen
diff options
context:
space:
mode:
authorMarco Varlese <marco.varlese@suse.com>2017-04-13 16:00:23 +0200
committerMarco Varlese <marco.varlese@suse.com>2017-04-13 16:01:38 +0200
commit26ec31cb51f6c7fb9ef89cc437b69167be98b4bf (patch)
tree0542c86dd93e3464dcb3a9d14a0e769d760f68f5 /tools/pkt_gen/moongen
parent0f6f846cfb0f38f16baf1192e3f3dc5effb517bb (diff)
Fix for multi-stream configuration
The multistream configuration is not passed to the remote host where the traffic generator (MoonGen) runs. Change-Id: I3e9862553b5b064272f3bfffb788c06ebd3740ca Signed-off-by: Marco Varlese <marco.varlese@suse.com>
Diffstat (limited to 'tools/pkt_gen/moongen')
-rw-r--r--tools/pkt_gen/moongen/moongen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/pkt_gen/moongen/moongen.py b/tools/pkt_gen/moongen/moongen.py
index 9d604db2..570720e8 100644
--- a/tools/pkt_gen/moongen/moongen.py
+++ b/tools/pkt_gen/moongen/moongen.py
@@ -114,6 +114,9 @@ class Moongen(ITrafficGenerator):
out_file.write("testType = \"throughput\",\n")
+ out_file.write("nrFlows = " + \
+ str(traffic['multistream']) + ",\n")
+
out_file.write("runBidirec = " + \
traffic['bidir'].lower() + ",\n")