summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBrad Kollmyer <bradk@vitalsoft.com>2026-08-05 16:23:12 -0700
committerBrad Kollmyer <bradk@vitalsoft.com>2026-08-05 16:23:12 -0700
commit4e6725261480bd43dd0e6ff9f5879fd17b25ef77 (patch)
treecdae895d316eb4c78532276b3ad820e896b27ed6 /python
parent636f74e180a6481892fd87f7957b9b3758bb17e8 (diff)
downloadvyos-1x-4e6725261480bd43dd0e6ff9f5879fd17b25ef77.tar.gz
vyos-1x-4e6725261480bd43dd0e6ff9f5879fd17b25ef77.zip
dhcp: T9167: align Kea HA timer defaults with Kea ARM
Stock kea_high_availability_json set max-response-delay equal to heartbeat-delay (both 10000 ms) and max-unacked-clients to 0. The Kea ARM documents max-response-delay default 60000 ms (must be greater than heartbeat-delay, typically a multiple) and max-unacked-clients default 10 (0 disables client failure-detection and partner-downs immediately). Equal 10s/10s timers false-fire communication-interrupted every heartbeat cycle on healthy pairs. https://vyos.dev/T9167
Diffstat (limited to 'python')
-rwxr-xr-xpython/vyos/template.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/template.py b/python/vyos/template.py
index c1555aa1c..5b228603c 100755
--- a/python/vyos/template.py
+++ b/python/vyos/template.py
@@ -904,9 +904,9 @@ def kea_high_availability_json(config):
'this-server-name': os.uname()[1],
'mode': ha_mode,
'heartbeat-delay': 10000,
- 'max-response-delay': 10000,
+ 'max-response-delay': 60000,
'max-ack-delay': 5000,
- 'max-unacked-clients': 0,
+ 'max-unacked-clients': 10,
'peers': [
{
'name': os.uname()[1],