From 4efd01a4e2c5995d53d86f4da7c7e64a603f719b Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Thu, 24 Aug 2017 09:02:47 +0200 Subject: [PATCH] Update T-rex to v2.28 Change-Id: I506589c3785eec3a2eaa9fdb32bfc3375388d6f4 Signed-off-by: Peter Mikus --- resources/libraries/python/TrafficGenerator.py | 2 +- resources/tools/trex/trex_installer.sh | 2 +- resources/tools/trex/trex_server_info.py | 2 +- resources/tools/trex/trex_stateless_profile.py | 2 +- resources/tools/trex/trex_stateless_stop.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py index ca63efef56..922ec868ea 100644 --- a/resources/libraries/python/TrafficGenerator.py +++ b/resources/libraries/python/TrafficGenerator.py @@ -184,7 +184,7 @@ class TrafficGenerator(object): self._node = tg_node if tg_node['subtype'] == NodeSubTypeTG.TREX: - trex_path = "/opt/trex-core-2.25" + trex_path = "/opt/trex-core-2.28" ssh = SSH() ssh.connect(tg_node) diff --git a/resources/tools/trex/trex_installer.sh b/resources/tools/trex/trex_installer.sh index 13891f14a1..86c5c9b00e 100755 --- a/resources/tools/trex/trex_installer.sh +++ b/resources/tools/trex/trex_installer.sh @@ -1,6 +1,6 @@ #!/bin/sh -TREX_VERSION="2.25" +TREX_VERSION="2.28" 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/trex/trex_server_info.py b/resources/tools/trex/trex_server_info.py index ac7c7a5427..188b7aeb16 100755 --- a/resources/tools/trex/trex_server_info.py +++ b/resources/tools/trex/trex_server_info.py @@ -28,7 +28,7 @@ Functionality: import sys -sys.path.insert(0, "/opt/trex-core-2.25/scripts/automation/"+\ +sys.path.insert(0, "/opt/trex-core-2.28/scripts/automation/"+\ "trex_control_plane/stl/") from trex_stl_lib.api import * diff --git a/resources/tools/trex/trex_stateless_profile.py b/resources/tools/trex/trex_stateless_profile.py index 0bbd241f8b..1701babcb1 100755 --- a/resources/tools/trex/trex_stateless_profile.py +++ b/resources/tools/trex/trex_stateless_profile.py @@ -22,7 +22,7 @@ import sys import argparse import json -sys.path.insert(0, "/opt/trex-core-2.25/scripts/automation/" +sys.path.insert(0, "/opt/trex-core-2.28/scripts/automation/" "trex_control_plane/stl/") from trex_stl_lib.api import * diff --git a/resources/tools/trex/trex_stateless_stop.py b/resources/tools/trex/trex_stateless_stop.py index cc008461e6..9dffa2a161 100755 --- a/resources/tools/trex/trex_stateless_stop.py +++ b/resources/tools/trex/trex_stateless_stop.py @@ -29,7 +29,7 @@ Functionality: import sys import json -sys.path.insert(0, "/opt/trex-core-2.25/scripts/automation/"+\ +sys.path.insert(0, "/opt/trex-core-2.28/scripts/automation/"+\ "trex_control_plane/stl/") from trex_stl_lib.api import * -- 2.16.6