summaryrefslogtreecommitdiffstats
path: root/doc/examples/kea6
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2021-03-25 22:27:38 +0100
committerRazvan Becheriu <razvan@isc.org>2021-03-29 20:11:29 +0200
commitca812d1116a62832853d11c9af069d263175f8e8 (patch)
tree78f717a94e5451e43d84562871c9144eabee4e28 /doc/examples/kea6
parent[#1621] disabling connection recovery mechanish is not available in core mana... (diff)
downloadkea-ca812d1116a62832853d11c9af069d263175f8e8.tar.xz
kea-ca812d1116a62832853d11c9af069d263175f8e8.zip
[#1621] implemented "on-fail" action for connection recovery
Diffstat (limited to 'doc/examples/kea6')
-rw-r--r--doc/examples/kea6/all-keys.json6
-rw-r--r--doc/examples/kea6/backends.json4
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/examples/kea6/all-keys.json b/doc/examples/kea6/all-keys.json
index b9ba87ee41..bde412bcb4 100644
--- a/doc/examples/kea6/all-keys.json
+++ b/doc/examples/kea6/all-keys.json
@@ -309,8 +309,10 @@
// Connection maximum reconnect tries.
"max-reconnect-tries": 3,
- // Disable DHCP on database connection loss.
- "disable-service-on-db-loss": true,
+ // Action to take when connection recovery fails.
+ // Supported values: stop-retry-exit, serve-retry-exit,
+ // serve-retry-continue
+ "on-fail": "stop-retry-exit",
// Connection connect timeout.
"connect-timeout": 100,
diff --git a/doc/examples/kea6/backends.json b/doc/examples/kea6/backends.json
index 8b5dad94e4..9a3b5224df 100644
--- a/doc/examples/kea6/backends.json
+++ b/doc/examples/kea6/backends.json
@@ -42,7 +42,7 @@
// "password": "secret1",
// "reconnect-wait-time": 3000, // expressed in ms
// "max-reconnect-tries": 3,
-// "disable-service-on-db-loss": true,
+// "on-fail": "stop-retry-exit",
// "connect-timeout": 3
// },
@@ -62,7 +62,7 @@
// "password": "secret1",
// "reconnect-wait-time": 3000, // expressed in ms
// "max-reconnect-tries": 3,
-// "disable-service-on-db-loss": true,
+// "on-fail": "stop-retry-exit",
// "connect-timeout": 3
// },