On Tue, Jan 17, 2017 at 4:23 PM, Michael Gale <gale.michael at gmail.com> wrote: > Hello, > > 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. > It could take an id/name, but the REST API doesn't seem to be documented that it takes an id or name, which is probably why it doesn't currently accept them: http://developer.openstack.org/api-ref/compute/?expanded=show-rate-and-absolute-limits-detail How should we implement this? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170117/5fd8a15f/attachment.html>