]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Implement volume quota support in Cinder
authorJohn Griffith <john.griffith@solidfire.com>
Thu, 16 Aug 2012 21:52:52 +0000 (15:52 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Thu, 30 Aug 2012 19:24:26 +0000 (13:24 -0600)
commita3af3f87f5ca95e9b400dc15e7593746d01bc43a
tree2cc1579502c8fb9d7b18b3f1030cb8ec9499df33
parenta55430ce286b291e5a5611b1e908b325ab3de20d
Implement volume quota support in Cinder

parital fix for bug 1023311
  * To use needs cinderclient https://review.openstack.org/#/c/11509/
  * Updates quota classes with changes in Nova
  * Adds needed quota related DB tables
  * Updates test_quota to reflect changes in Nova
  * Adds absolute limits and empty rate limit functions
  * Updates test/integration/test_volume to make it work w/ above changes

Change-Id: I221c7a9dc51a2bb9bf7228c056f63ba9546cf5f9
20 files changed:
cinder/api/openstack/volume/__init__.py
cinder/api/openstack/volume/contrib/quota_classes.py [new file with mode: 0644]
cinder/api/openstack/volume/contrib/quotas.py [new file with mode: 0644]
cinder/api/openstack/volume/limits.py [new file with mode: 0644]
cinder/api/openstack/volume/schemas/v1.1/limits.rng [new file with mode: 0644]
cinder/api/openstack/volume/views/limits.py [new file with mode: 0644]
cinder/api/openstack/wsgi.py
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/db/sqlalchemy/migrate_repo/versions/002_quota_class.py [new file with mode: 0644]
cinder/db/sqlalchemy/models.py
cinder/exception.py
cinder/quota.py
cinder/tests/api/openstack/fakes.py
cinder/tests/api/openstack/volume/test_limits.py [new file with mode: 0644]
cinder/tests/integrated/test_volumes.py
cinder/tests/test_quota.py
cinder/tests/test_volume.py
cinder/volume/api.py
etc/cinder/policy.json