The 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.
This works for hierarchical and non-hierarchical projects. For hierarchical projects only immediate parent admin or the CLOUD admin are able to perform a delete.
Parameters: - req – request
- id – target project id that needs to be updated
-
show(req, id)¶ Show quota for a particular tenant
This works for hierarchical and non-hierarchical projects. For hierarchical projects admin of current project, immediate parent of the project or the CLOUD admin are able to perform a show.
Parameters: - req – request
- id – target project id that needs to be updated
-
update(req, id, body)¶ Update Quota for a particular tenant
This works for hierarchical and non-hierarchical projects. For hierarchical projects only immediate parent admin or the CLOUD admin are able to perform an update.
Parameters: - req – request
- id – target project id that needs to be updated
- body – key, value pair that that will be applied to the resources if the update succeeds
-
wsgi_actions= {}¶
-
wsgi_extensions= []¶
-
-
class
QuotaTemplate¶ Bases:
cinder.api.xmlutil.TemplateBuilder-
construct()¶
-