]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Introduce ip address monitor
authorAssaf Muller <amuller@redhat.com>
Sun, 22 Feb 2015 00:28:54 +0000 (19:28 -0500)
committerAssaf Muller <amuller@redhat.com>
Wed, 4 Mar 2015 01:06:14 +0000 (20:06 -0500)
commitaec3a94cd360be94a20d095241e5b2a6dd5ec21f
treebce6c79b6f460fe2b4fc35c4836b05cd5eb1fa59
parent7907d40075de7528122b0e900a5699b280a04901
Introduce ip address monitor

In Juno, we used keepalived notifier scripts to report the local
state of an HA router's state. These have been found to be
unreliable. The proposed approach is to not use them altogether.
Instead, monitor the omnipresent VIP on the HA device - It is
only configured on the master instance. In order to do that,
we'll use the 'ip monitor address' wrapper introduced in this patch
to get address change events as they happen to avoid polling.

Related-Bug: #1402010
Change-Id: Icc2c07efb7e20008ff5b07d7df2104e6099091d7
etc/neutron/rootwrap.d/l3.filters
neutron/agent/linux/async_process.py
neutron/agent/linux/ip_monitor.py [new file with mode: 0644]
neutron/tests/functional/agent/linux/test_async_process.py
neutron/tests/functional/agent/linux/test_ip_monitor.py [new file with mode: 0644]
neutron/tests/functional/agent/linux/test_utils.py
neutron/tests/unit/agent/linux/test_async_process.py
neutron/tests/unit/agent/linux/test_ip_monitor.py [new file with mode: 0644]