]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Fix JSON syntax errors, miscellaneous typos and grammatical errors in API docs
authorSuzanne Goldlust <sgoldlust@isc.org>
Thu, 8 Aug 2019 21:39:51 +0000 (17:39 -0400)
committerTomek Mrugalski <tomasz@isc.org>
Fri, 16 Aug 2019 17:11:03 +0000 (19:11 +0200)
29 files changed:
doc/sphinx/api/cache-get-by-id.json
doc/sphinx/api/cache-size.json
doc/sphinx/api/class-add.json
doc/sphinx/api/class-update.json
doc/sphinx/api/ha-heartbeat.json
doc/sphinx/api/lease6-bulk-apply.json
doc/sphinx/api/remote-global-parameter4-set.json
doc/sphinx/api/remote-global-parameter6-set.json
doc/sphinx/api/remote-network4-get.json
doc/sphinx/api/remote-network4-list.json
doc/sphinx/api/remote-network6-get.json
doc/sphinx/api/remote-network6-list.json
doc/sphinx/api/remote-option-def4-get-all.json
doc/sphinx/api/remote-option-def6-get-all.json
doc/sphinx/api/remote-option4-global-del.json
doc/sphinx/api/remote-option6-global-del.json
doc/sphinx/api/remote-server4-del.json
doc/sphinx/api/remote-server6-del.json
doc/sphinx/api/remote-subnet4-get-by-id.json
doc/sphinx/api/remote-subnet4-get-by-prefix.json
doc/sphinx/api/remote-subnet4-list.json
doc/sphinx/api/remote-subnet6-get-by-id.json
doc/sphinx/api/remote-subnet6-get-by-prefix.json
doc/sphinx/api/remote-subnet6-list.json
doc/sphinx/api/reservation-get.json
doc/sphinx/api/stat-lease4-get.json
doc/sphinx/api/stat-lease6-get.json
doc/sphinx/api/subnet4-get.json
doc/sphinx/api/subnet6-get.json

index c6cfa3658dabaa3a55df26c5d8d45089e7fd8428..91d5160a8a3256391f876a923ff816c3877fea90 100644 (file)
@@ -1,7 +1,7 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "Returns entries matching the given identifier from  the host cache."
+        "Returns entries matching the given identifier from the host cache."
     ],
     "cmd-syntax": [
         "{",
index 0b44bdecccbe8c9fc35f468f9402962fb58f31f0..c7e227147cbf844bdb85ffd4295d69bd0a95efe2 100644 (file)
@@ -1,7 +1,7 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "Returns number of entries of the host cache."
+        "Returns the number of entries in the host cache."
     ],
     "hook": "host_cache",
     "name": "cache-size",
index 69a6529c733a15553630efcb17cc63a131a9bf36..e4868e27ce26a3ba23589b9226bf46c94b77bb77 100644 (file)
@@ -5,7 +5,7 @@
         "server configuration."
     ],
     "cmd-comment": [
-        "The ``next-server``, ``server-hostname`` and ``boot-file-name`` are DHCPv4 specific. Only",
+        "The ``next-server``, ``server-hostname``, and ``boot-file-name`` are DHCPv4-specific. Only",
         "one client class can be added with a single command. "
     ],
     "cmd-syntax": [
@@ -16,7 +16,7 @@
         "           \"name\": <name of the class>,",
         "           \"test\": <test expression to be evaluated on incoming packets>,",
         "           \"option-data\": [ <option values here> ],",
-        "           \"option-def\": [ <option defintions here> ],",
+        "           \"option-def\": [ <option definitions here> ],",
         "           \"next-server\": <ipv4 address>,",
         "           \"server-hostname\": <string>,",
         "           \"boot-file-name\": <name of the boot file>",
index acefa18024364aee0cc6faa475b5fd643d77b5e6..0cea24e0c328fdae9825cd52eb7a2a469dc5f395 100644 (file)
@@ -5,7 +5,7 @@
         "the server configuration."
     ],
     "cmd-comment": [
-        "The ``next-server``, ``server-hostname`` and ``boot-file-name`` are DHCPv4 specific. Only",
+        "The ``next-server``, ``server-hostname``, and ``boot-file-name`` are DHCPv4-specific. Only",
         "one client class can be updated with a single command. "
     ],
     "cmd-syntax": [
@@ -16,7 +16,7 @@
         "           \"name\": <name of the class>,",
         "           \"test\": <test expression to be evaluated on incoming packets>,",
         "           \"option-data\": [ <option values here> ],",
-        "           \"option-def\": [ <option defintions here> ],",
+        "           \"option-def\": [ <option definitions here> ],",
         "           \"next-server\": <ipv4 address>,",
         "           \"server-hostname\": <string>,",
         "           \"boot-file-name\": <name of the boot file>",
@@ -29,8 +29,8 @@
     "name": "class-update",
     "resp-comment": [
         "The command will return the result of 3 (empty) if the client",
-        "class doesn't exist. If the client class exists, the retured",
-        "result is 0 if the update was successful and the result is 1",
+        "class doesn't exist. If the client class exists, the returned",
+        "result is 0 if the update was successful; the result is 1",
         "if the update is unsuccessful."
     ],
     "resp-syntax": [
index bfac1099e7369ddc0a18961abdeb5764f4c01677..991c388f0b177d251bbc629a14464999b9321ecf 100644 (file)
@@ -1,8 +1,8 @@
 {
     "avail": "1.4.0",
     "brief": [
-        "This command is sent internally by Kea partner when operating",
-        "in High Availability (HA) mode. It will retrieve the server HA state and clock value."
+        "This command is sent internally by Kea partner when operating",
+        "in High-Availability (HA) mode. It retrieves the server's HA state and clock value."
     ],
     "cmd-syntax": [
         "{",
@@ -13,7 +13,7 @@
     "hook": "high_availability",
     "name": "ha-heartbeat",
     "resp-comment": [
-        "The response to this command is different from the typical command response. The response will include server state (see :ref:`ha-server-states`) plus the current clock value."
+        "The response to this command is different from the typical command response. The response includes the server state (see :ref:`ha-server-states`) plus the current clock value."
     ],
     "support": [
         "kea-dhcp4",
index 77b223555a323463fbadd48a51154fc259d9bb71..b9d5363a33ba827ea900067f2a041631b690a17c 100644 (file)
@@ -1,10 +1,10 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "The lease6-bulk-apply command can be used to create, update and delete multiple IPv6 leases in a single transaction. This is used to communicate lease changes between the HA peers but may be used in all cases when it is desired to apply multiple lease updates in a single transaction."
+        "The lease6-bulk-apply command can be used to create, update, and delete multiple IPv6 leases in a single transaction. This is used to communicate lease changes between the HA peers, but may be used in all cases where it is desirable to apply multiple lease updates in a single transaction."
     ],
     "cmd-comment": [
-        "If any of the leases is malformed, all changes are rolled back. If the leases are well formed but the operation fails for one or more leases, the these leases are listed in the response but the changes are preserved for all leases for which the operation was successful. The \"deleted-leases\" and \"leases\" are optional parameters but one of them must be specified."
+        "If any of the leases is malformed, all changes are rolled back. If the leases are well-formed but the operation fails for one or more leases, these leases are listed in the response; however, the changes are preserved for all leases for which the operation was successful. The \"deleted-leases\" and \"leases\" are optional parameters but one of them must be specified."
     ],
     "cmd-syntax": [
         "{",
@@ -42,7 +42,7 @@
     "hook": "lease_cmds",
     "name": "lease6-bulk-apply",
     "resp-comment": [
-        "The \"failed-deleted-leases\" holds the list of leases which failed to delete. This includes leases which were not found in the database. The \"failed-leases\" includes the list of leases which failed to create or update. For each lease for which there was an error while processing the lease, inserting it into the database etc. the result is set to 1. For each lease which was not deleted because the server didn't find it in the database the result of 3 is returned."
+        "The \"failed-deleted-leases\" holds the list of leases which failed to delete. This includes leases which were not found in the database. The \"failed-leases\" includes the list of leases which failed to create or update. For each lease for which there was an error during processing, inserting it into the database, etc., the result is set to 1. For each lease which was not deleted because the server did not find it in the database, the result of 3 is returned."
     ],
     "resp-syntax": [
         " {",
index c1e5dbba29158f9fad26211c689fd5dc27196c7f..b20691165b2783f0d9db9b2d573394b45f0c6d5f 100644 (file)
@@ -1,10 +1,10 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "This command is used to create or update one more global parameters in the configuration database."
+        "This command is used to create or update one or more global parameters in the configuration database."
     ],
     "cmd-comment": [
-        "This command carries multiple global parameters with their values. Care should be taken when specifying more than one parameter because in some cases only a subset of the parameters may be successfully stored in the database and other parameters may fail to be stored. In such cases the ``remote-global-parameter4-get-all`` may be useful to verify the contents of the database after the update. The ``server-tags`` list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of ``null`` or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified parameters with all servers."
+        "This command carries multiple global parameters with their values. Care should be taken when specifying more than one parameter; in some cases, only a subset of the parameters may be successfully stored in the database and other parameters may fail to be stored. In such cases the ``remote-global-parameter4-get-all`` command may be useful to verify the contents of the database after the update. The ``server-tags`` list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified parameters with all servers."
     ],
     "cmd-syntax": [
         "{",
index 436c9227f6ec3828e6992acaeff03f4825d0c861..5363544ce8d90d7cf66b4de99195d73cbfab8b48 100644 (file)
@@ -1,14 +1,14 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "This command is used to create or update one more global parameters in the configuration database."
+        "This command is used to create or update one or more global parameters in the configuration database."
     ],
     "cmd-comment": [
-        "This command carries multiple global parameters with their values. Care should be taken when specifying more than one parameter because in some cases only a subset of the parameters may be successfully stored in the database and other parameters may fail to be stored. In such cases the ``remote-global-parameter6-get-all`` may be useful to verify the contents of the database after the update. The ``server-tags`` list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of ``null`` or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified parameters with all servers."
+        "This command carries multiple global parameters with their values. Care should be taken when specifying more than one parameter; in some cases, only a subset of the parameters may be successfully stored in the database and other parameters may fail to be stored. In such cases the ``remote-global-parameter6-get-all`` command may be useful to verify the contents of the database after the update. The ``server-tags`` list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified parameters with all servers."
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-global-parameter6-set\"",
+        "    \"command\": \"remote-global-parameter6-set\",",
         "    \"arguments\": {",
         "        \"parameters\": {",
         "            <first parameter name>: <first parameter value>,",
index d5e0f22bf699a172f21b518a8a9ba84c2fd58551..ece2780e08513ac75a9379a90993962280a24db3 100644 (file)
@@ -1,14 +1,14 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "This command is used to fetch selected IPv4 shared network for the server from the specified database."
+        "This command is used to fetch the selected IPv4 shared network for the server from the specified database."
     ],
     "cmd-comment": [
         "This command includes a list with exactly one name of the shared network to be returned. The ``subnets-include`` optional parameter allows for specifying whether the subnets belonging to the shared network should also be returned. The ``server-tags`` parameter must not be specified for this command."
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-network4-get\"",
+        "    \"command\": \"remote-network4-get\",",
         "    \"arguments\": {",
         "        \"shared-networks\": [",
         "            {",
@@ -25,7 +25,7 @@
     "hook": "cb_cmds",
     "name": "remote-network4-get",
     "resp-comment": [
-        "If the subnets are returned with the shared network they are carried in the ``subnet4`` list within the shared network definition. The metadata is included in the returned shared network definition and it provides the database specific information associated with the returned object."
+        "If the subnets are returned with the shared network, they are carried in the ``subnet4`` list within the shared network definition. The metadata is included in the returned shared network definition and provides the database-specific information associated with the returned object."
     ],
     "resp-syntax": [
         "{",
index 1cbe0e7527dab7092535cfd9361737b09b355ec1..bc45c27a6c81f7366bf207c7c8ffbd4912815b00 100644 (file)
@@ -8,7 +8,7 @@
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-network4-list\"",
+        "    \"command\": \"remote-network4-list\",",
         "    \"arguments\": {",
         "        \"remote\": {",
         "            <specification of the database to connect to>",
@@ -20,7 +20,7 @@
     "hook": "cb_cmds",
     "name": "remote-network4-list",
     "resp-comment": [
-        "The returned response contains the list of maps. Each map contains the shared network name and the metadata which provides database specific information associated with the shared network. The returned list does not contain full definitions of the shared networks. Use ``remote-network4-get`` to fetch the full information about the selected shared networks. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all shared networks which are associated with any of the specified tags. A network is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the ``null`` value in the ``server-tags`` list, the response contains all shared networks which are assigned to no servers (unassigned)."
+        "The returned response contains the list of maps. Each map contains the shared network name and the metadata which provides database-specific information associated with the shared network. The returned list does not contain full definitions of the shared networks. Use ``remote-network4-get`` to fetch the full information about the selected shared networks. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all shared networks which are associated with any of the specified tags. A network is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the ``null`` value in the ``server-tags`` list, the response contains all shared networks which are assigned to no servers (unassigned)."
     ],
     "resp-syntax": [
         "{",
index 15665bc4ff0c3548493b40b0085a59bd26b33550..9264e8c68760014bf7ea56c956ec6af9c9b37f23 100644 (file)
@@ -1,14 +1,14 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "This command is used to fetch selected IPv6 shared network for the server from the specified database."
+        "This command is used to fetch the selected IPv6 shared network for the server from the specified database."
     ],
     "cmd-comment": [
         "This command includes a list with exactly one name of the shared network to be returned. The ``subnets-include`` optional parameter allows for specifying whether the subnets belonging to the shared network should also be returned. The ``server-tags`` parameter must not be specified for this command."
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-network6-get\"",
+        "    \"command\": \"remote-network6-get\",",
         "    \"arguments\": {",
         "        \"shared-networks\": [",
         "            {",
@@ -25,7 +25,7 @@
     "hook": "cb_cmds",
     "name": "remote-network6-get",
     "resp-comment": [
-        "If the subnets are returned with the shared network they are carried in the ``subnet6`` list within the shared network definition. The metadata is included in the returned shared network definition and it provides the database specific information associated with the returned object."
+        "If the subnets are returned with the shared network, they are carried in the ``subnet6`` list within the shared network definition. The metadata is included in the returned shared network definition and provides the database-specific information associated with the returned object."
     ],
     "resp-syntax": [
         "{",
index f7605681ea186baf9f9e30388e04ac0921df88c2..a1d7d238dc3401b979abfd4fa417ecf1459e8092 100644 (file)
@@ -8,7 +8,7 @@
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-network6-list\"",
+        "    \"command\": \"remote-network6-list\",",
         "    \"arguments\": {",
         "        \"remote\": {",
         "            <specification of the database to connect to>",
@@ -20,7 +20,7 @@
     "hook": "cb_cmds",
     "name": "remote-network6-list",
     "resp-comment": [
-        "The returned response contains the list of maps. Each map contains the shared network name and the metadata which provides database specific information associated with the shared network. The returned list does not contain full definitions of the shared networks. Use ``remote-network6-get`` to fetch the full information about the selected shared networks. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all shared networks which are associated with any of the specified tags. A network is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the ``null`` value in the ``server-tags`` list, the response contains all shared networks which are assigned to no servers (unassigned)."
+        "The returned response contains the list of maps. Each map contains the shared network name and the metadata which provides database-specific information associated with the shared network. The returned list does not contain full definitions of the shared networks. Use ``remote-network6-get`` to fetch the full information about the selected shared networks. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all shared networks which are associated with any of the specified tags. A network is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the ``null`` value in the ``server-tags`` list, the response contains all shared networks which are assigned to no servers (unassigned)."
     ],
     "resp-syntax": [
         "{",
index d97e0030db497af6c3eed6f2bb841cd27de801f5..5a4d49241d54f58583c1d18af507f75ea7e63fe3 100644 (file)
@@ -4,11 +4,11 @@
         "This command is used to fetch all DHCPv4 option definitions from the configuration database."
     ],
     "cmd-comment": [
-        "The ``server-tags`` list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of ``null`` or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the option definitions shared by all servers."
+        "The ``server-tags`` list is mandatory and must contain exactly one server tag. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the option definitions shared by all servers."
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-option-def4-get-all\"",
+        "    \"command\": \"remote-option-def4-get-all\",",
         "    \"arguments\": {",
         "        \"remote\": {",
         "            <specification of the database to connect to>",
@@ -20,7 +20,7 @@
     "hook": "cb_cmds",
     "name": "remote-option-def4-get-all",
     "resp-comment": [
-        "The returned response contains a list of maps. Each map contains an option definition specification and the metadata including database specific information associated with the returned objects. If the server tag \"all\" is included in the command, the response contains the option definitions shared between all servers. It excludes server specific option definitions. If an explicit server tag is included in the command, the response contains all option definitions directly associated with the given server and the option definitions associated with all servers when server specific option definitions are not present."
+        "The returned response contains a list of maps. Each map contains an option definition specification and the metadata, including database-specific information associated with the returned objects. If the server tag \"all\" is included in the command, the response contains the option definitions shared among all servers. It excludes server-specific option definitions. If an explicit server tag is included in the command, the response contains all option definitions directly associated with the given server, and the option definitions associated with all servers when server-specific option definitions are not present."
     ],
     "resp-syntax": [
         "{",
index 5afa5a641b961bb370da0ce187d4dd9105d33fb0..49b9984d88f3b9cbbc63613d2973f62c6c085bb2 100644 (file)
@@ -4,11 +4,11 @@
         "This command is used to fetch all DHCPv6 option definitions from the configuration database."
     ],
     "cmd-comment": [
-        "The ``server-tags`` list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of ``null`` or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the option definitions shared by all servers."
+        "The ``server-tags`` list is mandatory and must contain exactly one server tag. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the option definitions shared by all servers."
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-option-def6-get-all\"",
+        "    \"command\": \"remote-option-def6-get-all\",",
         "    \"arguments\": {",
         "        \"remote\": {",
         "            <specification of the database to connect to>",
@@ -20,7 +20,7 @@
     "hook": "cb_cmds",
     "name": "remote-option-def6-get-all",
     "resp-comment": [
-        "The returned response contains a list of maps. Each map contains an option definition specification and the metadata including database specific information associated with the returned objects. If the server tag \"all\" is included in the command, the response contains the option definitions shared between all servers. It excludes server specific option definitions. If an explicit server tag is included in the command, the response contains all option definitions directly associated with the given server and the option definitions associated with all servers when server specific option definitions are not present."
+        "The returned response contains a list of maps. Each map contains an option definition specification and the metadata, including database-specific information associated with the returned objects. If the server tag \"all\" is included in the command, the response contains the option definitions shared among all servers. It excludes server-specific option definitions. If an explicit server tag is included in the command, the response contains all option definitions directly associated with the given server, and the option definitions associated with all servers when server-specific option definitions are not present."
     ],
     "resp-syntax": [
         "{",
index f32a6b5f6f77885520082dc57ad4280678c4b59b..eae0be396129353ef4583cec5c486353f12a0740 100644 (file)
@@ -4,7 +4,7 @@
         "This command is used to delete a DHCPv4 global option from the configuration database."
     ],
     "cmd-comment": [
-        "This command includes a list with exactly one option specification comprising an option name and code. Specifying an empty list, a value of ``null`` or multiple server tags will result in an error."
+        "This command includes a list with exactly one option specification, comprising an option name and code. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error."
     ],
     "cmd-syntax": [
         "{",
@@ -12,8 +12,8 @@
         "    \"arguments\": {",
         "        \"options\": [",
         "            {",
-        "                \"code\": <option code>",
-        "                \"space\": <option space>",
+        "                \"code\": <option code>,",
+        "                \"space\": <option space>,",
         "            }",
         "        ],",
         "        \"remote\": {",
index 548959c2e341c57d514d27d6253476c3b0595b8e..ac9afa1a6c778e643e5ec56c19ec87e702937b82 100644 (file)
@@ -4,7 +4,7 @@
         "This command is used to delete a DHCPv6 global option from the configuration database."
     ],
     "cmd-comment": [
-        "This command includes a list with exactly one option specification comprising an option name and code. Specifying an empty list, a value of ``null`` or multiple server tags will result in an error."
+        "This command includes a list with exactly one option specification, comprising an option name and code. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error."
     ],
     "cmd-syntax": [
         "{",
@@ -12,8 +12,8 @@
         "    \"arguments\": {",
         "        \"options\": [",
         "            {",
-        "                \"code\": <option code>",
-        "                \"space\": <option space>",
+        "                \"code\": <option code>,",
+        "                \"space\": <option space>,",
         "            }",
         "        ],",
         "        \"remote\": {",
index b9ec184e33736724fc1bcd4d722768f9b0560229..7be6ffe98bd2dc1d50a86ce7dd34e76e2c74f678 100644 (file)
@@ -1,7 +1,7 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "This command is used to delete information about a DHCPv4 server from the configuration database. Any configuration explicitly associated with the deleted server is automatically disassociated. In addition, configuration elements not shareable with other servers (e.g. global DHCP parameters) are deleted. The shareable configuration (e.g. subnets, shared networks) is not deleted as it may be used by other servers."
+        "This command is used to delete information about a DHCPv4 server from the configuration database. Any configuration explicitly associated with the deleted server is automatically disassociated. In addition, configuration elements not shareable with other servers (e.g. global DHCP parameters) are deleted. The shareable configuration elements (e.g. subnets, shared networks) are not deleted as they may be used by other servers."
     ],
     "cmd-comment": [
         "This command carries the list including exactly one map with the tag of the server to be deleted."
@@ -26,7 +26,7 @@
     "resp-syntax": [
         "{",
         "    \"result\": 0,",
-        "    \"text\": \"1 DHCPv4 server(s) deleted.\"",
+        "    \"text\": \"1 DHCPv4 server(s) deleted.\",",
         "    \"arguments\": {",
         "        \"count\": 1",
         "    }",
@@ -35,4 +35,4 @@
     "support": [
         "kea-dhcp4"
     ]
-}
\ No newline at end of file
+}
index 4e1f8798bd7a655034ec19ad845dd1385931c5b8..4e7651e813c199a1b827be66c3931541b59f942d 100644 (file)
@@ -1,7 +1,7 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "This command is used to delete information about a DHCPv6 server from the configuration database. Any configuration explicitly associated with the deleted server is automatically disassociated. In addition, configuration elements not shareable with other servers (e.g. global DHCP parameters) are deleted. The shareable configuration (e.g. subnets, shared networks) is not deleted as it may be used by other servers."
+        "This command is used to delete information about a DHCPv6 server from the configuration database. Any configuration explicitly associated with the deleted server is automatically disassociated. In addition, configuration elements not shareable with other servers (e.g. global DHCP parameters) are deleted. The shareable configuration elements (e.g. subnets, shared networks) are not deleted as they may be used by other servers."
     ],
     "cmd-comment": [
         "This command carries the list including exactly one map with the tag of the server to be deleted."
@@ -26,7 +26,7 @@
     "resp-syntax": [
         "{",
         "    \"result\": 0,",
-        "    \"text\": \"1 DHCPv6 server(s) deleted.\"",
+        "    \"text\": \"1 DHCPv6 server(s) deleted.\",",
         "    \"arguments\": {",
         "        \"count\": 1",
         "    }",
@@ -35,4 +35,4 @@
     "support": [
         "kea-dhcp6"
     ]
-}
\ No newline at end of file
+}
index b5abe31f9bc8d414cfaac8df3259d5e2eebe4f50..f14c00e9c293f7f73b9f04c4587a67f584cd6866 100644 (file)
@@ -1,14 +1,14 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "This command is used to fetch selected IPv4 subnet by ID for the server from the configuration database."
+        "This command is used to fetch the selected IPv4 subnet by ID for the server from the configuration database."
     ],
     "cmd-comment": [
-        "This command includes a list with exactly one id of the subnet to be returned. The ``server-tags`` parameter must not be specified for this command."
+        "This command includes a list with exactly one ID of the subnet to be returned. The ``server-tags`` parameter must not be specified for this command."
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-subnet4-get-by-id\"",
+        "    \"command\": \"remote-subnet4-get-by-id\",",
         "    \"arguments\": {",
         "        \"subnets\": [ {",
         "            \"id\": <subnet identifier>",
@@ -22,7 +22,7 @@
     "hook": "cb_cmds",
     "name": "remote-subnet4-get-by-id",
     "resp-comment": [
-        "If the shared network name is null, it means that the returned subnet does not belong to any shared network (global subnet). The metadata is included in the returned subnet definition and it provides database specific information associated with the returned object."
+        "If the shared network name is null, it means that the returned subnet does not belong to any shared network (global subnet). The metadata is included in the returned subnet definition and provides database-specific information associated with the returned object."
     ],
     "resp-syntax": [
         "{",
index c6093381a0293aec774cf01f0289f753bbf91f67..c3d447c039c1fe602236c41a92c8010b4c4a011b 100644 (file)
@@ -1,14 +1,14 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "This command is used to fetch selected IPv4 subnet by prefix from the configuration database."
+        "This command is used to fetch the selected IPv4 subnet by prefix from the configuration database."
     ],
     "cmd-comment": [
         "This command includes a list with exactly one prefix of the subnet to be returned. The ``server-tags`` parameter must not be specified for this command."
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-subnet4-get-by-prefix\"",
+        "    \"command\": \"remote-subnet4-get-by-prefix\",",
         "    \"arguments\": {",
         "        \"subnets\": [ {",
         "            \"subnet\": <subnet prefix>",
@@ -22,7 +22,7 @@
     "hook": "cb_cmds",
     "name": "remote-subnet4-get-by-prefix",
     "resp-comment": [
-        "If the shared network name is null, it means that the returned subnet does not belong to any shared network (global subnet). The metadata is included in the returned subnet definition and it provides database specific information associated with the returned object."
+        "If the shared network name is null, it means that the returned subnet does not belong to any shared network (global subnet). The metadata is included in the returned subnet definition and provides database-specific information associated with the returned object."
     ],
     "resp-syntax": [
         "{",
index 256047f06ae606e912106a2f24c040f64f950075..fb14d51647d1bc61ea994c6428a8353db0f46f2a 100644 (file)
@@ -4,11 +4,11 @@
         "This command is used to fetch a list of all IPv4 subnets from the configuration database."
     ],
     "cmd-comment": [
-        "The ``server-tags`` list is required for this command. This list must not be empty. It may either contain one or multiple server tags as strings or a single ``null`` value."
+        "The ``server-tags`` list is required for this command, and must not be empty. It may either contain one or multiple server tags as strings, or a single ``null`` value."
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-subnet4-list\"",
+        "    \"command\": \"remote-subnet4-list\",",
         "    \"arguments\": {",
         "        \"remote\": {",
         "            <specification of the database to connect to>",
@@ -20,7 +20,7 @@
     "hook": "cb_cmds",
     "name": "remote-subnet4-list",
     "resp-comment": [
-        "The returned response contains a list of maps. Each map contains a subnet identifier, prefix and shared network name to which the subnet belongs. If the subnet does not belong to a shared netork the name is null. The metadata includes database specific information associated with the subnets. The returned list does not contain full subnet definitions. Use ``remote-subnet4-get`` to fetch the full information about the selected subnets. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all subnets which are associated with any of the specified tags. A subnet is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the ``null`` value in the ``server-tags`` list, the response contains all subnets which are assigned to no servers (unassigned)."
+        "The returned response contains a list of maps. Each map contains a subnet identifier, prefix, and shared network name to which the subnet belongs. If the subnet does not belong to a shared network, the name is null. The metadata includes database-specific information associated with the subnets. The returned list does not contain full subnet definitions; use ``remote-subnet4-get`` to fetch the full information about the selected subnets. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all subnets which are associated with any of the specified tags. A subnet is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the ``null`` value in the ``server-tags`` list, the response contains all subnets which are assigned to no servers (unassigned)."
     ],
     "resp-syntax": [
         "{",
index 0b992ef256c23e82e7b895fe2c8a66caf1aa42db..3d23c7a38c9611a35c77aab32bf94493e0eae707 100644 (file)
@@ -1,14 +1,14 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "This command is used to fetch selected IPv6 subnet by ID for the server from the configuration database."
+        "This command is used to fetch the selected IPv6 subnet by ID for the server from the configuration database."
     ],
     "cmd-comment": [
-        "This command includes a list with exactly one id of the subnet to be returned. The ``server-tags`` parameter must not be specified for this command."
+        "This command includes a list with exactly one ID of the subnet to be returned. The ``server-tags`` parameter must not be specified for this command."
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-subnet6-get-by-id\"",
+        "    \"command\": \"remote-subnet6-get-by-id\",",
         "    \"arguments\": {",
         "        \"subnets\": [",
         "            {",
@@ -24,7 +24,7 @@
     "hook": "cb_cmds",
     "name": "remote-subnet6-get-by-id",
     "resp-comment": [
-        "If the shared network name is null, it means that the returned subnet does not belong to any shared network (global subnet). The metadata is included in the returned subnet definition and it provides database specific information associated with the returned object."
+        "If the shared network name is null, it means that the returned subnet does not belong to any shared network (global subnet). The metadata is included in the returned subnet definition and provides database-specific information associated with the returned object."
     ],
     "resp-syntax": [
         "{",
index b79d871cda63460bd20df558c1db26d74099db31..6bb16d51cf84c725ddc7b7a07b38ac6e7db3d145 100644 (file)
@@ -1,14 +1,14 @@
 {
     "avail": "1.6.0",
     "brief": [
-        "This command is used to fetch selected IPv6 subnet by prefix from the configuration database."
+        "This command is used to fetch the selected IPv6 subnet by prefix from the configuration database."
     ],
     "cmd-comment": [
         "This command includes a list with exactly one prefix of the subnet to be returned. The ``server-tags`` parameter must not be specified for this command."
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-subnet4-get-by-prefix\"",
+        "    \"command\": \"remote-subnet6-get-by-prefix\",",
         "    \"arguments\": {",
         "        \"subnets\": [",
         "            {",
@@ -24,7 +24,7 @@
     "hook": "cb_cmds",
     "name": "remote-subnet6-get-by-prefix",
     "resp-comment": [
-        "If the shared network name is null, it means that the returned subnet does not belong to any shared network (global subnet). The metadata is included in the returned subnet definition and it provides database specific information associated with the returned object."
+        "If the shared network name is null, it means that the returned subnet does not belong to any shared network (global subnet). The metadata is included in the returned subnet definition and provides database-specific information associated with the returned object."
     ],
     "resp-syntax": [
         "{",
index 0e5db5a1f0630fa681bb6223b48eea2d6ba20c7e..b6a82db8d61141f538244bd0c590f6ee40aa0d52 100644 (file)
@@ -4,11 +4,11 @@
         "This command is used to fetch a list of all IPv6 subnets from the configuration database."
     ],
     "cmd-comment": [
-        "The ``server-tags`` list is required for this command. This list must not be empty. It may either contain one or multiple server tags as strings or a single ``null`` value."
+        "The ``server-tags`` list is required for this command, and must not be empty. It may either contain one or multiple server tags as strings, or a single ``null`` value."
     ],
     "cmd-syntax": [
         "{",
-        "    \"command\": \"remote-subnet6-list\"",
+        "    \"command\": \"remote-subnet6-list\",",
         "    \"arguments\": {",
         "        \"remote\": {",
         "            <specification of the database to connect to>",
@@ -20,7 +20,7 @@
     "hook": "cb_cmds",
     "name": "remote-subnet6-list",
     "resp-comment": [
-        "The returned response contains a list of maps. Each map contains a subnet identifier, prefix and shared network name to which the subnet belongs. If the subnet does not belong to a shared netork the name is null. The metadata includes database specific information associated with the subnets. The returned list does not contain full subnet definitions. Use ``remote-subnet6-get`` to fetch the full information about the selected subnets. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all subnets which are associated with any of the specified tags. A subnet is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the ``null`` value in the ``server-tags`` list, the response contains all subnets which are assigned to no servers (unassigned)."
+        "The returned response contains a list of maps. Each map contains a subnet identifier, prefix, and shared network name to which the subnet belongs. If the subnet does not belong to a shared network, the name is null. The metadata includes database-specific information associated with the subnets. The returned list does not contain full subnet definitions; use ``remote-subnet6-get`` to fetch the full information about the selected subnets. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all subnets which are associated with any of the specified tags. A subnet is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the ``null`` value in the ``server-tags`` list, the response contains all subnets which are assigned to no servers (unassigned)."
     ],
     "resp-syntax": [
         "{",
index e1da525e35e44b64b80a83e0982a08308a343f2d..800e2d2a90ed27e5aa47f60eabbf332df0dc4546 100644 (file)
@@ -1,17 +1,17 @@
 {
     "avail": "1.2.0",
     "brief": [
-        "Attempts to retrieve an existing host reservation"
+        "This command is used to retrieve an existing host reservation."
     ],
     "cmd-comment": [
-        "The host reservation can be identified by either (subnet-id, ip-address) pair or a triplet of (subnet-id, identifier-type, identifier)."
+        "The host reservation can be identified by either the (subnet-id, ip-address) pair or a triplet of (subnet-id, identifier-type, identifier)."
     ],
     "cmd-syntax": [
         "{",
         "    \"command\": \"reservation-get\",",
         "    \"arguments\": {",
         "        \"subnet-id\": <integer>,",
-        "        \"identifier-type\": <string with one value out of: hw-address|duid|circuit-id|client-id|flex-id>,",
+        "        \"identifier-type\": <one of \"hw-address\", \"duid\", \"circuit-id\", \"client-id\" and \"flex-id\">,",
         "        \"identifier\": <string>;",
         "    }",
         "}"
@@ -19,8 +19,8 @@
     "hook": "host_cmds",
     "name": "reservation-get",
     "resp-comment": [
-        "Arguments object appear only if a host is found. Many fields in the arguments",
-        "object appear only if specific field is set."
+        "The arguments object appears only if a host is found. Many fields in the arguments",
+        "object appear only if specific field is set."
     ],
     "resp-syntax": [
         "{",
         "    \"text\": <string>,",
         "    \"arguments\": {",
         "        \"boot-file-name\": <string>,",
-        "        \"comment\": <string>",
+        "        \"comment\": <string>,",
         "        \"client-id\": <string>,",
         "        \"circuit-id\": <string>,",
         "        \"duid\": <string>,",
         "        \"flex-id\": <string>,",
         "        \"ip-address\": <string (IPv4 address)>,",
-        "        \"ip-addresses\": [ <comma separated strings> ],",
+        "        \"ip-addresses\": [ <comma-separated strings> ],",
         "        \"hw-address\": <string>,",
         "        \"hostname\": <string>,",
         "        \"next-server\": <string (IPv4 address)>,",
-        "        \"option-data-list\": [ <comma separated structures defining options> ],",
-        "        \"prefixes\": [ <comma separated IPv6 prefixes> ],",
-        "        \"reservation-client-classes\": [ <comma separated strings> ],",
+        "        \"option-data-list\": [ <comma-separated structures defining options> ],",
+        "        \"prefixes\": [ <comma-separated IPv6 prefixes> ],",
+        "        \"reservation-client-classes\": [ <comma-separated strings> ],",
         "        \"server-hostname\": <string>,",
         "        \"subnet-id\": <integer>,",
-        "        \"user-context\": <any valid JSON>,",
+        "        \"user-context\": <any valid JSON>",
         "    }",
         "}"
     ],
@@ -51,4 +51,4 @@
         "kea-dhcp4",
         "kea-dhcp6"
     ]
-}
\ No newline at end of file
+}
index d0dc6212752cbfbaa119cd848ced60edcb52d0e3..5130d1898b6089e4d9bcb177f8a7bc1a2563f133 100644 (file)
@@ -1,12 +1,11 @@
 {
     "avail": "1.4.0",
     "brief": [
-        "The stat-lease4-get command fetches lease statistics for a range",
-        "of known IPv4 subnets."
+        "This command fetches lease statistics for a range of known IPv4 subnets."
     ],
     "cmd-syntax": [
         "{",
-        "  \"command\": \"stat-lease4-get\"",
+        "  \"command\": \"stat-lease4-get\",",
         "}"
     ],
     "description": "See <xref linkend=\"command-stat-lease4-get\"/>",
@@ -21,7 +20,7 @@
         "        \"columns\": [ \"subnet-id\",",
         "                       \"total-addresses\",",
         "                       \"assigned-addresses\",",
-        "                       \"declined-addresses\" ]",
+        "                       \"declined-addresses\" ],",
         "        \"rows\": [",
         "          [ 10, 256, 111, 0 ],",
         "          [ 20, 4098, 2034, 4 ]",
index 000f5fd0750695cbef68b62509570ab73143f997..bb766ff37046276f56ad120d00ac7f4b04f8fae7 100644 (file)
@@ -1,8 +1,7 @@
 {
     "avail": "1.4.0",
     "brief": [
-        "The stat-lease6-get command fetches lease statistics for a range",
-        "of known IPv6 subnets."
+        "This command fetches lease statistics for a range of known IPv6 subnets."
     ],
     "cmd-syntax": [
         "{",
@@ -21,7 +20,7 @@
         "    \"text\": \"stat-lease6-get: 2 rows found\",",
         "    \"arguments\": {",
         "      \"result-set\": {",
-        "        \"columns\": [ \"subnet-id\", \"total-nas\", \"assigned-nas\", \"declined-nas\", \"total-pds\", \"assigned-pds\" ]",
+        "        \"columns\": [ \"subnet-id\", \"total-nas\", \"assigned-nas\", \"declined-nas\", \"total-pds\", \"assigned-pds\" ],",
         "        \"rows\": [",
         "          [ 10, 4096, 2400, 3, 0, 0],",
         "          [ 20, 0, 0, 0, 1048, 233 ]",
index 181f9cef4c66b7e0d795edafae41b593d4267cc9..c1b910b7b423f8215fe08c82eba7eac5d0cf64d0 100644 (file)
@@ -1,7 +1,7 @@
 {
     "avail": "1.3.0",
     "brief": [
-        "This command is used to retrieve detailed information about the specified subnet. This command usually follows the subnet4-list, which is used to discover available subnets with their respective subnet identifiers and prefixes."
+        "This command is used to retrieve detailed information about the specified subnet. This command usually follows ``subnet4-list``, which is used to discover available subnets with their respective subnet identifiers and prefixes."
     ],
     "cmd-syntax": [
         "{",
@@ -24,7 +24,7 @@
         "                \"subnet\": \"10.0.0.0/8\",",
         "                \"id\": 1,",
         "                \"option-data\": [",
-        "                    ....",
+        "                    ...",
         "                ]",
         "                ...",
         "            }",
@@ -35,4 +35,4 @@
     "support": [
         "kea-dhcp4"
     ]
-}
\ No newline at end of file
+}
index 03c5e77e077eeefa006527237d41eb3ae9b916a7..8134135e69ae1eee2b3cfaeff24f00a7db7be9b6 100644 (file)
@@ -1,7 +1,7 @@
 {
     "avail": "1.3.0",
     "brief": [
-        "This command is used to retrieve detailed information about the specified subnet. This command usually follows the subnet6-list, which is used to discover available subnets with their respective subnet identifiers and prefixes."
+        "This command is used to retrieve detailed information about the specified subnet. This command usually follows ``subnet6-list``, which is used to discover available subnets with their respective subnet identifiers and prefixes."
     ],
     "cmd-syntax": [
         "{",
@@ -26,7 +26,7 @@
         "                \"option-data\": [",
         "                    ...",
         "                ]",
-        "                ....",
+        "                ...",
         "            }",
         "        ]",
         "    }",
@@ -35,4 +35,4 @@
     "support": [
         "kea-dhcp6"
     ]
-}
\ No newline at end of file
+}