From 929cb01bf4ab8b5e7ddfbdb5b26499c21fba2437 Mon Sep 17 00:00:00 2001 From: Deepak S Date: Fri, 19 May 2017 03:30:13 +0530 Subject: Adding support to build the vnfs without user intervention ./tools/vnf_build.sh --silient Change-Id: I50ecdc263a732d1ed823202107e49ffaa739e9b4 Signed-off-by: Deepak S --- tools/vnf_build.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'tools') diff --git a/tools/vnf_build.sh b/tools/vnf_build.sh index f7ffe76e..2a9417ca 100755 --- a/tools/vnf_build.sh +++ b/tools/vnf_build.sh @@ -258,6 +258,30 @@ build_vnfs() popd } +#--- Add non intractive option to build vnfs +if [[ "$1" = "--silient" ]];then + pushd $VNF_CORE + + echo "Install required libraries..." + touch .agree + install_libs + + echo "Download dpdk for VNF build..." + download_dpdk_zip + + echo "Build dpdk..." + install_dpdk + + echo "Setup hugepages..." + setup_hugepages + + echo "build VNFS..." + build_vnfs + + popd + exit +fi + SETUP_PROXY="setup_http_proxy" STEPS[1]="step_1" STEPS[2]="step_2" -- cgit 1.2.3-korg