neutron/neutron/tests/unit/services
Sławek Kapłoński a91d84cfb4 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
2018-02-13 10:16:02 +01:00
..
auto_allocate OVO External Networks 2017-03-07 20:03:30 +00:00
l3_router use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
logapi Merge "Fix mocking of ovsdb connection in UT" 2018-01-13 12:45:01 +00:00
metering test_metering_plugin: convert from Agent model to OVO 2017-12-11 16:45:34 +07:00
qos Fix error message when duplicate QoS rule is created 2018-02-13 10:16:02 +01:00
revisions Merge "Switch to Pecan for unit tests" 2017-09-14 15:14:44 +00:00
trunk Speed up trunk MTU enforcement check 2018-01-10 14:20:57 -08:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_provider_configuration.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00