From 5460988e99fddda2dd2d5a58e4b8a92851d3c427 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Fri, 20 May 2016 09:31:07 +0200 Subject: [PATCH] Update T-rex version to v2.02 - JIRA: CSIT-99 - Update T-rex version to v2.02 with stability fixed and to be able to measure latency Change-Id: Ic014c81c5889dbb738f1f3f279138a73dffb01f3 Signed-off-by: Peter Mikus --- resources/libraries/python/TrafficGenerator.py | 2 +- resources/tools/t-rex/t-rex-installer.sh | 2 +- resources/tools/t-rex/t-rex-stateless-stop.py | 2 +- resources/tools/t-rex/t-rex-stateless.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py index 5dab8b98d5..267f5d2f03 100644 --- a/resources/libraries/python/TrafficGenerator.py +++ b/resources/libraries/python/TrafficGenerator.py @@ -132,7 +132,7 @@ class TrafficGenerator(object): :return: nothing """ - trex_path = "/opt/trex-core-2.00" + trex_path = "/opt/trex-core-2.02" topo = Topology() diff --git a/resources/tools/t-rex/t-rex-installer.sh b/resources/tools/t-rex/t-rex-installer.sh index 590867abe8..b7e9261106 100755 --- a/resources/tools/t-rex/t-rex-installer.sh +++ b/resources/tools/t-rex/t-rex-installer.sh @@ -1,6 +1,6 @@ #!/bin/sh -TREX_VERSION="2.00" +TREX_VERSION="2.02" TREX_DOWNLOAD_REPO="https://github.com/cisco-system-traffic-generator/trex-core/archive/" TREX_DOWNLOAD_PACKAGE="v${TREX_VERSION}.zip" diff --git a/resources/tools/t-rex/t-rex-stateless-stop.py b/resources/tools/t-rex/t-rex-stateless-stop.py index e9accbe3ab..ed5ed7f590 100755 --- a/resources/tools/t-rex/t-rex-stateless-stop.py +++ b/resources/tools/t-rex/t-rex-stateless-stop.py @@ -28,7 +28,7 @@ Functionality: import sys -sys.path.insert(0, "/opt/trex-core-2.00/scripts/automation/"+\ +sys.path.insert(0, "/opt/trex-core-2.02/scripts/automation/"+\ "trex_control_plane/stl/") from trex_stl_lib.api import * diff --git a/resources/tools/t-rex/t-rex-stateless.py b/resources/tools/t-rex/t-rex-stateless.py index 5a03273339..c68e2c4f48 100755 --- a/resources/tools/t-rex/t-rex-stateless.py +++ b/resources/tools/t-rex/t-rex-stateless.py @@ -48,7 +48,7 @@ import string import struct import sys -sys.path.insert(0, "/opt/trex-core-2.00/scripts/automation/"+\ +sys.path.insert(0, "/opt/trex-core-2.02/scripts/automation/"+\ "trex_control_plane/stl/") from trex_stl_lib.api import * -- 2.16.6