From: Tomek Mrugalski Date: Mon, 28 Jul 2014 02:46:26 +0000 (-0400) Subject: [3464] Examples updated. X-Git-Tag: trac3482_base~53^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56bf54ad3c28e69c8b862f7aad61c1b3504ec6c8;p=thirdparty%2Fkea.git [3464] Examples updated. --- diff --git a/doc/examples/kea4/several-subnets.json b/doc/examples/kea4/several-subnets.json index a3b04b271e..62dc42ea65 100644 --- a/doc/examples/kea4/several-subnets.json +++ b/doc/examples/kea4/several-subnets.json @@ -27,11 +27,11 @@ # The following list defines subnets. Each subnet consists of at # least subnet and pool entries. "subnet4": [ - { "pool": [ "192.0.2.1 - 192.0.2.200" ], + { "pools": [ { "pool": "192.0.2.1 - 192.0.2.200" } ], "subnet": "192.0.2.0/24" }, - { "pool": [ "192.0.3.100 - 192.0.3.200" ], + { "pools": [ { "pool": "192.0.3.100 - 192.0.3.200" } ], "subnet": "192.0.3.0/24" }, - { "pool": [ "192.0.4.1 - 192.0.4.254" ], + { "pools": [ { "pool": "192.0.4.1 - 192.0.4.254" } ], "subnet": "192.0.4.0/24" } ] } diff --git a/doc/examples/kea4/single-subnet.json b/doc/examples/kea4/single-subnet.json index dc7d23f243..a7b7024c95 100644 --- a/doc/examples/kea4/single-subnet.json +++ b/doc/examples/kea4/single-subnet.json @@ -4,7 +4,7 @@ { "Dhcp4": -{ +{ # Kea is told to listen on eth0 interface only. "interfaces": [ "eth0" ], @@ -31,9 +31,12 @@ # The following list defines subnets. We have only one subnet # here. - "subnet4": [ - { "pool": [ "192.0.2.1 - 192.0.2.200" ], - "subnet": "192.0.2.0/24" } ] + "subnet4": [ + { + "pools": [ { "pool": "192.0.2.1 - 192.0.2.200" } ], + "subnet": "192.0.2.0/24" + } + ] } } diff --git a/doc/examples/kea6/several-subnets.json b/doc/examples/kea6/several-subnets.json index 0b2bdb41f3..2cf012feba 100644 --- a/doc/examples/kea6/several-subnets.json +++ b/doc/examples/kea6/several-subnets.json @@ -29,13 +29,13 @@ # The following list defines subnets. Each subnet consists of at # least subnet and pool entries. "subnet6": [ - { "pool": [ "2001:db8:1::/80" ], + { "pools": [ { "pool": "2001:db8:1::/80" } ], "subnet": "2001:db8:1::/64" }, - { "pool": [ "2001:db8:2::/80" ], + { "pools": [ { "pool": "2001:db8:2::/80" } ], "subnet": "2001:db8:2::/64" }, - { "pool": [ "2001:db8:3::/80" ], + { "pools": [ { "pool": "2001:db8:3::/80" } ], "subnet": "2001:db8:3::/64" }, - { "pool": [ "2001:db8:4::/80" ], + { "pools": [ { "pool": "2001:db8:4::/80" } ], "subnet": "2001:db8:4::/64" } ] }