commit b89a05e5fcdefc1fd54c088f62f72cd980d90098
Author: Eric Larson <email address hidden>
Date: Wed Feb 24 11:07:23 2016 -0600
Ensure the zone records quota is enforced
When creating a recordset, we only assert the recordset specific quota
is respected, ignoring the zone record quota.
This updates the code to enforce the records quota as well as excludes
the managed records when calculating the quota. Also, the submitted
records are taken into account when testing the quota. For example, if
the total number is 10 and the limit is 11 (the total must be less
than the quota), submitting an update to a recordset to lower the
number of A records from 5 to 3 should be allowed.
Reviewed: https:/ /review. openstack. org/284361 /git.openstack. org/cgit/ openstack/ designate/ commit/ ?id=b89a05e5fcd efc1fd54c088f62 f72cd980d90098
Committed: https:/
Submitter: Jenkins
Branch: master
commit b89a05e5fcdefc1 fd54c088f62f72c d980d90098
Author: Eric Larson <email address hidden>
Date: Wed Feb 24 11:07:23 2016 -0600
Ensure the zone records quota is enforced
When creating a recordset, we only assert the recordset specific quota
is respected, ignoring the zone record quota.
This updates the code to enforce the records quota as well as excludes
the managed records when calculating the quota. Also, the submitted
records are taken into account when testing the quota. For example, if
the total number is 10 and the limit is 11 (the total must be less
than the quota), submitting an update to a recordset to lower the
number of A records from 5 to 3 should be allowed.
Closes-Bug: #1548331 c5b8dbe3db69044 c4da889b7d8
Change-Id: I26839eca1c4901