aboutsummaryrefslogtreecommitdiffstats
path: root/opera_launch.sh
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-03-16 18:38:19 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2017-03-16 20:11:46 +0800
commit8a07bcd6b75f62c7c79504f8a3c020a2d635156e (patch)
tree45556730180ab0ac9ab3ad7fb1631acc6d82556a /opera_launch.sh
parentfb510361bcf5ddae5b0812d94e89e387bfbe6c59 (diff)
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 <huangxiangyu5@huawei.com>
Diffstat (limited to 'opera_launch.sh')
-rwxr-xr-xopera_launch.sh6
1 files changed, 3 insertions, 3 deletions
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