Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Improve test tag string parsing
[csit.git]
/
resources
/
libraries
/
python
/
TrafficGenerator.py
diff --git
a/resources/libraries/python/TrafficGenerator.py
b/resources/libraries/python/TrafficGenerator.py
index
751dc88
..
8c3abfb
100644
(file)
--- a/
resources/libraries/python/TrafficGenerator.py
+++ b/
resources/libraries/python/TrafficGenerator.py
@@
-330,8
+330,8
@@
class TrafficGenerator(AbstractMeasurer):
# Start TRex.
cmd = ("sh -c 'cd {dir}/scripts/ && "
# Start TRex.
cmd = ("sh -c 'cd {dir}/scripts/ && "
- "nohup ./t-rex-64 --hdrh{mode} -
i -c 7 >
"
- "/tmp/trex.log 2>&1 &' > /dev/null"
+ "nohup ./t-rex-64 --hdrh{mode} -
-prefix $(hostname)
"
+ "
-i -c 7 >
/tmp/trex.log 2>&1 &' > /dev/null"
.format(dir=Constants.TREX_INSTALL_DIR,
mode=' --astf' if osi_layer == 'L7' else ''))
try:
.format(dir=Constants.TREX_INSTALL_DIR,
mode=' --astf' if osi_layer == 'L7' else ''))
try: