+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+export PYTHONPATH=${SCRIPT_DIR}
+
+OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
+OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
+
+if [ "$OS_ID" == "centos" ]; then
+ DISTRO="CENTOS"
+ PACKAGE="rpm"
+ # TODO: Remove when corresponding part of CSIT-1546 is addressed.
+ sudo yum install -y python-devel python-virtualenv openssh-clients sshpass
+elif [ "$OS_ID" == "ubuntu" ]; then
+ DISTRO="UBUNTU"
+ PACKAGE="deb"
+ # TODO: Remove when corresponding part of CSIT-1546 is addressed.
+ export DEBIAN_FRONTEND=noninteractive
+ sudo apt-get -y update
+ sudo apt-get -y install libpython2.7-dev python-virtualenv sshpass
+else
+ echo "$OS_ID is not yet supported."
+ exit 1
+fi
+
+# Temporarily download VPP and DPDK packages from nexus.fd.io
+if [ "${#}" -ne "0" ]; then
+ arr=(${@})
+ echo ${arr[0]}
+ SKIP_PATCH="skip_patchORskip_vpp_patch"
+else
+ VPP_VERSION=$(< ${SCRIPT_DIR}/VPP_STABLE_VER_${DISTRO})
+ CSIT_DIR=${SCRIPT_DIR}
+ source "${SCRIPT_DIR}/resources/libraries/bash/function/artifacts.sh"
+ download_artifacts
+ # Need to revert -euo as the rest of script is not optimized for this.
+ set +euo pipefail
+fi
+
+VIRL_DIR_LOC="/tmp/"
+VPP_PKGS=(*vpp*.$PACKAGE)
+VPP_PKGS_FULL=("${VPP_PKGS[@]/#/${VIRL_DIR_LOC}}")
+echo ${VPP_PKGS[@]}