aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/compass_vm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/compass_vm.sh')
-rwxr-xr-xdeploy/compass_vm.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/deploy/compass_vm.sh b/deploy/compass_vm.sh
index 61e27051..adc936fc 100755
--- a/deploy/compass_vm.sh
+++ b/deploy/compass_vm.sh
@@ -263,3 +263,10 @@ function wait_controller_nodes_ok() {
"
sleep 30
}
+
+function get_public_vip () {
+ ssh $ssh_args root@$MGMT_IP "
+ cd /var/ansible/run/openstack_newton_xenial-opnfv2
+ cat group_vars/all | grep -A 3 public_vip: | sed -n '2p' |sed -e 's/ ip: //g'
+ "
+}