def get_sdc_endpoint_from_keystone(self, region_name, service_type, endpoint_type):
        """
        Get the endpoint of SDC from Keystone Service Catalog
        :param region_name: Name of the region
        :param service_type: Type of service (Endpoint name)
        :param endpoint_type: Type of the URL to look for
        :return:
        """

        logger.debug("Getting SDC endpoint")
        endpoint = None
        for service in self.keystone_client.auth_ref['serviceCatalog']:
            if service['name'] == service_type:
                for endpoint in service['endpoints']:
                    if endpoint['region'] == region_name:
                        endpoint = endpoint[endpoint_type]
                        break
                break
        logger.debug("SDC endpoint (Service: %s, Type: %s, Region: %s) is: %s", service_type, endpoint_type,
                     region_name, endpoint_type)
        return endpoint