Commit graph

7 commits

Author SHA1 Message Date
Alexandru Ardelean
f59f751e9a keepalived: use old keepalived.conf by default
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-04 20:46:53 +02:00
Ben Kelly
8483011a51 keepalived: suppress reloads when config md5 has no change
Signed-off-by: Ben Kelly <ben@benjii.net>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-12-31 12:39:05 +02:00
Ben Kelly
0b16c2ada2 keepalived: Fix ordering of config sections
keepalived seems to be rather particular about which config parameters
come before others.

When defining a virtual IP address, keepalived will check to see if the
vrrp instance is associated with a valid interface. Previously, the
interface parameter was declared after the virtual IP address which
caused an error when keepalived tried to run this check. Keepalived
tries to fall back to checking if 'eth0' exists.

The fix is to re-order the config stanzas so that the interface
parameter comes before the virtual IP address definitions.

Signed-off-by: Ben Kelly <ben@benjii.net>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-12-31 12:37:14 +02:00
Ben Kelly
37d9426ac5 keepalived: Fix track_* option in vrrp_instance defn
Also fix ordering of config stanzas

We were parsing the track_script and track_interface definitions to
include the weight param when configuring a vrrp_instance. This is not
correct, as the weight param inside a vrrp instance is used to augment
the one defined in the script.

We were also not taking into account vrrp_script stanzas

This commit skips the parsing and simply lists the name of the
track/vrrp object

Signed-off-by: Ben Kelly <ben@benjii.net>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-12-31 12:31:40 +02:00
Alexandru Ardelean
a883235e13 keepalived: add uci config support
Adding @scrpi (Ben Kelly).
Initial UCI config support was written by me (@commodo)

Updates & fixes added by Ben.

Signed-off-by: Ben Kelly <ben@benjii.net>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-12-31 12:15:54 +02:00
Alexandru Ardelean
e5c3d4433f keepalived: convert init script to procd format
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-12-31 12:15:22 +02:00
Nicolas Thill
460237b52e keepalived: import from old packages feed
- update to latest version (v1.2.15)
 - add license info
 - add myself as maintainer

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-07 11:10:03 +01:00