summaryrefslogtreecommitdiffstats
path: root/tools/pkt_gen/moongen/moongen.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pkt_gen/moongen/moongen.py')
-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")