neutron/neutron/tests/unit/services
Rodolfo Alonso Hernandez 1229be91d9 Refactor qos_plugin._extend_port_resource_request
In order to speed up the port collection, some DB calls
have been deleted in the extended function
"QoSPlugin._extend_port_resource_request".

With the parent commit, the port DB/OVO object now has the
network QoS policy ID, making the network retrieval unneeded.

In this refactor the QoS policy is collected from the DB only
if a valid QoS policy ID exists, bound to the port or to the
network. This reduces the number of QoS objects collection to
one or zero.

Change-Id: Iadf704c00378da99c502dca3e3b79796c368cac7
Closes-Bug: #1834484
(cherry picked from commit 8b00349a63)
2019-07-05 16:39:11 +00:00
..
auto_allocate remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
l3_router Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
logapi Add QoS minimum egress bandwidth rule into ovs-agent 2019-02-26 11:05:04 +00:00
metering consume UnorderedList from neutron-lib 2019-03-11 06:07:54 -06:00
network_segment_range Fix error 500 during segment range creation 2019-04-09 06:48:54 +00:00
placement_report Merge "Fail placement sync if _get_rp_by_name() fails" 2019-03-15 11:52:06 +00:00
portforwarding Prevent create port forwarding to port which has binding fip 2018-11-10 07:09:51 +08:00
qos Refactor qos_plugin._extend_port_resource_request 2019-07-05 16:39:11 +00:00
revisions Specify tenant_id in TestRevisionPlugin objects 2019-03-13 15:54:37 +00:00
trunk Use allocated trunk_id in TestOVSDBHandler 2019-03-12 16:55:11 -04: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