Support quota in mogan(part two)

This patch introduces the quota operation in
creating and deleting instances process.

Change-Id: If6573fafc5acb805cf727acdc8f0f9872fc1a717
Implements: blueprint quota-support
This commit is contained in:
wanghao
2017-03-09 15:53:38 +08:00
parent 3736848733
commit efa63af620
9 changed files with 167 additions and 59 deletions

View File

@@ -20,6 +20,7 @@ from mogan.common.i18n import _
quota_opts = [
cfg.StrOpt('quota_driver',
default="database",
help=_("Specify the quota driver which is used in Mogan "
"service.")),
cfg.IntOpt('reservation_expire',