Merge "[FUNCTEST] Correct right ip is used for public endpoint"
authorJose Lausuch <jose.lausuch@ericsson.com>
Wed, 11 Jan 2017 13:06:56 +0000 (13:06 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Wed, 11 Jan 2017 13:06:56 +0000 (13:06 +0000)
functest/ci/check_os.sh

index 053796d..e247102 100755 (executable)
@@ -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..."