neutron/neutron/tests/unit/plugins/ml2/drivers
Sławek Kapłoński cdcc704b9e [OVS] Fix for cleaning after skipped_devices
When Openvswitch agent will get "port_update" event
(e.g. to set port as unbound) and port is already removed
from br-int when agent tries to get vif port in
treat_devices_added_updated() method (port is removed
because e.g. nova-compute removes it) then resources set
for port by L2 agent extension drivers (like qos) are not
cleaned properly.

In such case port is added to skipped_ports and is set
as DOWN in neutron-db but ext_manager is not called then
for such port so it will not clear stuff like bandwidth
limit's QoS and queue records and also DSCP marking
open flow rules for this port.

This patch fixes this issue by adding call of
ext_manager.delete_port() method for all skipped ports.

Change-Id: I3cf5c57c7f232deaa190ab6b0129e398fdabe592
Closes-Bug: #1737892
(cherry picked from commit a8271e978a)
2018-06-12 20:57:08 +00:00
..
agent Remove deprecated prevent_arp_spoofing option 2017-07-20 13:57:14 -07:00
l2pop DVR: Fix binding info for DVR port not found error 2017-07-27 09:07:55 -04:00
linuxbridge Use same instance of iptables_manager in L2 agent and extensions 2018-01-08 13:38:24 +01:00
macvtap Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
mech_sriov ovs mech: bind only if user request switchdev 2017-09-20 05:11:55 +00:00
openvswitch [OVS] Fix for cleaning after skipped_devices 2018-06-12 20:57:08 +00:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
base_type_tunnel.py use MechanismDriver from neutron-lib + shim 2017-06-05 14:09:07 -06:00
ext_test.py New enginefacade for networks, subnets. 2017-03-30 01:26:45 -07:00
mech_fake_agent.py use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
mech_faulty_agent.py Exit on failure to load mechanism drivers 2017-04-11 09:56:08 -05:00
mechanism_logger.py Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
mechanism_test.py use MechanismDriver from neutron-lib + shim 2017-06-05 14:09:07 -06:00
test_helpers.py Spin off context module 2017-03-06 16:25:29 +00:00
test_type_flat.py use MechanismDriver from neutron-lib + shim 2017-06-05 14:09:07 -06:00
test_type_geneve.py Change tunnel MTU calculation to support IPv6 2016-07-05 18:07:29 -04:00
test_type_gre.py Change passing session to context for TypeDriver 2016-12-21 14:22:16 +04:00
test_type_local.py use MechanismDriver from neutron-lib + shim 2017-06-05 14:09:07 -06:00
test_type_vlan.py Fix delete vlan allocation error for ML2 2018-05-18 00:55:20 +00:00
test_type_vxlan.py Change tunnel MTU calculation to support IPv6 2016-07-05 18:07:29 -04:00