Quota Refactoring

Registered by Kevin L. Mitchell on 2012-04-13

Refactor quotas to allow for resource registration; atomic updates; quota reservations; and plugability of quota backend storage. A Resource class is created for resource registration and a QuotaDriver class is created for plugability; quotas are managed via a global QUOTAS object (instance of class Quota) in parallel with the configuration object. (A global variable is not ideal here, but in the absence of a better alternative, it was the obvious choice.)

Blueprint information

Status:
Complete
Approver:
Vish Ishaya
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
Kevin L. Mitchell
Definition:
Approved
Series goal:
Accepted for folsom
Implementation:
Implemented
Milestone target:
milestone icon 2012.2
Started by
Vish Ishaya on 2012-04-26
Completed by
Kevin L. Mitchell on 2012-05-30

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bug/938317,n,z

Addressed by: https://review.openstack.org/6774
    Rearchitect quota checking to partially fix bug 938317.

Gerrit topic: https://review.openstack.org/#q,topic:bp/quota-refactor,n,z

Addressed by: https://review.openstack.org/7048
    WIP: Finish quota refactor.

Addressed by: https://review.openstack.org/7365
    Remove deprecated quota code.

QA:
----
Allowing resources to register their availability.
Functional Test impact - None
Let QA know if it otherwise.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.