summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-08-12 15:01:07 -0700
committerDeepak S <deepak.s@linux.intel.com>2017-08-15 00:58:31 -0700
commitc7315a9fbd7827a5e4375f87d8219ca42f0e34f0 (patch)
treeaadf192cebaf9c95603a7f0e4d6310e2bd9e9461
parentd9c0b9e1c2e0a11500fa09c10ba559d4944b720c (diff)
Download the right dpdk bind tool before starting the test case
Change-Id: Id8901aabef402d5743e2575e275b5a57046e897c Signed-off-by: Deepak S <deepak.s@linux.intel.com>
-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"
}