keepalived: add new uci section config interface_up_down_delays
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 4 Feb 2025 12:01:53 +0000 (13:01 +0100)
committerFlorian Eckert <Eckert.Florian@googlemail.com>
Thu, 13 Feb 2025 12:34:08 +0000 (13:34 +0100)
commitae038d077373f1ea64b007c2bc46e5f8ee53f778
tree88edad92301a7ebb964c2fbcb6ee9cc615c4701f
parentf02a1df1299bf78864db27e8c531f00b31b6db09
keepalived: add new uci section config interface_up_down_delays

If an interface that is being used (or tracked) by a VRRP instance goes to
down state, the VRRP instance(s) will, by default, immediately transition to
FAULT state, and when all relevant interfaces are back up again the VRRP
instance(s) will immediately transition to BACKUP state.

This can cause problems if interfaces are bouncing, and so delays can be
specified between the interface state change and the transition to
FAULT/BACKUP state. If the interface returns to its original state before
the delay expires, no associated VRRP instance state transition will occur.

New uci section 'interface_up_down_delay':

config interface_up_down_delays
option device <device>
option down_delay <number in seconds>
option up_delay <number in seconds>

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/keepalived/files/keepalived.init