Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
T-REX fixes
[csit.git]
/
resources
/
libraries
/
python
/
TrafficGenerator.py
diff --git
a/resources/libraries/python/TrafficGenerator.py
b/resources/libraries/python/TrafficGenerator.py
index
2037d49
..
bc9678b
100644
(file)
--- a/
resources/libraries/python/TrafficGenerator.py
+++ b/
resources/libraries/python/TrafficGenerator.py
@@
-51,13
+51,14
@@
class TrafficGenerator(object):
ssh.connect(node)
(ret, stdout, stderr) = ssh.exec_command(
ssh.connect(node)
(ret, stdout, stderr) = ssh.exec_command(
- "sh -c 'cd {0}/scripts/ &&
sudo modprobe uio &&
"
- "sudo
insmod ./ko/src/igb_uio.ko
'"\
+ "sh -c 'cd {0}/scripts/ && "
+ "sudo
./trex-cfg
'"\
.format(trex_path))
(ret, stdout, stderr) = ssh.exec_command(
"sh -c 'cd {0}/scripts/ && "
.format(trex_path))
(ret, stdout, stderr) = ssh.exec_command(
"sh -c 'cd {0}/scripts/ && "
- "sudo nohup ./t-rex-64 -i -c 4 --iom 0 > /dev/null 2>&1 &'"\
+ "sudo nohup ./t-rex-64 -i -c 4 --iom 0 > /dev/null 2>&1 &'"
+ "> /dev/null"\
.format(trex_path))
@staticmethod
.format(trex_path))
@staticmethod