From: Marco Varlese Date: Thu, 13 Apr 2017 14:00:23 +0000 (+0200) Subject: Fix for multi-stream configuration X-Git-Tag: opnfv-5.0.RC1~51 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=26ec31cb51f6c7fb9ef89cc437b69167be98b4bf;p=vswitchperf.git 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 --- 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")