summaryrefslogtreecommitdiffstats
path: root/deploy/launch.sh
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-02-18 00:55:42 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-02-18 00:55:42 +0000
commit6cc26dd218e9277f748cee30c222cdb1c420a848 (patch)
tree9265d4d20529b9b5951ce1f31f34471ed7406053 /deploy/launch.sh
parentc3f89eca0c74f587f833c5884aa7f1b3d96827c3 (diff)
parentb67c6b64b8e2c08f40051adf5a839241e78dca7d (diff)
Merge "Improvement: reset compute nodes for opencontrail"
Diffstat (limited to 'deploy/launch.sh')
-rwxr-xr-xdeploy/launch.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy/launch.sh b/deploy/launch.sh
index 8ee70e47..f9d915bf 100755
--- a/deploy/launch.sh
+++ b/deploy/launch.sh
@@ -78,6 +78,14 @@ if [[ "$DEPLOY_HOST" == "true" || $REDEPLOY_HOST == "true" ]]; then
if ! deploy_host;then
exit 1
fi
+ echo $HOST_ROLES
+ echo $TYPE
+ echo $DHA
+ if [[ `echo $HOST_ROLES | grep opencontrail` ]]; then
+ sleep 60
+ python ${COMPASS_DIR}/deploy/reset_compute.py $TYPE $DHA
+ sleep 600
+ fi
fi
figlet -ctf slant Installation Complete!