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:
Przemyslaw Szczerbik
2021-09-14 15:06:38 +02:00
parent d69c5d86c6
commit 63869951ea

View File

@@ -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.")