[Openstack] openstacksdk and limits for projects.

Michael Gale gale.michael at gmail.com
Mon Jan 16 06:06:32 UTC 2017


    Does anyone know what the equivalent of the following command would be
via the API?
`openstack limits show --absolute --project <project_name>`

I am using an admin account to pull stats and information from a Mitaka
environment, now I can run the above command in bash, looping over each
project that exist.

However I would like to get the information using the openstacksdk via
Python, I can use:
connection.compute.get_limits() however that only works for the project I
logged in with.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170115/f0975ca5/attachment.html>

More information about the Openstack mailing list