Re: [openstack-dev] [heat][nova][neutron] Using specific endpoints
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 kkwrote: > 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='d3f9226f27774f338019aa262ef6') > 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-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [heat][nova][neutron] Using specific endpoints
Can bypass_url in nova to mention specific endpoint? On Sat, Feb 6, 2016 at 4:49 PM, pn kkwrote: > 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='d3f9226f27774f338019aa262ef6') > > 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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [heat][nova][neutron] Using specific endpoints
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='d3f9226f27774f338019aa262ef6') 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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev