From: Thomas Markwalder Date: Tue, 15 Aug 2017 18:57:11 +0000 (-0400) Subject: [5315] Wording and whitespace in guide X-Git-Tag: trac5124a_base~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98196abcdff21d612ddd9b65299ad8c837573242;p=thirdparty%2Fkea.git [5315] Wording and whitespace in guide Replaced subnet-ids with subnets, and subnet-id with id in subnet commands text, and removed trailing whitespace in doc/guide/hooks.xml --- diff --git a/doc/guide/hooks.xml b/doc/guide/hooks.xml index 9a4fb35ea1..8cff24886f 100644 --- a/doc/guide/hooks.xml +++ b/doc/guide/hooks.xml @@ -1437,7 +1437,7 @@ as follows: } } - + An example command updating IPv6 lease looks as follows: { @@ -1632,7 +1632,7 @@ as follows: { "command": "subnet4-get", "arguments": { - "subnet-id": 10 + "id": 10 } } @@ -1653,7 +1653,7 @@ or { "result": 0, - "text": "Info about IPv4 subnet 10.0.0.0/8 (subnet-id 10) returned", + "text": "Info about IPv4 subnet 10.0.0.0/8 (id 10) returned", "arguments": { "subnets": [ { @@ -1684,7 +1684,7 @@ or { "command": "subnet6-get", "arguments": { - "subnet-id": 11 + "id": 11 } } @@ -1703,7 +1703,7 @@ If the subnet exists the response will be similar to this: { "result": 0, - "text": "Info about IPv6 subnet 2001:db8:1::/64 (subnet-id 11) returned", + "text": "Info about IPv6 subnet 2001:db8:1::/64 (id 11) returned", "arguments": { "subnets": [ { @@ -1843,7 +1843,7 @@ If the subnet exists the response will be similar to this: used). You can mix those two approaches only if you understand how the internal automatic subnet-id generation works. - +
@@ -1876,7 +1876,7 @@ If the subnet exists the response will be similar to this: { "command": "subnet4-del", "arguments": { - "subnet-id": 123 + "id": 123 } } @@ -1886,7 +1886,7 @@ If the subnet exists the response will be similar to this: { "result": 0, - "text": "IPv4 subnet 192.0.2.0/24 (subnet-id 123) deleted", + "text": "IPv4 subnet 192.0.2.0/24 (id 123) deleted", "arguments": { "subnets": [ { @@ -1930,7 +1930,7 @@ If the subnet exists the response will be similar to this: { "command": "subnet6-del", "arguments": { - "subnet-id": 234 + "id": 234 } } @@ -1940,7 +1940,7 @@ If the subnet exists the response will be similar to this: { "result": 0, - "text": "IPv6 subnet 2001:db8:1::/64 (subnet-id 234) deleted", + "text": "IPv6 subnet 2001:db8:1::/64 (id 234) deleted", "subnets": [ { "id": 234, @@ -1976,5 +1976,5 @@ If the subnet exists the response will be similar to this:
- +