aboutsummaryrefslogtreecommitdiffstats
path: root/nsb_setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nsb_setup.sh')
-rwxr-xr-xnsb_setup.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/nsb_setup.sh b/nsb_setup.sh
index 88027d9bd..cc2542989 100755
--- a/nsb_setup.sh
+++ b/nsb_setup.sh
@@ -28,7 +28,7 @@ if [ "$(whoami)" != "root" ]; then
fi
INSTALL_BIN_PATH="/opt/nsb_bin"
-TREX_VERSION="v2.20"
+TREX_VERSION="v2.28"
TREX_DOWNLOAD="https://trex-tgn.cisco.com/trex/release/$TREX_VERSION.tar.gz"
DPDK_DOWNLOAD="http://dpdk.org/browse/dpdk/snapshot/dpdk-16.07.zip"
VIRTUAL_VENV="$INSTALL_BIN_PATH/yardstick_venv"
@@ -202,6 +202,12 @@ push_nsb_binary()
cp "$REPO_DIR/yardstick/network_services/nfvi/collectd.sh" "$INSTALL_BIN_PATH"
cp "$REPO_DIR/yardstick/network_services/nfvi/collectd.conf" "$INSTALL_BIN_PATH"
cp "$REPO_DIR/nsb_setup.sh" "$INSTALL_BIN_PATH"
+
+ # Get "dpdk-devbind.py" to find the ports for VNF to run
+ wget http://dpdk.org/browse/dpdk/plain/usertools/dpdk-devbind.py?h=v17.05 -O dpdk-devbind.py
+ chmod 777 dpdk-devbind.py
+ mv dpdk-devbind.py "$INSTALL_BIN_PATH"
+ ln "$INSTALL_BIN_PATH"/dpdk-devbind.py "$INSTALL_BIN_PATH"/dpdk_nic_bind.py
echo "Done"
}