Add help text for DPD actions

Add short explanations for each DPD action to clarify their behavior in the interface.

Change-Id: Ie226769ca99dcdc9a851ad1193eb1a8e87fcb1c3
Signed-off-by: Dmitriy Chubinidze <dcu995@gmail.com>
This commit is contained in:
Dmitriy Chubinidze
2025-08-10 19:38:16 +00:00
parent caa498ab6a
commit 7fbcab3857

View File

@@ -583,7 +583,15 @@ class AddIPsecSiteConnectionOptionalAction(workflows.Action):
"is IPv6."))
dpd_action = forms.ThemableChoiceField(
label=_("Dead peer detection actions"),
required=False)
required=False,
help_text=_("1. Hold - ends the connection and waits for the remote "
"side to reconnect. 2. Clear - drops the connection and "
"doesnt try to bring it back. 3. Disabled - turns off "
"dead peer detection entirely, so no active checks are "
"sent. 4. Restart - starts trying to reconnect as soon "
"as the timeout happens. 5. Restart-by-peer - the "
"connection is re-established because the remote peer "
"initiated the restart after a timeout or failure"))
dpd_interval = forms.IntegerField(
min_value=1, label=_("Dead peer detection interval"),
initial=30,