aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2016-11-23 11:48:12 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-23 11:48:12 +0000
commit5902d5628446ccefa03a2746e36d1980be683951 (patch)
tree673f7357f046a0bb6183dc4425153fe089c6f86e /deploy
parent0322edd34a85ca8bf3b167beb0a8d36b2dd6c738 (diff)
parent461433b75da4589f5a67ee1af42c0b78de23d53e (diff)
Merge "Add refresh.sh exec on compass-core"
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy/compass_vm.sh5
-rwxr-xr-xdeploy/launch.sh2
2 files changed, 7 insertions, 0 deletions
diff --git a/deploy/compass_vm.sh b/deploy/compass_vm.sh
index f1c92892..61e27051 100755
--- a/deploy/compass_vm.sh
+++ b/deploy/compass_vm.sh
@@ -74,6 +74,11 @@ function inject_compass_conf() {
_inject_dashboard_conf
}
+function refresh_compass_core () {
+ cmd="/opt/compass/bin/refresh.sh"
+ exec_cmd_on_compass $cmd
+}
+
function wait_ok() {
set +x
log_info "wait_compass_ok enter"
diff --git a/deploy/launch.sh b/deploy/launch.sh
index 4e6e1a39..9031cb62 100755
--- a/deploy/launch.sh
+++ b/deploy/launch.sh
@@ -71,6 +71,8 @@ if [[ "$EXPANSION" == "false" ]]; then
log_error "launch_compass failed"
exit 1
fi
+ else
+ refresh_compass_core
fi
else
machines=`get_host_macs`