diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-02-16 18:29:55 +0800 |
---|---|---|
committer | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-02-17 16:26:31 +0800 |
commit | b67c6b64b8e2c08f40051adf5a839241e78dca7d (patch) | |
tree | 975c0d2ee62087f850ff09b60c014870afd1b74e /deploy/launch.sh | |
parent | 00ba12cbc900cb1cb38bee938544cc95583ab416 (diff) |
Improvement: reset compute nodes for opencontrail
JIRA: COMPASS-317
Change-Id: I27b6bb3aa8707f02a51951eed83646a78dafc841
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
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! |