From c7315a9fbd7827a5e4375f87d8219ca42f0e34f0 Mon Sep 17 00:00:00 2001 From: Deepak S Date: Sat, 12 Aug 2017 15:01:07 -0700 Subject: Download the right dpdk bind tool before starting the test case Change-Id: Id8901aabef402d5743e2575e275b5a57046e897c Signed-off-by: Deepak S --- nsb_setup.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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" } -- cgit 1.2.3-korg