mkdir -p $DOWNLOAD_PATH
pushd $DOWNLOAD_PATH
- git clone https://github.com/onap/multicloud-k8s.git
+ if [ "$1" == "v1" ] ; then
+ git clone --branch v1.0-icn https://github.com/akraino-icn/multicloud-k8s.git
+ else
+ git clone https://github.com/onap/multicloud-k8s.git
+ fi
popd
}
./installer.sh | tee kud_deploy.log
if [ "$1" == "bm" ]; then
- pushd $DOWNLOAD_PATH/multicloud-k8s/kud/tests/
- sleep 15
- bash sriov.sh
- popd
+ for addon in ${KUD_ADDONS:-multus ovn4nfv nfd sriov qat cmk optane}; do
+ pushd $DOWNLOAD_PATH/multicloud-k8s/kud/tests/
+ bash ${addon}.sh
+ popd
+ done
fi
popd
}
exit 0
fi
-get_kud_repo
+get_kud_repo $2
set_ssh_key
set_bm_kud $1
kud_install $1