Code Review
/
vswitchperf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0f6f846
)
Fix for multi-stream configuration
45/33345/1
author
Marco Varlese
<marco.varlese@suse.com>
Thu, 13 Apr 2017 14:00:23 +0000
(16:00 +0200)
committer
Marco Varlese
<marco.varlese@suse.com>
Thu, 13 Apr 2017 14:01:38 +0000
(16:01 +0200)
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>
tools/pkt_gen/moongen/moongen.py
patch
|
blob
|
history
diff --git
a/tools/pkt_gen/moongen/moongen.py
b/tools/pkt_gen/moongen/moongen.py
index
9d604db
..
570720e
100644
(file)
--- 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")