Add traffic control exceptions
Added new traffic control exceptions TcLibQdiscNeededArguments and TcLibQdiscTypeError in ``neutron-lib.exceptions.qos``. Related-Bug: #1560963 Change-Id: I4cad9bbfc5e0ed20bd24be33544ba0fa06898f54
This commit is contained in:
parent
532b398b90
commit
b934133e69
@ -85,3 +85,13 @@ class QoSRulesConflict(e.Conflict):
|
||||
class PolicyRemoveAuthorizationError(e.NotAuthorized):
|
||||
message = _("Failed to remove provided policy %(policy_id)s "
|
||||
"because you are not authorized.")
|
||||
|
||||
|
||||
class TcLibQdiscTypeError(e.NeutronException):
|
||||
message = _("TC Qdisc type %(qdisc_type)s is not supported; supported "
|
||||
"types: %(supported_qdisc_types)s.")
|
||||
|
||||
|
||||
class TcLibQdiscNeededArguments(e.NeutronException):
|
||||
message = _("TC Qdisc type %(qdisc_type)s needs following arguments: "
|
||||
"%(needed_arguments)s.")
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Adds new traffic control exceptions ``TcLibQdiscNeededArguments``
|
||||
and ``TcLibQdiscTypeError`` in ``neutron-lib.exceptions.qos``.
|
Loading…
Reference in New Issue
Block a user