]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Enable Quota DB driver by default
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Sun, 6 Oct 2013 23:38:07 +0000 (08:38 +0900)
committerMark McClain <mark.mcclain@dreamhost.com>
Tue, 8 Oct 2013 15:00:56 +0000 (11:00 -0400)
commit82fee2ff4d298d26149a99519f33935746f82570
treeb4e6abf2525fd2ea5262859ef505f69005ffb804
parentd90649f0e9c8babc4896550d312e4ea862e51a03
Enable Quota DB driver by default

Closes-Bug: #1189671

Quota driver is now loaded in lazy mode, i.e. the driver is loaded
the first time the driver is accessed. This is to make unit tests
work. Some unit tests like extension test cases need to use Config
Quota driver (previous default) but QuotaEngine is initialized
when quota.py is imported. Thus the unit tests had no chance to
specify quota_driver.

Change-Id: I9e20961d5a6322361e3c0284b3c2a7ca86755c70
etc/neutron.conf
neutron/quota.py
neutron/tests/unit/nicira/test_networkgw.py
neutron/tests/unit/services/vpn/test_vpnaas_extension.py
neutron/tests/unit/test_api_v2.py
neutron/tests/unit/test_extension_extended_attribute.py
neutron/tests/unit/test_extension_pnet.py
neutron/tests/unit/test_l3_plugin.py
neutron/tests/unit/test_quota_ext.py