diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-02-18 00:55:42 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-02-18 00:55:42 +0000 |
commit | 6cc26dd218e9277f748cee30c222cdb1c420a848 (patch) | |
tree | 9265d4d20529b9b5951ce1f31f34471ed7406053 /deploy/launch.sh | |
parent | c3f89eca0c74f587f833c5884aa7f1b3d96827c3 (diff) | |
parent | b67c6b64b8e2c08f40051adf5a839241e78dca7d (diff) |
Merge "Improvement: reset compute nodes for opencontrail"
Diffstat (limited to 'deploy/launch.sh')
-rwxr-xr-x | deploy/launch.sh | 8 |
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! |