]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Create packages for quota modules
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 2 Jun 2015 23:13:35 +0000 (16:13 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 28 Jul 2015 18:55:01 +0000 (11:55 -0700)
commit1663f5c19756fee984f0aeea9befc3a823387c8e
tree53394dcba0aac5457b8bf0922ad91532a70597a1
parent6b0ab7fd639919985d49a4dc9622e59fd7a245b0
Create packages for quota modules

This patch simply renames quota modules introducing two
new packages:
1) neutron.quota
2) neutron.db.quota

This paves the way for adding more quota related modules.
Unit tests paths are changed accordingly, as well as references
to moved modules.
This patch hovewer preserves the ability of importing
neutron.db.quota_db in order to avoid breaking repositories which
use neutron as a requirement.

Change-Id: I946e87f1b2ebb3e80d64aecfe58aeff9f81896f3
Related-blueprint: better-quotas
13 files changed:
etc/neutron.conf
neutron/db/quota/driver.py [new file with mode: 0644]
neutron/db/quota_db.py
neutron/extensions/quotasv2.py
neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py
neutron/plugins/ibm/sdnve_neutron_plugin.py
neutron/plugins/ml2/plugin.py
neutron/plugins/oneconvergence/plugin.py
neutron/quota/__init__.py [moved from neutron/quota.py with 98% similarity]
neutron/tests/api/admin/test_quotas.py
neutron/tests/unit/db/quota/test_driver.py [moved from neutron/tests/unit/db/test_quota_db.py with 97% similarity]
neutron/tests/unit/extensions/test_quotasv2.py
tox.ini