neutron/neutron/services/qos
Rodolfo Alonso Hernandez 8b00349a63 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
2019-07-05 08:10:01 +00:00
..
drivers remove neutron.common.constants 2019-04-04 14:10:26 -06: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 08:10:01 +00:00