Quotas API:
Sits atop quantum.quota.QuotaEngine and quantum.extensions.quotasv2. Extends and replaces quantum.db.quota_db.DbQuotaDriver with QuarkQuotaDriver.
For hierarchal quota checks (ie, rules per group) the plugin must call the QuotaEngine independently of quantum. Implemented in config file in QUOTAS group as quota_X_per_Y.
Requires the config flag:
[QUOTAS]
quota_driver = quark.quota_driver.QuarkQuotaDriver
Driver limits:
Separates the business logic of quotas from the limits in the specific driver implementation. Also allows the plugin to check limits in the case that it is more efficient than doing it in the driver.
We should discuss the use of the driver limits checks. I implemented it thinking it would be useful, but... since the optimized driver has all of the information that quark itself does, it may be useless.
Combination of #120 and #122.
Quotas API: Sits atop quantum.quota.QuotaEngine and quantum.extensions.quotasv2. Extends and replaces quantum.db.quota_db.DbQuotaDriver with QuarkQuotaDriver. For hierarchal quota checks (ie, rules per group) the plugin must call the QuotaEngine independently of quantum. Implemented in config file in QUOTAS group as quota_X_per_Y.
Requires the config flag: [QUOTAS] quota_driver = quark.quota_driver.QuarkQuotaDriver
Driver limits: Separates the business logic of quotas from the limits in the specific driver implementation. Also allows the plugin to check limits in the case that it is more efficient than doing it in the driver.