Quotas

Quotas

class novaclient.v2.quotas.QuotaSet(manager, info, loaded=False, resp=None)

Bases: novaclient.base.Resource

Populate and bind to a manager.

Parameters:
  • manager – BaseManager object
  • info – dictionary representing resource attributes
  • loaded – prevent lazy-loading if set to True
  • resp – Response or list of Response objects
id

QuotaSet does not have a ‘id’ attribute but base.Resource needs it to self-refresh and QuotaSet is indexed by tenant_id.

update(*args, **kwargs)
class novaclient.v2.quotas.QuotaSetManager(api)

Bases: novaclient.base.Manager

defaults(tenant_id)
delete(tenant_id, user_id=None)

Delete quota for a tenant or for a user.

Parameters:
  • tenant_id – A tenant for which quota is to be deleted
  • user_id – A user for which quota is to be deleted
Returns:

An instance of novaclient.base.TupleWithMeta

get(tenant_id, user_id=None, detail=False)
resource_class

alias of QuotaSet

update(tenant_id, **kwargs)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.