ovn-bgp-agent/ovn_bgp_agent/drivers/openstack
Luis Tomas Bolivar a4c1fde816 Avoid race between withdraw_subnet and cr-lrp association
There is a chance that at the same time of processing a
withdraw_subnet event, its associated cr-lrp got moved to the
local chassis. This will lead to KeyError exception as the
withdraw process moves forward but the event to associate the
cr-lrp to the local chassis has not yet being processed.

In this case there is no need to process the withdraw_subnet
event in the local chassis as it has not yet been exposed. This
patch is adding protection for this case.

Change-Id: I64bd6e99cd6b38247b4a77c8a61860d51c6d116c
2023-02-10 10:51:17 +01:00
..
utils Merge "Remove unneed functions" 2023-02-09 11:54:08 +00:00
watchers Ensure ovn loadbalancers are properly managed 2023-02-09 10:35:26 +01:00
__init__.py Initial support for BGP 2021-09-01 11:29:04 +02:00
ovn_bgp_driver.py Avoid race between withdraw_subnet and cr-lrp association 2023-02-10 10:51:17 +01:00
ovn_evpn_driver.py Code reshape to avoid code duplication 2022-12-12 11:43:07 +01:00
ovn_stretched_l2_bgp_driver.py Support for AddressScopes as an API of what to expose 2023-01-30 13:24:55 +01:00