summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-07-13 21:47:16 -0700
committerDeepak S <deepak.s@linux.intel.com>2017-07-14 04:59:00 -0700
commit27c68de1ca5795173e96e55c161c0c9572d32626 (patch)
tree634a50fd4db953568be8d88e63ab827db9317925
parent7286b2518ec8e4398b512ce95def9166a7af2e4a (diff)
Adding dpdk version for non-interactive vnf_build options.
Change-Id: I95c6778fd216c6f7e3eee97c83f93726bb4298d0 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
-rwxr-xr-xtools/vnf_build.sh19
1 files changed, 7 insertions, 12 deletions
diff --git a/tools/vnf_build.sh b/tools/vnf_build.sh
index d404cf82..5ac79a47 100755
--- a/tools/vnf_build.sh
+++ b/tools/vnf_build.sh
@@ -290,20 +290,15 @@ build_vnfs()
#--- Add non intractive option to build vnfs
if [[ "$1" = "--silient" ]];then
+ DPDK_VER=("" "16.04" "16.11" "17.02" "17.05")
+ member="$2"
+ for item in "${DPDK_VER[@]}"; do
+ if [[ "$member" == "$item" ]]; then
+ DPDK_RTE_VER="$member"
+ fi
+ done
pushd $VNF_CORE
- echo "Setup proxy if needed..."
- http_proxy=$2
- https_proxy=$3
- if [[ "$http_proxy" != "" ]]; then
- export http_proxy=$http_proxy
- export https_proxy=$http_proxy
- fi
-
- if [[ "$https_proxy" != "" ]]; then
- export https_proxy=$https_proxy
- fi
-
echo "Install required libraries..."
touch .agree
install_libs