keepalived: add track_script to vrrp_sync_group
authorRishabh <redacted>
Mon, 20 Apr 2026 16:41:23 +0000 (22:11 +0530)
committerFlorian Eckert <redacted>
Mon, 27 Apr 2026 12:28:04 +0000 (14:28 +0200)
commit82f99e081501f8d70228c23c16db2e8650add32b
tree91f327524b99499e276eebd5ff3aa5b7e32c0fe9
parent22919cd685886f958cc2a38d6230f079b2c33b9b
keepalived: add track_script to vrrp_sync_group

Add logic to parse track_script section for vrrp_sync_group.
Keepalived supports script tracking in vrrp_sync_group but this was not
implemented by the uci implementation.

Note that if a vrrp_script is added to a sync group, you cannot use
priority/weight for that script as a vrrp_sync_group does not have a
priority/weight attached to it. It will do up/down as whole.

This option is optional and wouldn't affect any older configurations
during upgrade.

Signed-off-by: Rishabh <redacted>
net/keepalived/files/keepalived.init
git clone https://git.99rst.org/PROJECT