'Retrieve all the available public (external) URLs for the provided
service type and name.'

def get_public_urls(self, service_type=None, name=None):

    endpoints = self.get_endpoints(service_type=service_type, name=name)
    result = []
    for endpoint in endpoints:
        endpoint_type = endpoint.endpoint_type
        if (endpoint_type == OpenStackIdentityEndpointType.EXTERNAL):
            result.append(endpoint.url)
    return result
