aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/trex
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/trex')
-rwxr-xr-xresources/tools/trex/trex_installer.sh2
-rwxr-xr-xresources/tools/trex/trex_server_info.py2
-rwxr-xr-xresources/tools/trex/trex_stateless_profile.py2
-rwxr-xr-xresources/tools/trex/trex_stateless_stop.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/resources/tools/trex/trex_installer.sh b/resources/tools/trex/trex_installer.sh
index 1e9b4ba734..c0012a18cf 100755
--- a/resources/tools/trex/trex_installer.sh
+++ b/resources/tools/trex/trex_installer.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-TREX_VERSION="2.34"
+TREX_VERSION=$1
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 ff1350d306..e9de6f9413 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.34/scripts/automation/"+\
+sys.path.insert(0, "/opt/trex-core-2.35/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 311c85f5d8..c792f3eb48 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.34/scripts/automation/"
+sys.path.insert(0, "/opt/trex-core-2.35/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 67dd2d277e..778bd05e01 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.34/scripts/automation/"+\
+sys.path.insert(0, "/opt/trex-core-2.35/scripts/automation/"+\
"trex_control_plane/stl/")
from trex_stl_lib.api import *