Re: [openstack-dev] [Neutron] Tenant's info from plugin/services
Hi Ivar, Please take a look at this review: https://review.openstack.org/#/c/52128/ Here Akihiro adds tenant and user names to the Neutron context. Thanks, Oleg On Thu, Oct 17, 2013 at 2:55 AM, Ivar Lazzaro wrote: > Hello Everyone, > > ** ** > > I was wondering if there’s a “standard” way within Neutron to retrieve > tenants’ specific information (e.g. “name”) from a plugin/service. > > The call “context” already provides the tenant’s UUID, but that may be > useful to have some extra info in certain cases. > > ** ** > > Thanks, > > Ivar. > > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Neutron] Tenant's info from plugin/services
As Yongsheng said, use keystone tenant-list. We overload keystone tenant with lot more tenant specific information as metadata and use it in other openstack services. On Wed, Oct 16, 2013 at 4:11 PM, Yongsheng Gong wrote: > I think this should be done in keystone. maybe you need a CLI command: > keystone tenant-get > > > On Thu, Oct 17, 2013 at 6:55 AM, Ivar Lazzaro wrote: > >> Hello Everyone, >> >> ** ** >> >> I was wondering if there’s a “standard” way within Neutron to retrieve >> tenants’ specific information (e.g. “name”) from a plugin/service. >> >> The call “context” already provides the tenant’s UUID, but that may be >> useful to have some extra info in certain cases. >> >> ** ** >> >> Thanks, >> >> Ivar. >> >> ___ >> OpenStack-dev mailing list >> OpenStack-dev@lists.openstack.org >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> > > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > -- Ravi ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Neutron] Tenant's info from plugin/services
I think this should be done in keystone. maybe you need a CLI command: keystone tenant-get On Thu, Oct 17, 2013 at 6:55 AM, Ivar Lazzaro wrote: > Hello Everyone, > > ** ** > > I was wondering if there’s a “standard” way within Neutron to retrieve > tenants’ specific information (e.g. “name”) from a plugin/service. > > The call “context” already provides the tenant’s UUID, but that may be > useful to have some extra info in certain cases. > > ** ** > > Thanks, > > Ivar. > > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Neutron] Tenant's info from plugin/services
Hello Everyone, I was wondering if there's a "standard" way within Neutron to retrieve tenants' specific information (e.g. "name") from a plugin/service. The call "context" already provides the tenant's UUID, but that may be useful to have some extra info in certain cases. Thanks, Ivar. ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev