From 7fbcab38572140aaa7fb40dbe42a8a0fc9885df1 Mon Sep 17 00:00:00 2001 From: Dmitriy Chubinidze Date: Sun, 10 Aug 2025 19:38:16 +0000 Subject: [PATCH] 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 --- .../dashboards/project/vpn/workflows.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/neutron_vpnaas_dashboard/dashboards/project/vpn/workflows.py b/neutron_vpnaas_dashboard/dashboards/project/vpn/workflows.py index ab3587e..fedb4d0 100644 --- a/neutron_vpnaas_dashboard/dashboards/project/vpn/workflows.py +++ b/neutron_vpnaas_dashboard/dashboards/project/vpn/workflows.py @@ -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 " + "doesn’t 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,