vmware-nsx/neutron
Akihiro MOTOKI 438b2ebfcd Fallback to Quota Conf Driver if Quotas table is not defined
commit de15e0b9c5 enabled Quota DB driver default considering
production environments, but it breaks plugins without per-tenant
quota extension. In these plugin quotas tables is not loaded.

This commit fallbacks to ConfDriver if Quota model is not loaded by
checking neutron.db.quota_db which defines Quota model is imported.

Change-Id: Idaaaa9810598cfd3e5ce70020f498643b4819d16
Closes-Bug: #1236993
(cherry picked from commit 46495f4995)
2013-10-11 19:59:59 -04:00
..
agent Fix dhcp_release lease race condition 2013-10-10 11:10:45 -07:00
api Send proper exception info as expected by the neutron client 2013-09-19 17:32:30 +04:00
cmd remove binaries under bin 2013-08-16 10:10:30 +08:00
common Change hard coded numbers to constants in security group tests 2013-09-23 10:21:24 -04:00
db Add quota table in PLUMgrid plugin 2013-10-09 23:47:52 -04:00
debug Fix message i18n error 2013-09-08 15:58:12 +08:00
extensions Change hard coded numbers to constants in security group tests 2013-09-23 10:21:24 -04:00
locale Imported Translations from Transifex 2013-10-02 06:10:31 +00:00
openstack Merge "Sync rootwrap with code from oslo" 2013-09-27 03:27:22 +00:00
plugins Fixes port status hanging to build status 2013-10-11 10:10:20 +02:00
scheduler Ensure router exists when auto_schedule_routers 2013-09-26 22:48:46 +08:00
server Disable lazy translation 2013-10-01 23:16:23 +00:00
services Fix to enable delete of firewall in PENDING_CREATE state 2013-09-27 11:40:44 -07:00
tests Fallback to Quota Conf Driver if Quotas table is not defined 2013-10-11 19:59:59 -04:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
auth.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
context.py Allow for skipping admin roles loading on context creation 2013-08-28 14:06:43 +04:00
hooks.py Fixes Windows setup dependency bug 2013-08-15 22:58:14 +03:00
manager.py Add agent scheduling for LBaaS namespace agent 2013-07-19 13:25:04 +04:00
neutron_plugin_base_v2.py Remove openstack.common.exception usage 2013-08-06 10:42:02 +02:00
policy.py Fix message i18n error 2013-09-08 15:58:12 +08:00
quota.py Fallback to Quota Conf Driver if Quotas table is not defined 2013-10-11 19:59:59 -04:00
service.py Fix message i18n error 2013-09-08 15:58:12 +08:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Use built-in print() instead of print statement 2013-09-21 07:30:33 -07:00