]> 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)
committerAkihiro MOTOKI <motoki@da.jp.nec.com>
Sun, 6 Oct 2013 23:52:45 +0000 (08:52 +0900)
commitde15e0b9c51cf9124de41258c1e3d774de215213
treea71b653289cb9a425ff7a3afc808355f7c01727f
parentc1678e4f1a3d07604072f50430c5568b897c13ee
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