summaryrefslogtreecommitdiffstats
path: root/doc/examples/kea6
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2021-09-03 20:44:53 +0200
committerThomas Markwalder <tmark@isc.org>2021-09-17 17:10:34 +0200
commitc9f19c5322d70cf49f136d00f5953dd1017ab1e9 (patch)
treea53f5ef7fe91ed4f4c66d19d89de545e7a8e28d4 /doc/examples/kea6
parent[#1307] Added a unit test for dhcp4_srv.cc (diff)
downloadkea-c9f19c5322d70cf49f136d00f5953dd1017ab1e9.tar.xz
kea-c9f19c5322d70cf49f136d00f5953dd1017ab1e9.zip
[#1307] kea-dhcp6 supports parked-packet-limit
src/bin/dhcp6/dhcp6_lexer.ll src/bin/dhcp6/dhcp6_parser.yy src/bin/dhcp6/json_config_parser.cc src/lib/dhcpsrv/parsers/simple_parser6.cc doc/examples/kea6/all-keys.json Added parked-packet-limit src/bin/dhcp6/dhcp6_messages.* DHCP6_HOOK_LEASES6_PARKING_LOT_FULL src/bin/dhcp6/dhcp6_srv.cc Dhcpv6Srv::processDhcp6Query() - drops the packet if the parking lot is full src/bin/dhcp6/tests/get_config_unittest.cc updated
Diffstat (limited to 'doc/examples/kea6')
-rw-r--r--doc/examples/kea6/all-keys.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/examples/kea6/all-keys.json b/doc/examples/kea6/all-keys.json
index 1504d5f75f..3eb2486280 100644
--- a/doc/examples/kea6/all-keys.json
+++ b/doc/examples/kea6/all-keys.json
@@ -503,6 +503,18 @@
}
],
+ // Global value which limits the number of client packets (e.g.
+ // REQUESTs,RENEWs...) that may be parked while waiting for
+ // hook library work to complete, prior to a response (e.g. REPLY)
+ // being sent back to the client. A typical example is when kea-dhcp6
+ // parks a REQUEST while it sends the requisite lease update(s) to its
+ // HA peer(s). The packet is unparked once the update(s) have been
+ // acknowledged. This value limits the number of packets that can
+ // be held pending the updates. In times of heavy client traffic,
+ // this value can keep kea-dhcp6 from building an insurmountable
+ // backlog of updates.
+ "parked-packet-limit": 128,
+
// Global (default) value of the preferred lifetime.
"preferred-lifetime": 50,