New exception QosPlacementAllocationConflict
In case the update of placement allocation fails with conflict and with message like: "The requested amount would exceed the capacity" this new exception can indicate it for neuton users. Change-Id: I2460e7d8025cedd2e92abdc9d769d2ad0b84838b Related-Bug: #1882804
This commit is contained in:
parent
41e6b9bed8
commit
0380f0c860
|
@ -105,3 +105,9 @@ class RouterQosBindingNotFound(e.NotFound):
|
|||
class RouterQosBindingError(e.NeutronException):
|
||||
message = _("QoS binding for router %(router_id)s gateway and policy "
|
||||
"%(policy_id)s could not be created: %(db_error)s.")
|
||||
|
||||
|
||||
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.")
|
||||
|
|
Loading…
Reference in New Issue