keepalived: add new option vrrp_startup_delay
Redmine-patch-id: 3441 Add new global option vrrp_startup_delay to the uci. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
37e7dbc3fc
commit
344114ae81
2 changed files with 9 additions and 2 deletions
|
@ -10,6 +10,7 @@ config global_defs
|
||||||
# option vrrp_mcast_group4 "224.0.0.18" # optional, default 224.0.0.18
|
# option vrrp_mcast_group4 "224.0.0.18" # optional, default 224.0.0.18
|
||||||
# option vrrp_mcast_group6 "f02::12" # optional, default ff02::12
|
# option vrrp_mcast_group6 "f02::12" # optional, default ff02::12
|
||||||
# option linkbeat_use_polling "1"
|
# option linkbeat_use_polling "1"
|
||||||
|
# option vrrp_startup_delay "5"
|
||||||
|
|
||||||
#config ipaddress
|
#config ipaddress
|
||||||
# option name "ipaddress0"
|
# option name "ipaddress0"
|
||||||
|
|
|
@ -105,8 +105,14 @@ global_defs() {
|
||||||
config_get notification_email $1 notification_email
|
config_get notification_email $1 notification_email
|
||||||
print_list_indent notification_email
|
print_list_indent notification_email
|
||||||
|
|
||||||
print_elems_indent $1 $INDENT_1 notification_email_from smtp_server smtp_connect_timeout \
|
print_elems_indent $1 $INDENT_1 \
|
||||||
router_id vrrp_mcast_group4 vrrp_mcast_group6
|
notification_email_from \
|
||||||
|
smtp_server \
|
||||||
|
smtp_connect_timeout \
|
||||||
|
router_id \
|
||||||
|
vrrp_mcast_group4 \
|
||||||
|
vrrp_mcast_group6 \
|
||||||
|
vrrp_startup_delay
|
||||||
}
|
}
|
||||||
|
|
||||||
print_ipaddress_indent() {
|
print_ipaddress_indent() {
|
||||||
|
|
Loading…
Reference in a new issue