aboutsummaryrefslogtreecommitdiffstats
path: root/functest
diff options
context:
space:
mode:
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>2017-01-11 13:18:57 +0100
committerNikolas Hermanns <nikolas.hermanns@ericsson.com>2017-01-11 13:18:57 +0100
commita4024e43c35e2c319c73b5730c94f02d80145e90 (patch)
tree9adeb31b9bf986eb1ddba6a67ab6b0bb96497513 /functest
parent320c67f6a67e21c60d4afca204c7d00bafd2c353 (diff)
[FUNCTEST] Correct right ip is used for public endpoint
At the moment it was done in a fishy way to grep for the public ip. This commit fixes it. Change-Id: If14488c18c67cd66e885a7376e1c50a3a28e17f7 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
Diffstat (limited to 'functest')
-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 053796d98..e2471026c 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..."