aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2016-06-03 08:00:59 +0100
committerpmikus <pmikus@cisco.com>2016-06-03 15:52:20 +0100
commitb7b9a6f73347fba29060f3c2a2abfc4ea411de68 (patch)
treee4beb246250f1bd0076b5abbec8117713e62dffe /resources/libraries/python
parent986a656c8ab1581a14a94d3dadf7bb7fc87764e5 (diff)
PATCH: Revert to T-rex version to v2.00
- Revert T-rex version to v2.00 without installation from robot Change-Id: I8d0c5fb57f01febc970d9fc9363965acd2e57ed4 Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/TrafficGenerator.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py
index 3f5cbe6675..ddd0ff3577 100644
--- a/resources/libraries/python/TrafficGenerator.py
+++ b/resources/libraries/python/TrafficGenerator.py
@@ -139,18 +139,18 @@ class TrafficGenerator(object):
self._node = tg_node
if tg_node['subtype'] == NodeSubTypeTG.TREX:
- trex_path = "/opt/trex-core-2.03"
+ trex_path = "/opt/trex-core-2.00"
ssh = SSH()
ssh.connect(tg_node)
- (ret, stdout, stderr) = ssh.exec_command(
- "sudo sh -c '/tmp/openvpp-testing/resources/tools/t-rex/"
- "t-rex-installer.sh'", timeout=300)
- if int(ret) != 0:
- logger.error('trex installation failed: {0}'.format(
- stdout + stderr))
- raise RuntimeError('Installation of TG failed')
+# (ret, stdout, stderr) = ssh.exec_command(
+# "sudo sh -c '/tmp/openvpp-testing/resources/tools/t-rex/"
+# "t-rex-installer.sh'", timeout=600)
+# if int(ret) != 0:
+# logger.error('trex installation failed: {0}'.format(
+# stdout + stderr))
+# raise RuntimeError('Installation of TG failed')
if1_pci = topo.get_interface_pci_addr(tg_node, tg_if1)
if2_pci = topo.get_interface_pci_addr(tg_node, tg_if2)