From 8a07bcd6b75f62c7c79504f8a3c020a2d635156e Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Thu, 16 Mar 2017 18:38:19 +0800 Subject: Add upload packages retry 1. retry 5 times if csar package uploads fail 2. clearwater service name varies over the time 3. use the word vnf instead of app Change-Id: Id85c7f467cbefbc46fd1f1daf6202d89ef3ac898 Signed-off-by: Harry Huang --- opera_launch.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'opera_launch.sh') diff --git a/opera_launch.sh b/opera_launch.sh index 0af0718..18b0ca8 100755 --- a/opera_launch.sh +++ b/opera_launch.sh @@ -39,7 +39,7 @@ if [[ "$DEPLOY_FIRST_TIME" == "true" ]]; then fi source ${WORK_DIR}/scripts/open-o.conf -source ${WORK_DIR}/scripts/application.conf +source ${WORK_DIR}/scripts/vnf.conf if [[ "$DEPLOY_OPENO" == "true" ]]; then if ! launch_openo;then @@ -64,8 +64,8 @@ if [[ "$DEPLOY_JUJU" == "true" ]]; then connect_juju_and_openo fi -if [[ -n $APP_NAME ]]; then - deploy_app +if [[ -n $VNF_TYPE ]]; then + deploy_vnf fi figlet -ctf slant Open-O Installed -- cgit 1.2.3-korg