neutron/neutron/services/qos
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
..
drivers remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
__init__.py QoS service plugin stub 2015-06-29 17:51:10 +03:00
qos_plugin.py Refactor qos_plugin._extend_port_resource_request 2019-07-05 16:39:11 +00:00