How can I get Keystone data in other modules (Neutron)?

asked 2015-07-13 06:55:12 -0600

andergg8 gravatar image

I'm working on a project where I need to obtain some info from keystone database in Neutron, not only project_id. Its a new field I've added to the project table in Keystone module. How could I get that info?

It's a Juno installation.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-07-13 11:47:18 -0600

jzhu gravatar image

If you had added the new field via project property, you should be able to get it back via python-keystoneclient (keystoneclient.projects.get(project_id) which will return the whole project object). You just need to be properly authorized on the get() operation depending on the Keystone policy.

edit flag offensive delete link more


Sorry, how should I be properly authorized? Via auth_token?

andergg8 gravatar imageandergg8 ( 2015-07-13 12:30:18 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-07-13 06:04:55 -0600

Seen: 70 times

Last updated: Jul 13 '15