Browse Source

[5121] Examples updated.

Tomek Mrugalski 8 years ago
parent
commit
39afdf511c
2 changed files with 16 additions and 1 deletions
  1. 9 1
      doc/examples/kea4/reservations.json
  2. 7 0
      doc/examples/kea6/reservations.json

+ 9 - 1
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

+ 7 - 0
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": [