aboutsummaryrefslogtreecommitdiffstats
path: root/nsb_setup.sh
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-08-15 15:25:11 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-15 15:25:11 +0000
commitefa2bae33627c0d4ee9c2cff450fc964449aa06e (patch)
treecf29f70bca4d3f82f6061393298fff89e2b242f7 /nsb_setup.sh
parent42c7c490703248d571c9c4dc97610155b32d003a (diff)
parentc7315a9fbd7827a5e4375f87d8219ca42f0e34f0 (diff)
Merge "Download the right dpdk bind tool before starting the test case"
Diffstat (limited to 'nsb_setup.sh')
-rwxr-xr-xnsb_setup.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/nsb_setup.sh b/nsb_setup.sh
index 88027d9bd..b6dcca666 100755
--- a/nsb_setup.sh
+++ b/nsb_setup.sh
@@ -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"
}