[ovirt-users] API: detailed quota information, where's it at?

Tim Bielawa tbielawa at redhat.com
Wed Feb 3 20:37:29 UTC 2016


I've been able to run the simple commands to enumerate quotas in a
datacenter, and to select a quota by name.

What I can not figure out how to do is how to receive detailed information
about a quota from the API.

Here's how I queried the basic information (using the python ovirtsdk
module):

import ovirtsdk.api
> api = ovirtsdk.api.API(url=url, username=name, password=password, ...)
> datacenter = api.datacenters.get(name="my-data-center")
> team_quota = datacenter.quotas.get(name="my-teams-quota")


Which works well enough, but doesn't really provide any actual *valuable*
information (just the name, id, description, that kind of stuff).

So where is the useful stuff hidden? The stuff of real value? I have not
found any useful resources while scouring the Internet for this answer.


I want to be able to hit this API and ask for detailed information about
the usage of a quota: How much capacity is my team allotted on a given
storage domain? How much capacity are we presently consuming? Likewise with
CPU/Memory allocation type quotas.

Is this possible, or a pipe dream?


Environment:

RHEVM Version: 3.5.6.0-1
Python SDK Version: 3.5.6.0-1


Thanks again folks!


-- 
Tim Bielawa, Sr. ${::title}
Cell: 919.332.6411  | IRC: tbielawa (#platops)
1BA0 4FAB 4C13 FBA0 A036  4958 AD05 E75E 0333 AE37
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160203/b364367d/attachment-0001.html>


More information about the Users mailing list