The cinder.api.contrib.quotas Module¶
-
class
QuotaSetsController(view_builder=None)¶ Bases:
cinder.api.openstack.wsgi.Controller-
class
GenericProjectInfo(project_id, project_keystone_api_version, project_parent_id=None, project_subtree=None)¶ Bases:
objectAbstraction layer for Keystone V2 and V3 project objects
-
QuotaSetsController.defaults(req, id)¶
-
QuotaSetsController.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
-
QuotaSetsController.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
-
QuotaSetsController.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
-
QuotaSetsController.wsgi_actions= {}¶
-
QuotaSetsController.wsgi_extensions= []¶
-
class
-
class
QuotaTemplate¶ Bases:
cinder.api.xmlutil.TemplateBuilder-
construct()¶
-