summaryrefslogtreecommitdiffstats
path: root/opera_launch.sh
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-03-16 18:38:19 +0800
committerYingjun Li <yingjun.li@huawei.com>2017-03-17 01:32:13 +0000
commitf141c55066c32d1699debebb56394c04d32e69b2 (patch)
tree1c9c6589aabf1602467767d5708a33dee7aa8ebf /opera_launch.sh
parent6d809ad2460235ff8bc800a6e630c258df785cae (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> (cherry picked from commit 8a07bcd6b75f62c7c79504f8a3c020a2d635156e)
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