Merge "Add exception to prevent overlapped segment ranges"

This commit is contained in:
Zuul 2019-02-27 15:27:25 +00:00 committed by Gerrit Code Review
commit 261df27364
2 changed files with 10 additions and 0 deletions

View File

@ -33,3 +33,8 @@ class NetworkSegmentRangeReferencedByProject(exceptions.NeutronException):
class NetworkSegmentRangeDefaultReadOnly(exceptions.NeutronException):
message = _("Network Segment Range %(range_id)s is a "
"default segment range which could not be updated or deleted.")
class NetworkSegmentRangeOverlaps(exceptions.Conflict):
message = _("Network segment range overlaps with range(s) "
"with id %(range_id)s")

View File

@ -0,0 +1,5 @@
---
features:
- |
Add ``NetworkSegmentRangeOverlaps`` exception to prevent overlapping
network segment ranges on creation.