From: Tomek Mrugalski Date: Fri, 27 Jan 2017 14:17:27 +0000 (+0100) Subject: [5122] reservation-mode added to examples X-Git-Tag: trac5126_base~12 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=af9381e2d7a278d4e16d850665ea9c3329797077;p=thirdparty%2Fkea.git [5122] reservation-mode added to examples --- diff --git a/doc/examples/kea4/reservations.json b/doc/examples/kea4/reservations.json index ca6b5a7bcf..db90fb2022 100644 --- a/doc/examples/kea4/reservations.json +++ b/doc/examples/kea4/reservations.json @@ -58,14 +58,15 @@ { "pools": [ { "pool": "192.0.2.1 - 192.0.2.200" } ], "subnet": "192.0.2.0/24", - "interface": "eth0", + "interface": "eth0", + "reservation-mode": "out-of-pool", "reservations": [ # This is a reservation for a specific hardware/MAC address. It's a very # simple reservation: just an address and nothing else. { "hw-address": "1a:1b:1c:1d:1e:1f", - "ip-address": "192.0.2.202" + "ip-address": "192.0.2.201" }, # This is a reservation for a specific client-id. It also shows @@ -73,7 +74,7 @@ # for any identifier type, not just client-id. { "client-id": "01:11:22:33:44:55:66", - "ip-address": "192.0.2.100", + "ip-address": "192.0.2.202", "hostname": "special-snowflake" }, diff --git a/doc/examples/kea6/reservations.json b/doc/examples/kea6/reservations.json index 5f90a5a2d3..8a48ebc6b0 100644 --- a/doc/examples/kea6/reservations.json +++ b/doc/examples/kea6/reservations.json @@ -41,7 +41,7 @@ { "subnet": "2001:db8:1::/48", - "pools": [ { "pool": "2001:db8:1::/80" } ], + "pools": [ { "pool": "2001:db8:1::/120" } ], "pd-pools": [ { @@ -52,6 +52,8 @@ ], "interface": "ethX", + "reservation-mode": "out-of-pool", + # Host reservations. Define several reservations, note that # they are all within the range of the pool of the dynamically # allocated address. The server will exclude the addresses from this