From: Wlodek Wencel Date: Wed, 7 Jun 2017 10:55:27 +0000 (+0200) Subject: [master] fixes in command examples X-Git-Tag: trac5243_base~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6198d72db055b6dd543f8d4d763192bf817f65e;p=thirdparty%2Fkea.git [master] fixes in command examples --- diff --git a/doc/guide/hooks.xml b/doc/guide/hooks.xml index 6e12f60d84..0fe480d496 100644 --- a/doc/guide/hooks.xml +++ b/doc/guide/hooks.xml @@ -790,8 +790,9 @@ Requirements document. { "command": "reservation-add", "arguments": { - "reservation": { + "reservation": { + "subnet-id":1, "client-id": "01:0a:0b:0c:0d:0e:0f", "ip-address": "192.0.2.205", "next-server": "192.0.2.1", @@ -804,8 +805,7 @@ Requirements document. } ], "client-classes": [ "special_snowflake", "office" ] - } - } + } } } @@ -814,8 +814,9 @@ Here is an example of complex IPv6 reservation: { "command": "reservation-add", "arguments": { - "reservation": { + "reservation": { + "subnet-id":1, "duid": "01:02:03:04:05:06:07:08:09:0A", "ip-addresses": [ "2001:db8:1:cafe::1" ], "prefixes": [ "2001:db8:2:abcd::/64" ], @@ -831,8 +832,7 @@ Here is an example of complex IPv6 reservation: "data": "3000:1::234" } ] - } - } + } } } @@ -972,7 +972,7 @@ An example deletion by (subnet-id, identifier-type, identifier) looks as follows reservation-del returns result 0 when the host - deletion was successul or 1 if it was not. A descriptive text is + deletion was successful or 1 if it was not. A descriptive text is provided in case of error. Example results look as follows: {