neutron/neutron/plugins/ml2/drivers
Darragh O'Reilly d1e2b840b5 ovs agent: signal to plugin if tunnel refresh needed
Patch https://review.opendev.org/#/c/697655/ cannot be backported
because it includes an RPC version change. This patch is for the
stable branches.

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 also setting the agent_restarted flag if
the agent has not received the flooding entries for a network.

Change-Id: Iccc4fe4a785ee042fd76a663d0e76a27facd1809
Closes-Bug: #1853613
(cherry picked from commit bc0ab0fcd7)
(cherry picked from commit aee87e72b1)
2020-02-24 13:34:08 +03:00
..
agent Merge "Dont use dict.get() to know certain key is in dict" 2018-07-25 15:28:18 +00:00
l2pop More accurate agent restart state transfer 2019-03-29 22:04:21 +08:00
linuxbridge Add binding activation to the Linuxbridge agent 2018-07-19 15:12:20 -05:00
macvtap use plugin common utils from neutron-lib 2018-04-17 12:06:28 -06:00
mech_sriov SRIOV agent: wait VFs initialization on embedded switch create 2019-06-10 07:12:47 +00:00
openvswitch ovs agent: signal to plugin if tunnel refresh needed 2020-02-24 13:34:08 +03:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
helpers.py use plugin utils from neutron-lib 2018-07-12 08:13:05 -06:00
mech_agent.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_flat.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_geneve.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_gre.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_local.py use ml2 driver api from neutron-lib 2017-11-10 08:41:28 -07:00
type_tunnel.py use retry_db_errors from neutron-lib 2018-07-16 08:10:54 -06:00
type_vlan.py Fix creation of vlan network with segmentation_id set to 0 2019-09-17 07:00:26 +00:00
type_vxlan.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00