From: Tomek Mrugalski Date: Wed, 5 Jul 2017 16:32:29 +0000 (+0200) Subject: [5121] Examples updated. X-Git-Tag: trac5227_base~6^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39afdf511cf5edc185cc628b164cc8c7f3b0bcd4;p=thirdparty%2Fkea.git [5121] Examples updated. --- 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": [