Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
LF testbed2 topology, T-REX upgrade, vpe->vpp rename
[csit.git]
/
resources
/
tools
/
t-rex-installer.sh
diff --git
a/resources/tools/t-rex-installer.sh
b/resources/tools/t-rex-installer.sh
index
28d4ecb
..
bc36774
100755
(executable)
--- a/
resources/tools/t-rex-installer.sh
+++ b/
resources/tools/t-rex-installer.sh
@@
-1,10
+1,12
@@
#!/bin/sh
#!/bin/sh
+TREX_VERSION="1.91"
+
TREX_DOWNLOAD_REPO="https://github.com/cisco-system-traffic-generator/trex-core/archive/"
TREX_DOWNLOAD_REPO="https://github.com/cisco-system-traffic-generator/trex-core/archive/"
-TREX_DOWNLOAD_PACKAGE="v
1.88
.zip"
+TREX_DOWNLOAD_PACKAGE="v
${TREX_VERSION}
.zip"
TREX_PACKAGE_URL="${TREX_DOWNLOAD_REPO}${TREX_DOWNLOAD_PACKAGE}"
TARGET_DIR="/opt/"
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
TREX_INSTALL_DIR="${TARGET_DIR}${TREX_DIR}"
if test "$(id -u)" -ne 0