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.
Reviewed: https:/ /review. openstack. org/49993 github. com/openstack/ neutron/ commit/ de15e0b9c51cf91 24de41258c1e3d7 74de215213
Committed: http://
Submitter: Jenkins
Branch: master
commit de15e0b9c51cf91 24de41258c1e3d7 74de215213
Author: Akihiro MOTOKI <email address hidden>
Date: Mon Oct 7 08:38:07 2013 +0900
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: I9e20961d5a6322 361e3c0284b3c2a 7ca86755c70