[openstack-dev] [heat][nova][neutron] Using specific endpoints

Brandon Logan brandon.logan at RACKSPACE.COM
Mon Feb 8 08:25:51 UTC 2016


Not sure about the heatclient, but if you use the keystone session you
should be able to provide endpoint_override kwarg to any instantiation
of a client that takes the session in.  At least I think thats the case.

Thanks,
Brandon

On Sat, 2016-02-06 at 22:51 +0530, pn kk wrote:
> Can bypass_url in nova to mention specific endpoint?
> 
> On Sat, Feb 6, 2016 at 4:49 PM, pn kk <pnkk2016 at gmail.com> wrote:
>         Hi,
>         
>         
>         We want to have a deployment in which we use a single keystone
>         instance, but multiple controllers having other openstack
>         services(glance/nova/neutron...) running on each of the
>         controllers.
>         
>         
>         All these services would register their endpoints with single
>         keystone.
>         
>         
>         Please suggest a way in which I can point openstack clients to
>         specific endpoint and access its services (don't want to use
>         regions).
>         
>         
>         Is this supported?
>         
>         
>         I saw that heat, neutron APIs can take endpoint urls. Can I
>         use these APIs to solve my purpose?
>         
>         
>         >>> from heatclient.client import Client
>         >>> heat = Client('1', endpoint=heat_url, token=auth_token)
>         >>> from neutronclient.v2_0 import client
>         >>> neutron = client.Client(endpoint_url='http://192.168.206.130:9696/',
>                                     token='d3f9226f27774f338019aa2611112ef6')
>         Could you please also share the APIs of nova/glance which can
>         take endpoint_urls?
>         
>         
>         -Thanks
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list