cinder.api.contrib.quotas module

class QuotaSetsController(view_builder=None)

Bases: cinder.api.openstack.wsgi.Controller

defaults(req, id)
delete(req, id)

Delete Quota for a particular tenant.

Parameters
  • req – request

  • id – target project id that needs to be deleted

show(req, id)

Show quota for a particular tenant

Parameters
  • req – request

  • id – target project id that needs to be shown

update(req, id, body)

Update Quota for a particular tenant

Parameters
  • req – request

  • id – target project id that needs to be updated

  • body – key, value pair that will be applied to the resources if the update succeeds

wsgi_actions = {}
wsgi_extensions = []
class Quotas(ext_mgr)

Bases: cinder.api.extensions.ExtensionDescriptor

Quota management support.

alias = 'os-quota-sets'
get_resources()

List of extensions.ResourceExtension extension objects.

Resources define new nouns, and are accessible through URLs.

name = 'Quotas'
updated = '2011-08-08T00:00:00+00:00'