[openstack-dev] endpoint registration

Doug Hellmann doug.hellmann at dreamhost.com
Fri Aug 16 20:27:46 UTC 2013

If you're saying that you want to register URLs without version info
embedded in them, and let the client work that part out by talking to the
service in question (or getting a version number from the caller), then
"yes, please."

On Fri, Aug 16, 2013 at 1:47 AM, Robert Collins
<robertc at robertcollins.net>wrote:

> We're just reworking our endpoint registration on cloud bring up to be
> driven by APIs, per the principled separation of concerns I outlined
> previously.
> One thing I note is that the keystone intialisation is basically full
> of magic constants like
> "http://$CONTROLLER_PUBLIC_ADDRESS:8004/v1/%(tenant_id)s"
> Now, I realise that when you have a frontend haproxy etc, the endpoint
> changes - but the suffix - v1/%(tenant_id)s in this case - is, AFAICT,
> internal neutron/cinder/ etc knowledge, as is the service type
> ('network' etc).
> Rather than copying those into everyones deploy scripts, I'm wondering
> if we could put that into neutronclient etc - either as a query
> function (neutron --endpoint-suffix -> 'v1/%(tenant_id)s) or perhaps
> something that will register with keystone when told to?
> -Rob
> --
> Robert Collins <rbtcollins at hp.com>
> Distinguished Technologist
> HP Converged Cloud
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130816/1ce6f139/attachment.html>

More information about the OpenStack-dev mailing list