Move QosPlacementAllocationUpdateConflict to neutron-lib
Addresses TODO comment from [1]. [1] https://opendev.org/openstack/neutron/src/branch/master/neutron/exceptions/qos.py#L20 Related-Bug: #1922237 See-Also: https://review.opendev.org/785236 Change-Id: I0a0f37b671b7c8d41677f44808e10be767904c51
This commit is contained in:
@@ -115,3 +115,9 @@ class QosPlacementAllocationConflict(e.Conflict):
|
||||
message = _("Allocation for consumer %(consumer)s is not possible on "
|
||||
"resource provider %(rp)s, the requested amount of bandwidth "
|
||||
"would exceed the capacity available.")
|
||||
|
||||
|
||||
class QosPlacementAllocationUpdateConflict(e.Conflict):
|
||||
message = _("Updating placement allocation with %(alloc_diff)s for "
|
||||
"consumer %(consumer)s failed. The requested resources would "
|
||||
"exceed the capacity available.")
|
||||
|
||||
Reference in New Issue
Block a user