From 26ec31cb51f6c7fb9ef89cc437b69167be98b4bf Mon Sep 17 00:00:00 2001 From: Marco Varlese Date: Thu, 13 Apr 2017 16:00:23 +0200 Subject: 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 --- tools/pkt_gen/moongen/moongen.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/pkt_gen') 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") -- cgit 1.2.3-korg