neutron/neutron/agent/linux
Rodolfo Alonso Hernandez d14ee014ff Check interface presence in new namespace
When an interface is moved to a new namespace, specially with OVS
internal ports, the interface first dissapears from any network
namespace and then is added again. ovs-vswitchd service detects
this interface change as reported in [1]. This delay is the cause
of the related bug, where some interfaces are not present when
the L3 agent needs to manipulate them.

[1]https://bugs.launchpad.net/neutron/+bug/1948832/comments/3

Conflicts:
    neutron/tests/functional/agent/linux/test_ip_lib.py

Closes-Bug: #1948832

Change-Id: I3af4d0afa784899689ccb595ce6ba64495431eb9
(cherry picked from commit ebc4766990)
(cherry picked from commit 9c41365041)
2021-11-18 08:46:39 +00:00
..
openvswitch_firewall [ovs fw] Restrict IPv6 NA and DHCP(v6) IP and MAC source addresses 2021-05-19 11:35:21 +02:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
bridge_lib.py Add namespace support for "bridge" commands 2019-04-29 07:52:18 +00:00
daemon.py Set neutron-keepalived-state-change proctitle 2019-05-23 15:22:35 +08:00
dhcp.py Remove dhcp_extra_opt name after first newline character 2021-11-10 14:40:46 +00:00
dibbler.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
ethtool.py Workaround for TCP checksum issue with ovs-dpdk and veth pair 2020-06-29 12:56:39 -05:00
external_process.py Delete HA metadata proxy PID and config with elevated privileges 2021-03-03 08:38:24 +00:00
interface.py Revert "[L3][HA] Retry when setting HA router GW status." 2021-09-16 19:59:39 +00:00
ip_conntrack.py [OVS FW] Clean conntrack entries with mark == CT_MARK_INVALID 2021-02-23 13:41:58 +00:00
ip_lib.py Check interface presence in new namespace 2021-11-18 08:46:39 +00:00
ipset_manager.py Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue" 2021-01-20 17:02:06 +01:00
iptables_comments.py Iptables firewall driver adds forward rules for trusted ports 2018-03-06 10:13:44 +01:00
iptables_firewall.py Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue" 2021-01-20 17:02:06 +01:00
iptables_manager.py Merge "Do not initialize the iptables nat table in the dhcp-agent" 2019-04-26 06:42:34 +00:00
keepalived.py Ensure "keepalived" is correcly disabled 2021-01-15 17:53:29 +00:00
l3_tc_lib.py Use Pyroute2 "add_tc_qdisc" function in l3_tc_lib 2019-07-05 08:13:07 +00:00
pd.py Handle properly existing LLA address during l3 agent restart 2020-08-25 09:09:25 +00:00
pd_driver.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
ra.py Add radvd_user config option 2019-10-25 08:14:45 +00:00
tc_lib.py Fix the wrong value for QoS rate conversion to bytes/s 2020-06-24 17:22:02 +00:00
utils.py Delete HA metadata proxy PID and config with elevated privileges 2021-03-03 08:38:24 +00:00
xenapi_root_helper.py Fix bandit warning 2019-05-10 08:38:34 -04:00