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: object

Abstraction 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 QuotaTemplate

Bases: cinder.api.xmlutil.TemplateBuilder

construct()
class Quotas(ext_mgr)

Bases: cinder.api.extensions.ExtensionDescriptor

Quota management support.

alias = 'os-quota-sets'
get_resources()
name = 'Quotas'
namespace = 'http://docs.openstack.org/volume/ext/quotas-sets/api/v1.1'
updated = '2011-08-08T00:00:00+00:00'

Previous topic

The cinder.api.contrib.quota_classes Module

Next topic

The cinder.api.contrib.scheduler_hints Module

Project Source

This Page