neutron/neutron/agent/linux
Jakub Libosvar 4fdd89e94f l3-ha: Send gratuitous ARP when new floating IP is added
We rely on keepalived to send gratuitous ARPs when floating IP is added.
Older versions of keepalived up to 1.2.20 (exclusive) contain bug [1] where
keepalived does not send GARP on receiving SIGHUP. Unfortunately, newer
versions containing the fix are not packaged yet for some distributions
like RHEL or CentOS or Ubuntu Xenial, so this patch adds a workaround for
such distributions until new packages are available.

The patch also sets net.ipv4.ip_nonlocal_bind kernel parameter to 0 for
Snat and HA router namespaces in order to avoid sending gratuitous ARPs
for IP addresses that are not bound to the interface anymore - possibly
because of failover or removal. Note that kernel < 3.19 contain a bug
where this knob is missing. In case it attempts to set the parameter and
it's missing on the system, it doesn't set the knob in root
namespace like it's done for fip namespaces, but only issues a warning
message.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1391553

Change-Id: Ieab53624dc34dc687a0e8eebd84778f7fc95dd77
Closes-bug: 1639315
2016-11-10 15:27:21 -05:00
..
openvswitch_firewall ovsfw: Add a dl_type match for action=ct flows 2016-10-19 17:16:33 +09:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
async_process.py Move wait_until_true to neutron.common.utils 2016-06-27 11:40:11 +00:00
bridge_lib.py LinuxBridge: Use ifindex for logical 'timestamp' 2016-09-14 17:02:46 +00:00
daemon.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
dhcp.py neutron-lib: use replace_file from neutron lib 2016-11-07 09:18:41 +00:00
dibbler.py neutron-lib: use replace_file from neutron lib 2016-11-07 09:18:41 +00:00
external_process.py Use ensure_tree from oslo_utils.fileutils 2016-11-05 00:00:31 -07:00
interface.py IP Conntrack Manager changes for FWaaS v2 2016-11-03 22:07:25 -04:00
ip_conntrack.py IP Conntrack Manager changes for FWaaS v2 2016-11-03 22:07:25 -04:00
ip_lib.py l3-ha: Send gratuitous ARP when new floating IP is added 2016-11-10 15:27:21 -05:00
ip_link_support.py Add new configuration test in sanity check: vf_extended_management 2016-08-30 11:27:55 +00:00
ip_monitor.py Ignore possible suffix in iproute commands. 2015-12-10 11:16:12 +02:00
ipset_manager.py IPSet Manager: make code more pythonic 2015-11-01 04:29:47 -08:00
iptables_comments.py Neutron to Drop Router Advts from VM ports 2015-04-24 03:42:07 +00:00
iptables_firewall.py IP Conntrack Manager changes for FWaaS v2 2016-11-03 22:07:25 -04:00
iptables_manager.py Fix metering-agent iptables restore failure 2016-09-16 01:00:51 +00:00
keepalived.py neutron-lib: use replace_file from neutron lib 2016-11-07 09:18:41 +00:00
ovsdb_monitor.py Watch for 'new' events in ovsdb monitor for ofport 2016-03-17 05:21:37 -07:00
pd_driver.py Fix module's import order 2016-01-22 06:38:42 -08:00
pd.py Improved readibility and fixed indentation 2016-10-10 11:03:53 +02:00
polling.py Wait for ovsdb_monitor to be active before use it 2016-08-27 08:17:42 +00:00
ra.py neutron-lib: use replace_file from neutron lib 2016-11-07 09:18:41 +00:00
tc_lib.py Add setting default max_burst value if not given by user 2016-05-12 10:06:54 +00:00
utils.py Use ensure_tree from oslo_utils.fileutils 2016-11-05 00:00:31 -07:00