neutron/neutron/objects/qos
Sławek Kapłoński 30b86eb169 Fix error message when duplicate QoS rule is created
When user tries to create QoS rule which already exists in same
QoS policy, only check if rule is duplicated was done on DB layer.
Because of that, there was many retries of DB operations so user
waits to response from Neutron server long time.
Also error message returned from this DB related exception was not
user friendly.

This patch adds additional check of such duplicated rules before
there is attempt to save new/updated rule in database so in case
of error, response is send to user faster and it has proper
message.

Change-Id: I7d55df1eb931583c3dde064e073deb3e5479acc2
Closes-Bug: #1746526
(cherry picked from commit a91d84cfb4)
2018-02-23 14:39:14 +01:00
..
__init__.py First QoS versioned objects, ever 2015-07-02 09:21:45 +03:00
binding.py Add QoS policy network binding OVO 2017-07-07 10:53:04 +01:00
policy.py Tag mechanism supports resources with standard attribute 2017-07-25 08:14:04 +09:00
qos_policy_validator.py Fix error message when duplicate QoS rule is created 2018-02-23 14:39:14 +01:00
rule.py Fix error message when duplicate QoS rule is created 2018-02-23 14:39:14 +01:00
rule_type.py New API call to get details of supported QoS rule type 2017-07-11 14:24:17 +00:00