Better quota management and enforccement
Bug #1594215 reported by
Sumit Naiksatam
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Group Based Policy |
Fix Released
|
Medium
|
Sumit Naiksatam |
Bug Description
Neutron has implemented an improved Quota enforcement model [1] involving registration and tracking of resource instances. This can be leveraged for GBP resources as well.
[1] https:/
Changed in group-based-policy: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/331462 /git.openstack. org/cgit/ openstack/ group-based- policy/ commit/ ?id=9519193d9c5 dc610aa693efdf0 72fe6b55903eec
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9519193d9c5dc61 0aa693efdf072fe 6b55903eec
Author: Sumit Naiksatam <email address hidden>
Date: Sun Jun 19 01:43:56 2016 -0700
Better quota enforcement for GBP resources
This patch aligns the quota enforcement in GBP with the /blueprints. launchpad. net/neutron/ +spec/better- quotas
changes made in Neutron quota management as a part of the
following blueprint and implementation patches referenced
therein:
https:/
The decorator @resource_ registry. tracked_ resources in the quota.resource_ registry module is applied to the GBP
neutron.
and Service Chain plugin __init__ methods.
In addition, the local_api module is also enhanced to enforce
quotas when GBP and Service Chain resources are created implicitly.
Older UTs that test the quotas have been preserved thus validating
the approach (they have only been moved to the appropriate test classes
on account of the resource tracking logic having moved from the earlier
DB modules to the plugin modules).
Closes-bug: 1594215
Change-Id: I38093426c89d1f 4398c40da1f3392 c0988831ff8