-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. Cherry-pick from review.openstack.org/284361/ Closes-Bug: #1548331 Change-Id: I26839eca1c4901c5b8dbe3db69044c4da889b7d8
- Loading branch information
Showing
3 changed files
with
119 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters