neutron/neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent
Darragh O'Reilly 93e9dc5426 ovs agent: signal to plugin if tunnel refresh needed
Currently the ovs agent calls update_device_list with the
agent_restarted flag set only on the first loop iteration. Then the
server knows to send the l2pop flooding entries for the network to
the agent. But when a compute node with many instances on many
networks reboots, it takes time to readd all the active devices and
some may be readded after the first loop iteration. Then the server
can fail to send the flooding entries which means there will be no
flood_to_tuns flow and broadcasts like dhcp will fail.

This patch fixes that by renaming the agent_restarted flag to
refresh_tunnels and setting it if the agent has not received the
flooding entries for the network.

Change-Id: I607aa8fa399e72b037fd068ad4f02b6210e57e91
Closes-Bug: #1853613
2020-01-09 14:18:43 +00:00
..
extension_drivers Migrate from ofctl to native QoS DSCP 2019-12-05 12:08:21 +00:00
openflow Migrate from ofctl to native QoS DSCP 2019-12-05 12:08:21 +00:00
__init__.py Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
fake_oflib.py Replace ryu with os_ken 2018-12-13 10:00:17 +00:00
ovs_test_base.py Drop of_interface option 2019-05-24 10:33:48 +02:00
test_ovs_agent_extension_api.py Drop of_interface option 2019-05-24 10:33:48 +02:00
test_ovs_capabilities.py unit test: unbreak test cases for callbacks.subscribe 2018-04-11 07:20:42 +00:00
test_ovs_neutron_agent.py ovs agent: signal to plugin if tunnel refresh needed 2020-01-09 14:18:43 +00:00
test_ovs_tunnel.py Add "igmp_snooping_enable" config option for OVS agent 2019-11-02 13:46:13 +01:00
test_vlanmanager.py Change provider network segmentation ID in OVS agent 2019-05-20 18:53:17 +00:00