neutron/neutron/plugins/ml2/drivers
Rodolfo Alonso Hernandez 83d7eb961d Add OVS QoS driver cache for minimum bandwidth rules
1. Add OVS QoS driver cache
Added minimum bandwidth rules cache in the OVS QoS driver. If a new
port is detected in the integration bridge, managed by the OVS agent
driver, the QoS extension is applied (if configured).

If this new port does not have a QoS rule, by default the QoS
configuration is reset in this port. Because this port has no Queue
related, the call "QosOVSAgentDriver.delete_minimum_bandwidth" should
not execute the rule cleanup.

This QoS rule cache implementation per porti is currently used in the
OVS QoS driver for the DSCP and the bandwitdh limit rules.

2. If a Queue cannot be deleted, log the QoS registers using it
If a Queue is still used in a QoS register in the OVSDB, it cannot
be deleted. With the current design, only one QoS rule is created in
the database and several Queues are assigned to it.

If something external to the OVS agent is handling the Queues and by
mistake a Queue is assigned to other QoS registers, this error is now
logged before raising the exception.

Closes-Bug: #1845176
Change-Id: Ia9077fc20e4ca360819a2e368c8c1f9250e5a6d8
2020-01-07 14:40:28 +00:00
..
agent remove neutron.common.constants 2019-04-04 14:10:26 -06:00
l2pop Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
linuxbridge Use "via" in gateway dictionary in Linux Bridge agent 2019-12-12 10:30:58 +00:00
macvtap Add "connectivity" parameter in vif_details 2019-07-05 10:13:11 +00:00
mech_sriov Locate RP-tree parent by hypervisor name 2019-12-10 10:21:53 +01:00
openvswitch Add OVS QoS driver cache for minimum bandwidth rules 2020-01-07 14:40:28 +00:00
ovn Work around potential double row.delete() call 2019-12-19 09:18:36 -06:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
helpers.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
mech_agent.py Add "connectivity" parameter in vif_details 2019-07-05 10:13:11 +00:00
type_flat.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_geneve.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_gre.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_local.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_tunnel.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
type_vlan.py Fix creation of vlan network with segmentation_id set to 0 2019-08-30 22:32:19 +02:00
type_vxlan.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00