Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Ansible: Trex installation
[csit.git]
/
resources
/
libraries
/
python
/
TrafficGenerator.py
diff --git
a/resources/libraries/python/TrafficGenerator.py
b/resources/libraries/python/TrafficGenerator.py
index
d630c7b
..
f2fac25
100644
(file)
--- a/
resources/libraries/python/TrafficGenerator.py
+++ b/
resources/libraries/python/TrafficGenerator.py
@@
-224,13
+224,6
@@
class TrafficGenerator(AbstractMeasurer):
if subtype == NodeSubTypeTG.TREX:
self._node = tg_node
if subtype == NodeSubTypeTG.TREX:
self._node = tg_node
- exec_cmd_no_error(
- self._node,
- "sh -c '{0}/resources/tools/trex/"
- "trex_installer.sh {1}'".format(Constants.REMOTE_FW_DIR,
- Constants.TREX_INSTALL_VERSION),
- sudo=True, timeout=1800, message='TRex installation failed.')
-
if1_pci = Topology().get_interface_pci_addr(self._node, tg_if1)
if2_pci = Topology().get_interface_pci_addr(self._node, tg_if2)
if1_addr = Topology().get_interface_mac(self._node, tg_if1)
if1_pci = Topology().get_interface_pci_addr(self._node, tg_if1)
if2_pci = Topology().get_interface_pci_addr(self._node, tg_if2)
if1_addr = Topology().get_interface_mac(self._node, tg_if1)