]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Cinder Nested Quota Driver
authorVilobh Meshram <vilobhmm@yahoo-inc.com>
Fri, 24 Jul 2015 04:09:02 +0000 (21:09 -0700)
committerVilobh Meshram <vilobhmm@yahoo-inc.com>
Wed, 26 Aug 2015 19:00:15 +0000 (12:00 -0700)
commit8a7ab267a6bbd48fc5e9ccb91a1472cf1e017e3f
tree803072ded02147745a9a19cb64cc77409f3985b4
parentd8bd178465d5ba69cb60095b2dcdbcf6a311cc2e
Cinder Nested Quota Driver

Cinder Nested Quota Driver patch adds hierarchical support. Quota
API's now can also handle hierarchical projects.

For the first pass only a user with admin role in a parent project
will be able to update and delete its children quotas.

Even after these changes are made, the existing DbQuotaDriver
functionalities will remain unchanged. The same driver will be able to
handle flat projects as well as hierarchical projects.

Co-Authored-By: Erickson Santos <erickson@lsd.ufcg.edu.br>
Change-Id: Ie669d7d74d40c0ff1f1e54f673e7f3ae96b3b950
Implements: bp cinder-nested-quota-driver
cinder/api/contrib/quotas.py
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/quota.py
cinder/tests/unit/api/contrib/test_quotas.py
cinder/tests/unit/test_quota.py