aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/t-rex-installer.sh
diff options
context:
space:
mode:
authorMiroslav Miklus <mmiklus@cisco.com>2016-02-11 15:18:12 +0100
committerGerrit Code Review <gerrit@fd.io>2016-02-17 14:46:28 +0000
commitda23519d72dc9415b112f7bab1fd3617750fa79e (patch)
treec16c9503f5e24c26e87d82dbba48ebb28a1b393e /resources/tools/t-rex-installer.sh
parentaf2c77acfa337228ea3c4c5f2140f39124ec2ab9 (diff)
LF testbed2 topology, T-REX upgrade, vpe->vpp rename
Testing testbed2 infrastructure T-REX upgrade 1.88 -> 1.91 Rename "vpe" to "vpp" Change-Id: Ia03c363e2b3c77a4e469509460b25028e5e1814f Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'resources/tools/t-rex-installer.sh')
-rwxr-xr-xresources/tools/t-rex-installer.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/tools/t-rex-installer.sh b/resources/tools/t-rex-installer.sh
index 28d4ecb69d..bc36774f37 100755
--- a/resources/tools/t-rex-installer.sh
+++ b/resources/tools/t-rex-installer.sh
@@ -1,10 +1,12 @@
#!/bin/sh
+TREX_VERSION="1.91"
+
TREX_DOWNLOAD_REPO="https://github.com/cisco-system-traffic-generator/trex-core/archive/"
-TREX_DOWNLOAD_PACKAGE="v1.88.zip"
+TREX_DOWNLOAD_PACKAGE="v${TREX_VERSION}.zip"
TREX_PACKAGE_URL="${TREX_DOWNLOAD_REPO}${TREX_DOWNLOAD_PACKAGE}"
TARGET_DIR="/opt/"
-TREX_DIR="trex-core-1.88/"
+TREX_DIR="trex-core-${TREX_VERSION}/"
TREX_INSTALL_DIR="${TARGET_DIR}${TREX_DIR}"
if test "$(id -u)" -ne 0