Change the bootstrap and download NSH SFC packages. 96/7196/2
authorFangyin Hu <fangyinx.hu@intel.com>
Tue, 20 Jun 2017 08:01:47 +0000 (01:01 -0700)
committerPeter Mikus <pmikus@cisco.com>
Tue, 20 Jun 2017 08:04:36 +0000 (08:04 +0000)
Change-Id: I0ce00433b995a8cac78b059ba1f26cc07554e158
Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
bootstrap-nsh_sfc-functional-virl.sh
resources/tools/download_nsh_sfc_pkgs.sh

index 70a68c0..35754bb 100755 (executable)
@@ -21,6 +21,12 @@ export DEBIAN_FRONTEND=noninteractive
 sudo apt-get -y update
 sudo apt-get -y install libpython2.7-dev python-virtualenv
 
+if [ -f "/etc/redhat-release" ]; then
+    OS="centos7"
+else
+    OS="ubuntu1604"
+fi
+
 VIRL_SERVERS=("10.30.51.28" "10.30.51.29" "10.30.51.30")
 VIRL_SERVER=""
 
@@ -29,8 +35,7 @@ VIRL_PKEY=priv_key
 VIRL_SERVER_STATUS_FILE="status"
 VIRL_SERVER_EXPECTED_STATUS="PRODUCTION"
 
-STREAM=$1
-OS=$2
+STREAM="master"
 
 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 export PYTHONPATH=${SCRIPT_DIR}
index cd00773..2261f08 100755 (executable)
@@ -25,7 +25,7 @@ URL="https://nexus.fd.io/service/local/artifact/maven/content"
 VER="RELEASE"
 GROUP="io.fd.vpp"
 NSH_GROUP="io.fd.nsh_sfc"
-VPP_ARTIFACTS="vpp vpp-dbg vpp-dev vpp-dpdk-dev vpp-dpdk-dkms vpp-lib vpp-plugins vpp-api-java"
+VPP_ARTIFACTS="vpp vpp-dbg vpp-dev vpp-dpdk-dkms vpp-lib vpp-plugins vpp-api-java vpp-api-python vpp-api-lua"
 NSH_ARTIFACTS="vpp-nsh-plugin"
 
 if [ "${OS}" == "ubuntu1404" ]; then

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.