Comment 1 for bug 1796910

Revision history for this message
James Page (james-page) wrote :

From the interface:

    def register_endpoints(self, service, region, public_url, internal_url,
                           admin_url):
        """
        Register this service with keystone
        """
        relation_info = {
            'service': service,
            'public_url': public_url,
            'internal_url': internal_url,
            'admin_url': admin_url,
            'region': region,
        }
        self.set_local(**relation_info)
        self.set_remote(**relation_info)

Agree service_type is a bit misleading - maybe switch to service name with a backwards compat accessor?