diff options
author | Justin chi <chigang@huawei.com> | 2016-12-15 08:41:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-12-15 08:41:32 +0000 |
commit | e547df4ebe7df64d971326b110d8c36b1dd3e096 (patch) | |
tree | b780a8bc4286fec705cea85d8db6464aa4a50fc6 /deploy/compass_vm.sh | |
parent | 8a4b5bd61fc39c259952871c4447297f3184a0ba (diff) | |
parent | 02c0322f87efe8ff1f5c54c1414833910e87431e (diff) |
Merge "Print information about openstack deployed."
Diffstat (limited to 'deploy/compass_vm.sh')
-rwxr-xr-x | deploy/compass_vm.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/deploy/compass_vm.sh b/deploy/compass_vm.sh index b07b5081..4c6ba3fe 100755 --- a/deploy/compass_vm.sh +++ b/deploy/compass_vm.sh @@ -282,3 +282,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' + " +} |