aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-01-11 13:06:56 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-11 13:06:56 +0000
commit020cefabc025d85dc1024cd9bcb3abe20efa291e (patch)
treeee27554fc70e57e6ea1ef34e02e78e085485a9d3
parent7c33180c2d5c1bc87c3efd80bc63b918fc546baf (diff)
parenta4024e43c35e2c319c73b5730c94f02d80145e90 (diff)
Merge "[FUNCTEST] Correct right ip is used for public endpoint"
-rwxr-xr-xfunctest/ci/check_os.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/ci/check_os.sh b/functest/ci/check_os.sh
index 053796d9..e2471026 100755
--- a/functest/ci/check_os.sh
+++ b/functest/ci/check_os.sh
@@ -24,7 +24,7 @@ fi
echo "Checking OpenStack endpoints:"
-publicURL=$OS_AUTH_URL
+publicURL=$(openstack catalog show identity |awk '/public/ {print $4}')
publicIP=$(echo $publicURL|sed 's/^.*http\:\/\///'|sed 's/.[^:]*$//')
publicPort=$(echo $publicURL|sed 's/^.*://'|sed 's/\/.*$//')
echo ">>Verifying connectivity to the public endpoint $publicIP:$publicPort..."