From 39afdf511cf5edc185cc628b164cc8c7f3b0bcd4 Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Wed, 5 Jul 2017 18:32:29 +0200 Subject: [PATCH] [5121] Examples updated. --- doc/examples/kea4/reservations.json | 10 +++++++++- doc/examples/kea6/reservations.json | 7 +++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/examples/kea4/reservations.json b/doc/examples/kea4/reservations.json index ca6b5a7bcf..495691dc9f 100644 --- a/doc/examples/kea4/reservations.json +++ b/doc/examples/kea4/reservations.json @@ -58,7 +58,15 @@ { "pools": [ { "pool": "192.0.2.1 - 192.0.2.200" } ], "subnet": "192.0.2.0/24", - "interface": "eth0", + "interface": "eth0", + + // This directive tells Kea that reservations may be made both in-pool + // and out-of-pool. For improved performance, you may move all reservations + // out of the dynamic pool and change reservation-mode to "out-of-pool". + // Kea will then be able to skip querying for host reservations when + // assigning leases from dynamic pool. + "reservation-mode": "all", + "reservations": [ # This is a reservation for a specific hardware/MAC address. It's a very diff --git a/doc/examples/kea6/reservations.json b/doc/examples/kea6/reservations.json index 5f90a5a2d3..bdab965323 100644 --- a/doc/examples/kea6/reservations.json +++ b/doc/examples/kea6/reservations.json @@ -41,6 +41,13 @@ { "subnet": "2001:db8:1::/48", + // This directive tells Kea that reservations may be made both in-pool + // and out-of-pool. For improved performance, you may move all reservations + // out of the dynamic pool and change reservation-mode to "out-of-pool". + // Kea will then be able to skip querying for host reservations when + // assigning leases from dynamic pool. + "reservation-mode": "all", + "pools": [ { "pool": "2001:db8:1::/80" } ], "pd-pools": [ -- 2.47.2