]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#71,!314] Updated hooks-cb-cmds with more examples.
authorMarcin Siodelski <marcin@isc.org>
Thu, 16 May 2019 18:01:38 +0000 (20:01 +0200)
committerMarcin Siodelski <marcin@isc.org>
Mon, 27 May 2019 13:23:50 +0000 (15:23 +0200)
46 files changed:
doc/api/remote-global-parameter4-del.json
doc/api/remote-global-parameter4-get-all.json
doc/api/remote-global-parameter4-get.json
doc/api/remote-global-parameter4-set.json
doc/api/remote-global-parameter6-del.json
doc/api/remote-global-parameter6-get-all.json
doc/api/remote-global-parameter6-get.json
doc/api/remote-global-parameter6-set.json
doc/api/remote-network4-del.json
doc/api/remote-network4-get.json
doc/api/remote-network4-list.json
doc/api/remote-network4-set.json
doc/api/remote-network6-del.json
doc/api/remote-network6-get.json
doc/api/remote-network6-list.json
doc/api/remote-network6-set.json
doc/api/remote-option-def4-del.json
doc/api/remote-option-def4-get-all.json
doc/api/remote-option-def4-get.json
doc/api/remote-option-def4-set.json
doc/api/remote-option-def6-del.json
doc/api/remote-option-def6-get-all.json
doc/api/remote-option-def6-get.json
doc/api/remote-option-def6-set.json
doc/api/remote-option4-global-del.json
doc/api/remote-option4-global-get-all.json
doc/api/remote-option4-global-get.json
doc/api/remote-option4-global-set.json
doc/api/remote-option6-global-del.json
doc/api/remote-option6-global-get-all.json
doc/api/remote-option6-global-get.json
doc/api/remote-option6-global-set.json
doc/api/remote-subnet4-del-by-id.json
doc/api/remote-subnet4-del-by-prefix.json
doc/api/remote-subnet4-get-by-id.json
doc/api/remote-subnet4-get-by-prefix.json
doc/api/remote-subnet4-list.json
doc/api/remote-subnet4-set.json
doc/api/remote-subnet6-del-by-id.json
doc/api/remote-subnet6-del-by-prefix.json
doc/api/remote-subnet6-get-by-id.json
doc/api/remote-subnet6-get-by-prefix.json
doc/api/remote-subnet6-list.json
doc/api/remote-subnet6-set.json
doc/guide/api.xml
doc/guide/hooks-cb-cmds.xml

index f626ee1f10638092bbd538d314409f87e805f6dd..43cd91544d81f8a28ca6b395649f5d262031a40b 100644 (file)
@@ -1,7 +1,6 @@
 {
     "name": "remote-global-parameter4-del",
-    "brief": "This command is used to delete a global DHCPv4 parameter from a configuration database. The server will use the value specified in the configuration file or a default value (if the parameter is not specified in the configuration file) after deleting the parameter from the database.",
-    "description": "See <xref linkend=\"cmd-remote-global-parameter4-del\"/>",
+    "brief": "This command is used to delete a global DHCPv4 parameter from the configuration database. The server will use the value specified in the configuration file or a default value (if the parameter is not specified in the configuration file) after deleting the parameter from the database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
         }
     }
 }",
-    "cmd-comment": "This command includes a list with exactly one name of the parameter to be deleted. The <command>remote</command> map contains specification of the backend from which the global parameter should be deleted. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command carries the list including exactly one name of the parameter to be deleted.",
     "resp-syntax": "{
     \"result\": 0,
-    \"text\": \"DHCPv4 global parameter successfully deleted.\",
+    \"text\": \"DHCPv4 global parameter(s) deleted.\",
     \"arguments\": {
         \"count\": 1
     }
index 469b40aa2ba05b3afeac72ae46113dba5247263f..9e6e511a18789fb7aa88f343a8cd3b320482d8cb 100644 (file)
@@ -1,7 +1,6 @@
 {
     "name": "remote-global-parameter4-get-all",
     "brief": "This command is used to fetch all global parameters for the server from the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-global-parameter4-get-all\"/>",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
@@ -13,7 +12,7 @@
         }
     }
 }",
-    "cmd-comment": "The <command>remote</command> map contains specification of the backend from which the global parameters should be fetched. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command contains no arguments besides the optional <command>remote</command>.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"DHCPv4 global parameters found.\",
index 34e8ee46131be5a71e04097eb5e159821b7c6d96..be62d1910b685d0eb04d2c95fc26f320451e43c1 100644 (file)
@@ -1,7 +1,6 @@
 {
     "name": "remote-global-parameter4-get",
     "brief": "This command is used to fetch selected global parameter for the server from the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-global-parameter4-get\"/>",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
             <specification of the database to connect to>
         }
     }
-}
-
-",
-    "cmd-comment": "The <command>remote</command> map contains specification of the backend from which the global parameters should be fetched. Typically it contains \"type\": \"mysql\".",
+}",
+    "cmd-comment": "This command carries a list including exactly one name of the parameter to be fetched.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"DHCPv4 global parameter found.\",
index e57bbfc64477cb0a3ad9df9dc4cf991d5b3bf476..622ca47e324a4517cca3114f7c36ab80e96269af 100644 (file)
@@ -1,7 +1,6 @@
 {
     "name": "remote-global-parameter4-set",
-    "brief": "This command is used to create or update one more global parameters for a server.",
-    "description": "See <xref linkend=\"cmd-remote-global-parameter4-set\"/>",
+    "brief": "This command is used to create or update one more global parameters in the configuration database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
@@ -17,7 +16,7 @@
         }
     }
 }",
-    "cmd-comment": "The <command>remote</command> map contains specification of the backend where global parameter should be set. Typically it contains \"type\": \"mysql\".",
+    "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 <command>remote-global-parameter4-get-all</command> may be useful to verify the contents of the database after the update.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"DHCPv4 global parameter(s) successfully set.\"
index ce280c12c55829e3fbf4663cf4dad0daed7148f6..faba037271813694e658fc32da0916eaa90df03c 100644 (file)
@@ -1,12 +1,23 @@
 {
     "name": "remote-global-parameter6-del",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to delete a global DHCPv6 parameter from the configuration database. The server will use the value specified in the configuration file or a default value (if the parameter is not specified in the configuration file) after deleting the parameter from the database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-global-parameter6-del\",
+    \"arguments\": {
+        \"parameters\": [ <parameter name> ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command carries the list including exactly one name of the parameter to be deleted.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"DHCPv6 global parameter(s) deleted.\",
+    \"arguments\": {
+        \"count\": 1
+    }"
 }
index b40b4eb847fe3b72387bb4125ad93d02fdd0d303..667c7c8f24fd79a60e4c785f8edef03328dce115 100644 (file)
@@ -1,12 +1,38 @@
 {
     "name": "remote-global-parameter6-get-all",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to fetch all global parameters for the server from the specified database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-global-parameter6-get-all\"
+    \"arguments\": {
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command contains no arguments besides the optional <command>remote</command>.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"DHCPv6 global parameters found.\",
+    \"arguments\": {
+        \"parameters\": [
+            {
+                <first parameter name>: <first parameter value>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
+            },
+            {
+                <second parameter name>: <second parameter value>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
+            }
+        ],
+        \"count\": 2
+    }
+}",
+    "resp-comment": "The returned response contains a list of maps. Each map contains a global parameter name/value pair. The value may be a JSON string, integer, real or boolean. The metadata is appended to each parameter and it provides database specific information associated with the returned objects."
 }
index 4774608b1043c601a4bf392b6e8dcd9b1ea162bb..fb94e973e94fe5fef08ffe9485d96ea878fd5e10 100644 (file)
@@ -1,12 +1,31 @@
 {
     "name": "remote-global-parameter6-get",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to fetch selected global parameter for the server from the specified database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-global-parameter6-get\"
+    \"arguments\": {
+        \"parameters\": [ <parameter name> ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command carries a list including exactly one name of the parameter to be fetched.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"DHCPv6 global parameter found.\",
+    \"arguments\": {
+        \"parameters\": {
+            <parameter name>: <parameter value>,
+            \"metadata\": {
+                \"server-tag\": <server tag>
+            }
+        },
+        \"count\": 1
+    }
+}",
+    "resp-comment": "The returned response contains a map with a global parameter name/value pair. The value may be a JSON string, integer, real or boolean. The metadata is included and it provides database specific information associated with the returned object."
 }
index 6258861bd0b2d0dcec8cd69bc321c24e61f78acd..0ad6d4bf3a91804641076cf3a8698caca420c75d 100644 (file)
@@ -1,12 +1,24 @@
 {
     "name": "remote-global-parameter6-set",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to create or update one more global DHCP parameters in the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-global-parameter6-set\"
+    \"arguments\": {
+        \"parameters\": {
+            <first parameter name>: <first parameter value>,
+            <second parameter name>: <second parameter value>
+        },
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "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 <command>remote-global-parameter6-get-all</command> may be useful to verify the contents of the database after the update.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"DHCPv6 global parameter(s) successfully set.\"
+}"
 }
index 7d4846bbc392c44d6277808343ff90fc7d4e7e4a..d72b748e080314bf8bf3c5ed8609e3db023b82cf 100644 (file)
@@ -1,23 +1,24 @@
 {
     "name": "remote-network4-del",
     "brief": "This command is used to delete an IPv4 shared network from the configuration database.",
-    "description": "See <xref linkend=\"cmd-remote-network4-del\"/>",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
     "cmd-syntax": "{
     \"command\": \"remote-network4-del\",
     \"arguments\": {
-        \"shared-networks\": [ {
-            \"name\": <shared network name>
-        } ],
+        \"shared-networks\": [
+            {
+                \"name\": <shared network name>
+            }
+        ],
         \"subnets-action\": \"keep\" | \"delete\",
         \"remote\": {
             <specification of the database to connect to>
         }
     }
 }",
-    "cmd-comment": "This command includes a list with exactly one name of the shared network to be deleted. The <command>subnets-action</command> denotes whether the subnets in this shared network should be deleted or not. The <command>remote</command> map contains specification of the backend from which the shared network should be deleted. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command includes a list with exactly one name of the shared network to be deleted. The <command>subnets-action</command> denotes whether the subnets in this shared network should be deleted or not.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"1 IPv4 shared network(s) deleted.\",
index b81098aac69b7ac241f491bce4de813b7f51b276..b48ee7a7861691916a5403348b45d7fd753296b5 100644 (file)
@@ -1,36 +1,39 @@
 {
     "name": "remote-network4-get",
     "brief": "This command is used to fetch selected IPv4 shared network for the server from the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-network4-get\"/>",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
     "cmd-syntax": "{
     \"command\": \"remote-network4-get\"
     \"arguments\": {
-        \"shared-networks\": [ {
-            \"name\": <shared network name>
-        } ],
+        \"shared-networks\": [
+            {
+                \"name\": <shared network name>
+            }
+        ],
         \"subnets-include\": \"full\" | \"no\",
         \"remote\": {
             <specification of the database to connect to>
         }
     }
 }",
-    "cmd-comment": "This command includes a list with exactly one name of the shared network to be returned. The <command>subnets-include</command> optional parameter allows for specifying whether subnets belonging to the shared network should also be returned. The <command>remote</command> map contains specification of the backend from which the shared network should be fetched. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command includes a list with exactly one name of the shared network to be returned. The <command>subnets-include</command> optional parameter allows for specifying whether the subnets belonging to the shared network should also be returned.",
     "resp-syntax": "{
     \"result\": 0,
-    \"text\": \"IPv4 shared network 'floor1' found.\",
+    \"text\": \"IPv4 shared network found.\",
     \"arguments\": {
-        \"shared-networks\": [ {
-            \"name\": <shared network name>,
-            \"metadata\": {
-                \"server-tag\": <server tag>
-            },
-            <the rest of the shared network information, potentially including subnets>
-        } ],
+        \"shared-networks\": [
+            {
+                \"name\": <shared network name>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                },
+                <the rest of the shared network information, potentially including subnets>
+            }
+        ],
         \"count\": 1
     }
 }",
-    "resp-comment": "The metadata is included in the returned shared network definition and it provides database specific information associated with the returned object."
+    "resp-comment": "If the subnets are returned with the shared network they are carried in the <command>subnet4</command> 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."
 }
index d6f882e5cc6c734f9ceb550ccf3dbce22511e65e..e69b5722b7c6246c7eaceb30f75b7e37d61f29ab 100644 (file)
@@ -1,7 +1,6 @@
 {
     "name": "remote-network4-list",
-    "brief": "This command is used to fetch a list of all subnets for the particular server from the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-network4-list\"/>",
+    "brief": "This command is used to fetch a list of all IPv4 shared networks from the configuration database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
@@ -13,7 +12,7 @@
         }
     }
 }",
-    "cmd-comment": "The <command>remote</command> map contains specification of the backend from which the shared networks should be fetched. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command contains no arguments besides the optional <command>remote</command>.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"2 IPv4 shared network(s) found.\",
@@ -35,5 +34,5 @@
         \"count\": 2
     }
 }",
-    "resp-comment": "The returned response contains a list of maps. Each map contains a shared network name and the metadata which provides database specific information associated with the shared networks. The returned list does not contain full definitions of the shared networks. Use <command>remote-network4-get</command> to fetch the full information about the selected shared networks."
+    "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 <command>remote-network4-get</command> to fetch the full information about the selected shared networks."
 }
index 0db21abe826e357273ac0c7a86e3f9111c88e459..435d3e382ae937b338c9144b3a0bd4f7e9d69bd7 100644 (file)
@@ -1,22 +1,23 @@
 {
     "name": "remote-network4-set",
-    "brief": "This command is used to create or update IPv4 shared network for a server in the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-network4-set\"/>",
+    "brief": "This command is used to create or replace an IPv4 shared network in the configuration database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
     "cmd-syntax": "{
     \"command\": \"remote-network4-set\",
     \"arguments\": {
-        \"shared-networks\": [ {
-            <shared network specification excluding subnets list>
-        } ],
+        \"shared-networks\": [
+            {
+                <shared network specification excluding subnets list>
+            }
+        ],
         \"remote\": {
             <specification of the database to connect to>
         }
     }
 }",
-    "cmd-comment": "The provided list must contain exactly one shared network specification. It must not contain subnets (subnet4 parameter). The subnets are added to the shared network using <command>remote-subnet4-set</command> command. The <command>remote</command> map contains specification of the backend where shared network should be set. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "The provided list must contain exactly one shared network specification. It must not contain subnets (\"subnet4\" parameter). The subnets are added to the shared network using <command>remote-subnet4-set</command> command.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"IPv4 shared network successfully set.\"
index d92b9f78676774d8a5000e74574c94145133e4ad..570a132097805c07447832793f4095ca655c350a 100644 (file)
@@ -1,12 +1,29 @@
 {
     "name": "remote-network6-del",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to delete an IPv6 shared network from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-network6-del\",
+    \"arguments\": {
+        \"shared-networks\": [
+            {
+                \"name\": <shared network name>
+            }
+        ],
+        \"subnets-action\": \"keep\" | \"delete\",
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command includes a list with exactly one name of the shared network to be deleted. The <command>subnets-action</command> denotes whether the subnets in this shared network should be deleted or not.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"1 IPv6 shared network(s) deleted.\",
+    \"arguments\": {
+        \"count\": 1
+    }
+}"
 }
index 5e6ff2e7e2d5cdb159bd48ef6919d63e0c73d6d1..11ddab120377c7d76a8cf30ba61014a32ac1d292 100644 (file)
@@ -1,12 +1,39 @@
 {
     "name": "remote-network6-get",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to fetch selected IPv6 shared network for the server from the specified database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-network6-get\"
+    \"arguments\": {
+        \"shared-networks\": [
+            {
+                \"name\": <shared network name>
+            }
+        ],
+        \"subnets-include\": \"full\" | \"no\",
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command includes a list with exactly one name of the shared network to be returned. The <command>subnets-include</command> optional parameter allows for specifying whether the subnets belonging to the shared network should also be returned.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"IPv6 shared network found.\",
+    \"arguments\": {
+        \"shared-networks\": [
+            {
+                \"name\": <shared network name>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                },
+                <the rest of the shared network information, potentially including subnets>
+            }
+        ],
+        \"count\": 1
+    }
+}",
+    "resp-comment": "If the subnets are returned with the shared network they are carried in the <command>subnet6</command> 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."
 }
index 015c61bcad3bf4819b5aa5e81ec1923e11305f81..9fb1e0edcdce0d2d05e098328fae83431501a34b 100644 (file)
@@ -1,12 +1,38 @@
 {
     "name": "remote-network6-list",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to fetch a list of all IPv6 shared networks from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-network6-list\"
+    \"arguments\": {
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command contains no arguments besides the optional <command>remote</command>.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"2 IPv6 shared network(s) found.\",
+    \"arguments\": {
+        \"shared-networks\": [
+            {
+                \"name\": <first shared network name>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
+            },
+            {
+                \"name\": <second shared network name>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
+            }
+        ],
+        \"count\": 2
+    }
+}",
+    "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 <command>remote-network6-get</command> to fetch the full information about the selected shared networks."
 }
index 5a7c6de438d9f8c21a41f7e378eb9517b8e90164..1ed48e25a2ca371b591b6258fa4a70ced9db9d68 100644 (file)
@@ -1,12 +1,25 @@
 {
     "name": "remote-network6-set",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to create or replace an IPv6 shared network in the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-network6-set\",
+    \"arguments\": {
+        \"shared-networks\": [
+            {
+                <shared network specification excluding subnets list>
+            }
+        ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "The provided list must contain exactly one shared network specification. It must not contain subnets (\"subnet6\" parameter). The subnets are added to the shared network using <command>remote-subnet6-set</command> command.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"IPv6 shared network successfully set.\"
+}"
 }
index 0d28d516a6c2d9743e69b84c8d33b077ecd1f7b6..0eeee2cf5db224047cbcb7237c179a0f3636714f 100644 (file)
@@ -1,7 +1,6 @@
 {
     "name": "remote-option-def4-del",
     "brief": "This command is used to delete a DHCPv4 option definition from the configuration database.",
-    "description": "See <xref linkend=\"cmd-remote-option-def4-del\"/>",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
@@ -17,7 +16,7 @@
         }
     }
 }",
-    "cmd-comment": "This command includes a list with exactly one option definition specification comprising an option name and code. The <command>remote</command> map contains specification of the backend from which the shared network should be deleted. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command includes a list with exactly one option definition specification comprising an option name and code.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"1 DHCPv4 option definition(s) deleted.\",
index 29cae42e7f304c2938002ce0bfe1740c622411bd..f921204d45596a063a51652c8e3dd7d47df092eb 100644 (file)
@@ -1,7 +1,6 @@
 {
     "name": "remote-option-def4-get-all",
-    "brief": "This command is used to fetch all option definitions for the server from the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-option-def4-get-all\"/>",
+    "brief": "This command is used to fetch all DHCPv4 option definitions from the configuration database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
@@ -13,7 +12,7 @@
         }
     }
 }",
-    "cmd-comment": "The <command>remote</command> map contains specification of the backend from which the global parameters should be fetched. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command contains no arguments besides the optional <command>remote</command>.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"2 DHCPv4 option definition(s) found.\",
@@ -32,7 +31,7 @@
                 }
             }
         ],
-        \"count\": <count of the objects returned>
+        \"count\": 2
     }
 }",
     "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."
index 8bfc87cf8cdc794096de734d421e6765ee6f0467..0e625a1d84afaf365baf88d10c0571993e148f6a 100644 (file)
@@ -1,33 +1,36 @@
 {
     "name": "remote-option-def4-get",
-    "brief": "This command is used to fetch DHCPv4 option definition for the server from the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-option-def4-get\"/>",
+    "brief": "This command is used to fetch a DHCPv4 option definition from the configuration database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
     "cmd-syntax": "{
     \"command\": \"remote-option-def4-get\",
     \"arguments\": {
-        \"option-defs\": [ {
-            \"code\": <option code>,
-            \"space\": <option space>
-        } ],
+        \"option-defs\": [
+            {
+                \"code\": <option code>,
+                \"space\": <option space>
+            }
+        ],
         \"remote\": {
             <specification of the database to connect to>
         }
     }
 }",
-    "cmd-comment": "The desired option definition is identified by the pair of option code/space values. The <command>remote</command> map contains specification of the backend from which the global parameters should be fetched. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "The desired option definition is identified by the pair of the option code/space values.",
     "resp-syntax": "{
     \"result\": 0,
-    \"text\": \"DHCPv4 option definition 222 in 'dhcp4' found.\",
+    \"text\": \"DHCPv4 option definition found.\",
     \"arguments\": {
-        \"option-defs\": [ {
-            <option definition>,
-            \"metadata\": {
-                \"server-tag\": <server tag>
+        \"option-defs\": [
+            {
+                <option definition>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
             }
-        ],
+        ],
         \"count\": 1
     }
 }",
index 9fe8c4b45b3ab107ba9aeab7e0d3f93d01491531..56041ef813b11a28f586a6eb23ac24d00a15364b 100644 (file)
@@ -1,23 +1,23 @@
 {
     "name": "remote-option-def4-set",
-    "brief": "This command is used to create or update DHCPv4 option definition for the server in the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-option-def4-set\"/>",
+    "brief": "This command is used to create or replace DHCPv4 option definition in the configuration database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
     "cmd-syntax": "{
     \"command\": \"remote-option-def4-set\",
-    \"service\": [ \"dhcp4\" ],
     \"arguments\": {
-        \"option-defs\": [ {
-            <option definition specification>
-        } ],
+        \"option-defs\": [
+            {
+                <option definition specification>
+            }
+        ],
         \"remote\": {
             <specification of the database to connect to>
         }
     }
 }",
-    "cmd-comment": "The provided list must contain exactly one option definition specification. The <command>remote</command> map contains specification of the backend where shared network should be set. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "The provided list must contain exactly one option definition specification.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"DHCPv4 option definition set.\"
index 7fa0e188c5a3cfd0d03ee354a1807c86f4dbc1ae..daa16c3747110bfe7d1281568504b574ca65e6c0 100644 (file)
@@ -1,12 +1,29 @@
 {
     "name": "remote-option-def6-del",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to delete a DHCPv6 option definition from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-option-def6-del\",
+    \"arguments\": {
+        \"option-defs\": [
+            {
+                \"code\": <option code>,
+                \"space\": <option space
+            }
+        ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command includes a list with exactly one option definition specification comprising an option name and code.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"1 DHCPv6 option definition(s) deleted.\",
+    \"arguments\": {
+        \"count\": 1
+    }
+}"
 }
index 15b061ef54f49db85d05e840469bd7e5c79359ad..a212876e2d9b06dbf9e507323d944a4fd9e6315e 100644 (file)
@@ -1,12 +1,38 @@
 {
     "name": "remote-option-def6-get-all",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to fetch all DHCPv6 option definitions from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-option-def6-get-all\"
+    \"arguments\": {
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command contains no arguments besides the optional <command>remote</command>.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"2 DHCPv6 option definition(s) found.\",
+    \"arguments\": {
+        \"option-defs\": [
+            {
+                <first option definition>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
+            },
+            {
+                <second option definition>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
+            }
+        ],
+        \"count\": 2
+    }
+}",
+    "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."
 }
index 22906d7167e161731c4bd81af797c9d209b00ff1..f9b1500cd877f066d7336f942581f9900db09227 100644 (file)
@@ -1,12 +1,38 @@
 {
     "name": "remote-option-def6-get",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to fetch a DHCPv6 option definition from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-option-def6-get\",
+    \"arguments\": {
+        \"option-defs\": [
+            {
+                \"code\": <option code>,
+                \"space\": <option space>
+            }
+        ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "The desired option definition is identified by the pair of the option code/space values.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"DHCPv6 option definition found.\",
+    \"arguments\": {
+        \"option-defs\": [
+            {
+                <option definition>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
+            }
+        ],
+        \"count\": 1
+    }
+}",
+    "resp-comment": "The metadata is included and it provides database specific information associated with the returned object."
 }
index 14aa2836ad3239a6e7360c2a3c000abb0b45ed55..0fb748edc49cc674e1944c09ee8570c0bea52f25 100644 (file)
@@ -1,12 +1,25 @@
 {
     "name": "remote-option-def6-set",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to create or replace DHCPv6 option definition in the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-option-def6-set\",
+    \"arguments\": {
+        \"option-defs\": [
+            {
+                <option definition specification>
+            }
+        ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "The provided list must contain exactly one option definition specification.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"DHCPv6 option definition set.\"
+}"
 }
index e7164fd711d582b0739ca540c68742877f90ec22..9be9ad2d86c6375063d9bab1568bf9fda621a434 100644 (file)
@@ -1,27 +1,29 @@
 {
     "name": "remote-option4-global-del",
     "brief": "This command is used to delete a DHCPv4 global option from the configuration database.",
-    "description": "See <xref linkend=\"cmd-remote-option4-global-del\"/>",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
     "cmd-syntax": "{
     \"command\": \"remote-option4-global-del\",
     \"arguments\": {
-        \"options\": [ {
-            \"code\": <option code>
-            \"space\": <option space>
-        } ],
+        \"options\": [
+            {
+                \"code\": <option code>
+                \"space\": <option space>
+            }
+        ],
         \"remote\": {
             <specification of the database to connect to>
         }
     }
 }",
-    "cmd-comment": "This command includes a list with exactly one option specification comprising an option name and code. The <command>remote</command> map contains specification of the backend from which the shared network should be deleted. Typically it contains \"type\": \"mysql\".",
-    "resp-syntax": "
+    "cmd-comment": "This command includes a list with exactly one option specification comprising an option name and code.",
+    "resp-syntax": "{
     \"result\": 0,
     \"text\": \"1 DHCPv4 option(s) deleted.\",
     \"arguments\": {
         \"count\": 1
-    }"
+    }
+}"
 }
index 001fc36c7669476e88a494f5a9ea0ee024d60a38..db75efd989c59c45da2d39b8f193e4ec3c44236c 100644 (file)
@@ -1,19 +1,18 @@
 {
     "name": "remote-option4-global-get-all",
-    "brief": "This command is used to fetch all DHCPv4 global options for the server from the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-option4-global-get-all\"/>",
+    "brief": "This command is used to fetch all DHCPv4 global options for the server from the configuration database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
     "cmd-syntax": "{
-    \"command\": \"remote-option4-global-get-all\"
+    \"command\": \"remote-option4-global-get-all\",
     \"arguments\": {
         \"remote\": {
             <specification of the database to connect to>
         }
     }
 }",
-    "cmd-comment": "The <command>remote</command> map contains specification of the backend from which the global parameters should be fetched. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command takes no arguments besides the optional <command>remote</command> map.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"2 DHCPv4 option(s) found.\",
@@ -32,7 +31,7 @@
                 }
             }
         ],
-        \"count\": <count of the objects returned>
+        \"count\": 2
     }
 }",
     "resp-comment": "The returned response contains a list of maps. Each map contains a global option specification and the metadata including database specific information associated with the returned object."
index 8a1bd73f4a001ac723b12f260563c86a5b3c0653..4ceedb693b656c28967b85f4dde2e9d6d0c62b56 100644 (file)
@@ -1,7 +1,6 @@
 {
     "name": "remote-option4-global-get",
     "brief": "This command is used to fetch a global DHCPv4 option for the server from the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-option4-global-get\"/>",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
             <specification of the database to connect to>
         }
 }",
-    "cmd-comment": "The option is identified by the pair of option code/space values. The <command>remote</command> map contains specification of the backend from which the option should be fetched. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "The option is identified by the pair of option code/space values.",
     "resp-syntax": "{
     \"result\": 0,
-    \"text\": \"DHCPv4 option <option code> in <option space> found.\",
+    \"text\": \"DHCPv4 option in found.\",
     \"arguments\": {
         \"options\": [
             {
index cea4d22773d56ed98c558d8af1f420992dfe8c44..b6bd76a35bb511602a9dddb3cfc3bbf4405d7094 100644 (file)
@@ -1,23 +1,23 @@
 {
     "name": "remote-option4-global-set",
-    "brief": "This command is used to create or update DHCPv4 global option for the server in the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-option4-global-set\"/>",
+    "brief": "This command is used to create or replace a DHCPv4 global option in the configuration database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
     "cmd-syntax": "{
     \"command\": \"remote-option4-global-set\",
-    \"service\": [ \"dhcp4\" ],
     \"arguments\": {
-        \"options\": [ {
-            <global option specification>
-        } ],
+        \"options\": [
+            {
+                <global option specification>
+            }
+        ],
         \"remote\": {
             <specification of the database to connect to>
         }
     }
 }",
-    "cmd-comment": "The provided list must cotain exactly one option specification. The <command>remote</command> map contains specification of the backend where shared network should be set. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "The provided list must cotain exactly one option specification.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"DHCPv4 option set.\"
index 1dd67497cd30a1f06828a88066bf8061827838cb..7786ccca6adb2f2840dcc502f8ba6f40f715621a 100644 (file)
@@ -1,12 +1,29 @@
 {
     "name": "remote-option6-global-del",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to delete a DHCPv6 global option from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-option6-global-del\",
+    \"arguments\": {
+        \"options\": [
+            {
+                \"code\": <option code>
+                \"space\": <option space>
+            }
+        ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command includes a list with exactly one option specification comprising an option name and code.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"1 DHCPv6 option(s) deleted.\",
+    \"arguments\": {
+        \"count\": 1
+    }
+}"
 }
index 15e67c0337e4c202a09b1dcf288dc0f2b6ceaceb..9abd53968ee96ac6d7fc1578404e2515085999fa 100644 (file)
@@ -1,12 +1,38 @@
 {
     "name": "remote-option6-global-get-all",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to fetch all DHCPv6 global options for the server from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-option6-global-get-all\",
+    \"arguments\": {
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command takes no arguments besides the optional <command>remote</command> map.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"2 DHCPv6 option(s) found.\",
+    \"arguments\": {
+        \"options\": [
+            {
+                <first option specification>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
+            },
+            {
+                <second option specification>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
+            }
+        ],
+        \"count\": 2
+    }
+}",
+    "resp-comment": "The returned response contains a list of maps. Each map contains a global option specification and the metadata including database specific information associated with the returned object."
 }
index 1be1da236dab75b2d182d63fd0c0f876fbaf0d9d..b4ce7b625e099bd4b8cfbaf349018e290b4573aa 100644 (file)
@@ -1,12 +1,36 @@
 {
     "name": "remote-option6-global-get",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to delete a DHCPv6 global option from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-option6-global-get\",
+    \"arguments\": {
+        \"options\": [
+            {
+                \"code\": <option code>,
+                \"space\": <option space>
+            }
+        ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+}",
+    "cmd-comment": "The option is identified by the pair of option code/space values.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"DHCPv6 option found.\",
+    \"arguments\": {
+        \"options\": [
+            {
+                <option information>,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
+            }
+        ]
+    }
+}",
+    "resp-comment": "The metadata is included and it provides database specific information associated with the returned object."
 }
index 635fd967033d80391ce7696782d0930234c54a14..e44745119c9d52ba453d3358e483e74e48e53b8f 100644 (file)
@@ -1,12 +1,25 @@
 {
     "name": "remote-option6-global-set",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to create or replace a DHCPv6 global option in the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-option6-global-set\",
+    \"arguments\": {
+        \"options\": [
+            {
+                <global option specification>
+            }
+        ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "The provided list must cotain exactly one option specification.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"DHCPv6 option set.\"
+}"
 }
index cb49307078ade8b232d987e15bb6c7362a91906e..15c0985f8328e6c8c7038985ae49ed0a94116fbc 100644 (file)
@@ -1,23 +1,23 @@
 {
     "name": "remote-subnet4-del-by-id",
     "brief": "This command is used to delete an IPv4 subnet by ID from the configuration database.",
-    "description": "See <xref linkend=\"cmd-remote-subnet4-del-by-id\"/>",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
     "cmd-syntax": "{
     \"command\": \"remote-subnet4-del-by-id\",
-    \"service\": [ \"dhcp4\" ],
     \"arguments\": {
-        \"subnets\": [ {
-            \"id\": <subnet identifier>
-        } ],
+        \"subnets\": [
+            {
+                \"id\": <subnet identifier>
+            }
+        ],
         \"remote\": {
             <specification of the database to connect to>
         }
     }
 }",
-    "cmd-comment": "This command includes a list with exactly one id of the subnet to be deleted. The <command>remote</command> map contains specification of the backend from which the subnet should be deleted. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command includes a list with exactly one id of the subnet to be deleted.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"1 IPv4 subnet(s) deleted.\",
index d14b609ab593f031d2ea0442839ca02d02e5335a..9ba462c1c2838c83b8a139df5ad1b80ee9085afc 100644 (file)
@@ -1,23 +1,23 @@
 {
     "name": "remote-subnet4-del-by-prefix",
     "brief": "This command is used to delete an IPv4 subnet by prefix from the configuration database.",
-    "description": "See <xref linkend=\"cmd-remote-subnet4-del-by-id\"/>",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
     "cmd-syntax": "{
     \"command\": \"remote-subnet4-del-by-prefix\",
-    \"service\": [ \"dhcp4\" ],
     \"arguments\": {
-        \"subnets\": [ {
-            \"subnet\": <subnet prefix>
-        } ],
+        \"subnets\": [
+            {
+                \"subnet\": <subnet prefix>
+            }
+        ],
         \"remote\": {
             <specification of the database to connect to>
         }
     }
 }",
-    "cmd-comment": "This command includes a list with exactly one prefix of the subnet to be deleted. The <command>remote</command> map contains specification of the backend from which the subnet should be deleted. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command includes a list with exactly one prefix of the subnet to be deleted.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"1 IPv4 subnet(s) deleted.\",
index f2512c3e8c0ff9aeb27ac471f06a675bf638b6c8..4fbe9d0b24c61a952dfcef7aa0bef912619ba190 100644 (file)
@@ -1,7 +1,6 @@
 {
     "name": "remote-subnet4-get-by-id",
-    "brief": "This command is used to fetch selected IPv4 subnet by ID for the server from the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-subnet4-get-by-id\"/>",
+    "brief": "This command is used to fetch selected IPv4 subnet by ID for the server from the configuration database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
         }
     }
 }",
-    "cmd-comment": "This command includes a list with exactly one id of the subnet to be returned. The <command>remote</command> map contains specification of the backend from which the subnet should be fetched. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command includes a list with exactly one id of the subnet to be returned.",
     "resp-syntax": "{
     \"result\": 0,
-    \"text\": \"IPv4 subnet 123 found.\",
+    \"text\": \"IPv4 subnet found.\",
     \"arguments\": {
         \"subnets\": [ {
             \"id\": <subnet identifier>
@@ -33,5 +32,5 @@
         \"count\": 1
     }
 }",
-    "resp-comment": "The metadata is included in the returned subnet definition and it provides database specific information associated with the returned object."
+    "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."
 }
index ef6c10b701afed296e793f83781df34f935e6d2a..2790245346f2ec823484cdda0452f3e01c857e0e 100644 (file)
@@ -1,7 +1,6 @@
 {
     "name": "remote-subnet4-get-by-prefix",
-    "brief": "This command is used to fetch selected IPv4 subnet by prefix for the server from the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-subnet4-get-by-prefix\"/>",
+    "brief": "This command is used to fetch selected IPv4 subnet by prefix from the configuration database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
         }
     }
 }",
-    "cmd-comment": "This command includes a list with exactly one prefix of the subnet to be returned. The <command>remote</command> map contains specification of the backend from which the subnet should be fetched. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command includes a list with exactly one prefix of the subnet to be returned.",
     "resp-syntax": "{
     \"result\": 0,
-    \"text\": \"IPv4 subnet 123 found.\",
+    \"text\": \"IPv4 subnet found.\",
     \"arguments\": {
-        \"subnets\": [ {
-            \"id\": <subnet identifier>
-            \"subnet\": <subnet prefix>,
-            \"shared-network-name\": <shared network name> | null,
-            \"metadata\": {
-                \"server-tag\": <server tag>
-            },
-            <the rest of the subnet specification here>
-        } ],
+        \"subnets\": [
+            {
+                \"id\": <subnet identifier>
+                \"subnet\": <subnet prefix>,
+                \"shared-network-name\": <shared network name> | null,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                },
+                <the rest of the subnet specification here>
+            }
+        ],
         \"count\": 1
     }
 }",
-    "resp-comment": "The metadata is included in the returned subnet definition and it provides database specific information associated with the returned object."
+    "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."
 }
index 614f1819ae5b1230d4fd7026bf7eb01e242dd482..92ea88e7f06065e3476d64b27b39d2d64caca732 100644 (file)
@@ -1,7 +1,6 @@
 {
     "name": "remote-subnet4-list",
-    "brief": "This command is used to fetch a list of all IPv4 shared networks for the particular server from the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-subnet4-list\"/>",
+    "brief": "This command is used to fetch a list of all IPv4 subnets from the configuration database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
@@ -13,7 +12,7 @@
         }
     }
 }",
-    "cmd-comment": "The <command>remote</command> map contains specification of the backend from which the subnets should be fetched. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "This command includes no arguments besides the optional <command>remote</command> map.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"2 IPv4 subnets found.\",
index 6fbb7800ca56fa10fdc3651fb490a31e467354b9..efa7587b73060a2999d30746e75ce2b128ac3d47 100644 (file)
@@ -1,25 +1,26 @@
 {
     "name": "remote-subnet4-set",
-    "brief": "This command is used to create or update IPv4 subnet for a server in the specified database.",
-    "description": "See <xref linkend=\"cmd-remote-subnet4-set\"/>",
+    "brief": "This command is used to create or replace an IPv4 subnet the configuration database.",
     "support": [ "kea-dhcp4" ],
     "avail": "1.6.0",
     "hook": "cb_cmds",
     "cmd-syntax": "{
     \"command\": \"remote-subnet4-set\",
     \"arguments\": {
-        \"subnets\": [ {
-            \"id\": <subnet identifier>,
-            \"subnet\": <subnet prefix>,
-            \"shared-network-name\": <shared network name>
-            <the rest of the subnet specification here>
-        } ],
+        \"subnets\": [
+            {
+                \"id\": <subnet identifier>,
+                \"subnet\": <subnet prefix>,
+                \"shared-network-name\": <shared network name> | null
+                <the rest of the subnet specification here>
+            }
+        ],
         \"remote\": {
             <specification of the database to connect to>
         }
     }
 }",
-    "cmd-comment": "The provided list must contain exactly one subnet specification. The <command>remote</command> map contains specification of the backend where shared network should be set. Typically it contains \"type\": \"mysql\".",
+    "cmd-comment": "The provided list must contain exactly one subnet specification. The <command>shared-network-name</command> parameter is required for these commands. It associates the subnet with the shared network by its name. If the subnet must not belong to any shared network (global subnet), the <command>null</command> value must be specified for the shared network name.",
     "resp-syntax": "{
     \"result\": 0,
     \"text\": \"IPv4 subnet successfully set.\",
index 945fad3e68c63a209e458160fbe22dc9d540bbc8..194552b66f798f4cef2c8cae8fcf2ad10ecc53cd 100644 (file)
@@ -1,12 +1,28 @@
 {
     "name": "remote-subnet6-del-by-id",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to delete an IPv6 subnet by ID from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-subnet6-del-by-id\",
+    \"arguments\": {
+        \"subnets\": [
+            {
+                \"id\": <subnet identifier>
+            }
+        ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command includes a list with exactly one id of the subnet to be deleted.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"1 IPv6 subnet(s) deleted.\",
+    \"arguments\": {
+        \"count\": 1
+    }
+}"
 }
index f1fa7d47bbb54980076af5de09783e171f56941b..0909b7bbfeb2edd157b76b31d4b13e28c38280bf 100644 (file)
@@ -1,12 +1,28 @@
 {
     "name": "remote-subnet6-del-by-prefix",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to delete an IPv6 subnet by prefix from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-subnet6-del-by-prefix\",
+    \"arguments\": {
+        \"subnets\": [
+            {
+                \"subnet\": <subnet prefix>
+            }
+        ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command includes a list with exactly one prefix of the subnet to be deleted.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"1 IPv6 subnet(s) deleted.\",
+    \"arguments\": {
+        \"count\": 1
+    }
+}"
 }
index bd83e3401932f3fd1c9cfdc668ae42cf234b52da..b260eec7fc093f886a788e4afe2334533e9f938a 100644 (file)
@@ -1,12 +1,40 @@
 {
     "name": "remote-subnet6-get-by-id",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to fetch selected IPv6 subnet by ID for the server from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-subnet6-get-by-id\"
+    \"arguments\": {
+        \"subnets\": [
+            {
+                \"id\": <subnet identifier>
+            }
+        ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command includes a list with exactly one id of the subnet to be returned.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"IPv6 subnet found.\",
+    \"arguments\": {
+        \"subnets\": [
+            {
+                \"id\": <subnet identifier>
+                \"subnet\": <subnet prefix>,
+                \"shared-network-name\": <shared network name> | null,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                },
+                <the rest of the subnet specification here>
+            }
+        ],
+        \"count\": 1
+    }
+}",
+    "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."
 }
index 408ec7efa88f30c6fcce587099a97a5120d0a833..86dbfcb3fe6b151bf25fdcc878e62e7f5a2e2b83 100644 (file)
@@ -1,12 +1,38 @@
 {
     "name": "remote-subnet6-get-by-prefix",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to fetch selected IPv6 subnet by prefix from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-subnet4-get-by-prefix\"
+    \"arguments\": {
+        \"subnets\": [
+            {
+                \"subnet\": <subnet prefix>
+            }
+        ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command includes a list with exactly one prefix of the subnet to be returned.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"IPv6 subnet found.\",
+    \"arguments\": {
+        \"subnets\": [ {
+            \"id\": <subnet identifier>
+            \"subnet\": <subnet prefix>,
+            \"shared-network-name\": <shared network name> | null,
+            \"metadata\": {
+                \"server-tag\": <server tag>
+            },
+            <the rest of the subnet specification here>
+        } ],
+        \"count\": 1
+    }
+}",
+    "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."
 }
index 8657ab7c92f2b1d4f3f83913485b63ee2f432a61..ea279512987d0dcc5934b85cfcf49f58df4dfb96 100644 (file)
@@ -1,12 +1,42 @@
 {
     "name": "remote-subnet6-list",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to fetch a list of all IPv6 subnets from the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-subnet6-list\"
+    \"arguments\": {
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "This command includes no arguments besides the optional <command>remote</command> map.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"2 IPv6 subnets found.\",
+    \"arguments\": {
+        \"subnets\": [
+            {
+                \"id\": <first subnet identifier>,
+                \"subnet\": <first subnet prefix>,
+                \"shared-network-name\": <shared network name> | null,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
+            },
+            {
+                \"id\": <second subnet identifier>,
+                \"subnet\": <second subnet prefix>,
+                \"shared-network-name\": <shared network name> | null,
+                \"metadata\": {
+                    \"server-tag\": <server tag>
+                }
+            }
+        ],
+        \"count\": 2
+    }
+}",
+    "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 <command>remote-subnet6-get</command> to fetch the full information about the selected subnets."
 }
index 2e34b32f76d22143b34694c3c2ad1fa490a1c9ca..faf8a1686da32f950cd8414119def00c2fe42b7f 100644 (file)
@@ -1,12 +1,28 @@
 {
     "name": "remote-subnet6-set",
-    "brief": "a sentence or two explaining what this command does",
-    "description": "See <xref linkend=\"cmd-\"/>",
-    "support": [ "undocumented" ],
-    "avail": "0.0.0",
-    "hook": "undocumented",
-    "cmd-syntax": "Syntax of the command",
-    "cmd-comment": "Possibly some extra comments after the syntax.",
-    "resp-syntax": "Syntax of the response",
-    "resp-comment": "Optional extra comments after the resposne syntax."
+    "brief": "This command is used to create or replace an IPv4 subnet the configuration database.",
+    "support": [ "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "hook": "cb_cmds",
+    "cmd-syntax": "{
+    \"command\": \"remote-subnet6-set\",
+    \"arguments\": {
+        \"subnets\": [
+            {
+                \"id\": <subnet identifier>,
+                \"subnet\": <subnet prefix>,
+                \"shared-network-name\": <shared network name> | null
+                <the rest of the subnet specification here>
+            }
+        ],
+        \"remote\": {
+            <specification of the database to connect to>
+        }
+    }
+}",
+    "cmd-comment": "The provided list must contain exactly one subnet specification. The <command>shared-network-name</command> parameter is required for these commands. It associates the subnet with the shared network by its name. If the subnet must not belong to any shared network (global subnet), the <command>null</command> value must be specified for the shared network name.",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"IPv6 subnet successfully set.\",
+}"
 }
index 44d433b651201246ed78ffdbf5bbddf04b399ffb..41440de3348425c452f3e664d42d9f100839bd96 100644 (file)
 , <command><link linkend="ref-network6-list">network6-list</link></command>
 , <command><link linkend="ref-network6-subnet-add">network6-subnet-add</link></command>
 , <command><link linkend="ref-network6-subnet-del">network6-subnet-del</link></command>
-, <command><link linkend="ref-reservation-add">reservation-add</link></command>
-, <command><link linkend="ref-reservation-del">reservation-del</link></command>
-, <command><link linkend="ref-reservation-get">reservation-get</link></command>
-, <command><link linkend="ref-reservation-get-all">reservation-get-all</link></command>
-, <command><link linkend="ref-reservation-get-page">reservation-get-page</link></command>
-, <command><link linkend="ref-shutdown">shutdown</link></command>
-, <command><link linkend="ref-stat-lease6-get">stat-lease6-get</link></command>
-, <command><link linkend="ref-statistic-get">statistic-get</link></command>
-, <command><link linkend="ref-statistic-get-all">statistic-get-all</link></command>
-, <command><link linkend="ref-statistic-remove">statistic-remove</link></command>
-, <command><link linkend="ref-statistic-remove-all">statistic-remove-all</link></command>
-, <command><link linkend="ref-statistic-reset">statistic-reset</link></command>
-, <command><link linkend="ref-statistic-reset-all">statistic-reset-all</link></command>
-, <command><link linkend="ref-subnet6-add">subnet6-add</link></command>
-, <command><link linkend="ref-subnet6-del">subnet6-del</link></command>
-, <command><link linkend="ref-subnet6-get">subnet6-get</link></command>
-, <command><link linkend="ref-subnet6-list">subnet6-list</link></command>
-, <command><link linkend="ref-subnet6-update">subnet6-update</link></command>
-, <command><link linkend="ref-version-get">version-get</link></command>
-.</para>
-<para xml:id="commands-undocumented">Commands supported by undocumented daemon: <command><link linkend="ref-remote-global-parameter6-del">remote-global-parameter6-del</link></command>
+, <command><link linkend="ref-remote-global-parameter6-del">remote-global-parameter6-del</link></command>
 , <command><link linkend="ref-remote-global-parameter6-get">remote-global-parameter6-get</link></command>
 , <command><link linkend="ref-remote-global-parameter6-get-all">remote-global-parameter6-get-all</link></command>
 , <command><link linkend="ref-remote-global-parameter6-set">remote-global-parameter6-set</link></command>
 , <command><link linkend="ref-remote-subnet6-get-by-prefix">remote-subnet6-get-by-prefix</link></command>
 , <command><link linkend="ref-remote-subnet6-list">remote-subnet6-list</link></command>
 , <command><link linkend="ref-remote-subnet6-set">remote-subnet6-set</link></command>
+, <command><link linkend="ref-reservation-add">reservation-add</link></command>
+, <command><link linkend="ref-reservation-del">reservation-del</link></command>
+, <command><link linkend="ref-reservation-get">reservation-get</link></command>
+, <command><link linkend="ref-reservation-get-all">reservation-get-all</link></command>
+, <command><link linkend="ref-reservation-get-page">reservation-get-page</link></command>
+, <command><link linkend="ref-shutdown">shutdown</link></command>
+, <command><link linkend="ref-stat-lease6-get">stat-lease6-get</link></command>
+, <command><link linkend="ref-statistic-get">statistic-get</link></command>
+, <command><link linkend="ref-statistic-get-all">statistic-get-all</link></command>
+, <command><link linkend="ref-statistic-remove">statistic-remove</link></command>
+, <command><link linkend="ref-statistic-remove-all">statistic-remove-all</link></command>
+, <command><link linkend="ref-statistic-reset">statistic-reset</link></command>
+, <command><link linkend="ref-statistic-reset-all">statistic-reset-all</link></command>
+, <command><link linkend="ref-subnet6-add">subnet6-add</link></command>
+, <command><link linkend="ref-subnet6-del">subnet6-del</link></command>
+, <command><link linkend="ref-subnet6-get">subnet6-get</link></command>
+, <command><link linkend="ref-subnet6-list">subnet6-list</link></command>
+, <command><link linkend="ref-subnet6-update">subnet6-update</link></command>
+, <command><link linkend="ref-version-get">version-get</link></command>
 .</para>
 <para xml:id="commands-cb_cmds-lib">Commands supported by cb_cmds hook library: <command><link linkend="ref-remote-global-parameter4-del">remote-global-parameter4-del</link></command>
 , <command><link linkend="ref-remote-global-parameter4-get">remote-global-parameter4-get</link></command>
 , <command><link linkend="ref-remote-global-parameter4-get-all">remote-global-parameter4-get-all</link></command>
 , <command><link linkend="ref-remote-global-parameter4-set">remote-global-parameter4-set</link></command>
+, <command><link linkend="ref-remote-global-parameter6-del">remote-global-parameter6-del</link></command>
+, <command><link linkend="ref-remote-global-parameter6-get">remote-global-parameter6-get</link></command>
+, <command><link linkend="ref-remote-global-parameter6-get-all">remote-global-parameter6-get-all</link></command>
+, <command><link linkend="ref-remote-global-parameter6-set">remote-global-parameter6-set</link></command>
 , <command><link linkend="ref-remote-network4-del">remote-network4-del</link></command>
 , <command><link linkend="ref-remote-network4-get">remote-network4-get</link></command>
 , <command><link linkend="ref-remote-network4-list">remote-network4-list</link></command>
 , <command><link linkend="ref-remote-network4-set">remote-network4-set</link></command>
+, <command><link linkend="ref-remote-network6-del">remote-network6-del</link></command>
+, <command><link linkend="ref-remote-network6-get">remote-network6-get</link></command>
+, <command><link linkend="ref-remote-network6-list">remote-network6-list</link></command>
+, <command><link linkend="ref-remote-network6-set">remote-network6-set</link></command>
 , <command><link linkend="ref-remote-option-def4-del">remote-option-def4-del</link></command>
 , <command><link linkend="ref-remote-option-def4-get">remote-option-def4-get</link></command>
 , <command><link linkend="ref-remote-option-def4-get-all">remote-option-def4-get-all</link></command>
 , <command><link linkend="ref-remote-option-def4-set">remote-option-def4-set</link></command>
+, <command><link linkend="ref-remote-option-def6-del">remote-option-def6-del</link></command>
+, <command><link linkend="ref-remote-option-def6-get">remote-option-def6-get</link></command>
+, <command><link linkend="ref-remote-option-def6-get-all">remote-option-def6-get-all</link></command>
+, <command><link linkend="ref-remote-option-def6-set">remote-option-def6-set</link></command>
 , <command><link linkend="ref-remote-option4-global-del">remote-option4-global-del</link></command>
 , <command><link linkend="ref-remote-option4-global-get">remote-option4-global-get</link></command>
 , <command><link linkend="ref-remote-option4-global-get-all">remote-option4-global-get-all</link></command>
 , <command><link linkend="ref-remote-option4-global-set">remote-option4-global-set</link></command>
+, <command><link linkend="ref-remote-option6-global-del">remote-option6-global-del</link></command>
+, <command><link linkend="ref-remote-option6-global-get">remote-option6-global-get</link></command>
+, <command><link linkend="ref-remote-option6-global-get-all">remote-option6-global-get-all</link></command>
+, <command><link linkend="ref-remote-option6-global-set">remote-option6-global-set</link></command>
 , <command><link linkend="ref-remote-subnet4-del-by-id">remote-subnet4-del-by-id</link></command>
 , <command><link linkend="ref-remote-subnet4-del-by-prefix">remote-subnet4-del-by-prefix</link></command>
 , <command><link linkend="ref-remote-subnet4-get-by-id">remote-subnet4-get-by-id</link></command>
 , <command><link linkend="ref-remote-subnet4-get-by-prefix">remote-subnet4-get-by-prefix</link></command>
 , <command><link linkend="ref-remote-subnet4-list">remote-subnet4-list</link></command>
 , <command><link linkend="ref-remote-subnet4-set">remote-subnet4-set</link></command>
+, <command><link linkend="ref-remote-subnet6-del-by-id">remote-subnet6-del-by-id</link></command>
+, <command><link linkend="ref-remote-subnet6-del-by-prefix">remote-subnet6-del-by-prefix</link></command>
+, <command><link linkend="ref-remote-subnet6-get-by-id">remote-subnet6-get-by-id</link></command>
+, <command><link linkend="ref-remote-subnet6-get-by-prefix">remote-subnet6-get-by-prefix</link></command>
+, <command><link linkend="ref-remote-subnet6-list">remote-subnet6-list</link></command>
+, <command><link linkend="ref-remote-subnet6-set">remote-subnet6-set</link></command>
 .</para>
 <para xml:id="commands-class_cmds-lib">Commands supported by class_cmds hook library: <command><link linkend="ref-class-add">class-add</link></command>
 , <command><link linkend="ref-class-del">class-del</link></command>
 , <command><link linkend="ref-subnet6-list">subnet6-list</link></command>
 , <command><link linkend="ref-subnet6-update">subnet6-update</link></command>
 .</para>
-<para xml:id="commands-undocumented-lib">Commands supported by undocumented hook library: <command><link linkend="ref-remote-global-parameter6-del">remote-global-parameter6-del</link></command>
-, <command><link linkend="ref-remote-global-parameter6-get">remote-global-parameter6-get</link></command>
-, <command><link linkend="ref-remote-global-parameter6-get-all">remote-global-parameter6-get-all</link></command>
-, <command><link linkend="ref-remote-global-parameter6-set">remote-global-parameter6-set</link></command>
-, <command><link linkend="ref-remote-network6-del">remote-network6-del</link></command>
-, <command><link linkend="ref-remote-network6-get">remote-network6-get</link></command>
-, <command><link linkend="ref-remote-network6-list">remote-network6-list</link></command>
-, <command><link linkend="ref-remote-network6-set">remote-network6-set</link></command>
-, <command><link linkend="ref-remote-option-def6-del">remote-option-def6-del</link></command>
-, <command><link linkend="ref-remote-option-def6-get">remote-option-def6-get</link></command>
-, <command><link linkend="ref-remote-option-def6-get-all">remote-option-def6-get-all</link></command>
-, <command><link linkend="ref-remote-option-def6-set">remote-option-def6-set</link></command>
-, <command><link linkend="ref-remote-option6-global-del">remote-option6-global-del</link></command>
-, <command><link linkend="ref-remote-option6-global-get">remote-option6-global-get</link></command>
-, <command><link linkend="ref-remote-option6-global-get-all">remote-option6-global-get-all</link></command>
-, <command><link linkend="ref-remote-option6-global-set">remote-option6-global-set</link></command>
-, <command><link linkend="ref-remote-subnet6-del-by-id">remote-subnet6-del-by-id</link></command>
-, <command><link linkend="ref-remote-subnet6-del-by-prefix">remote-subnet6-del-by-prefix</link></command>
-, <command><link linkend="ref-remote-subnet6-get-by-id">remote-subnet6-get-by-id</link></command>
-, <command><link linkend="ref-remote-subnet6-get-by-prefix">remote-subnet6-get-by-prefix</link></command>
-, <command><link linkend="ref-remote-subnet6-list">remote-subnet6-list</link></command>
-, <command><link linkend="ref-remote-subnet6-set">remote-subnet6-set</link></command>
-.</para>
 <!-- start of build-report -->
 <section xml:id="reference-build-report">
 <title>build-report reference</title>
@@ -2583,7 +2581,7 @@ Result is an integer representation of the status. Currently supported statuses
 <!-- start of remote-global-parameter4-del -->
 <section xml:id="reference-remote-global-parameter4-del">
 <title>remote-global-parameter4-del reference</title>
-<para xml:id="ref-remote-global-parameter4-del"><command>remote-global-parameter4-del</command> - This command is used to delete a global DHCPv4 parameter from a configuration database. The server will use the value specified in the configuration file or a default value (if the parameter is not specified in the configuration file) after deleting the parameter from the database.</para>
+<para xml:id="ref-remote-global-parameter4-del"><command>remote-global-parameter4-del</command> - This command is used to delete a global DHCPv4 parameter from the configuration database. The server will use the value specified in the configuration file or a default value (if the parameter is not specified in the configuration file) after deleting the parameter from the database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -2601,12 +2599,12 @@ Result is an integer representation of the status. Currently supported statuses
         }
     }
 }</screen>
-This command includes a list with exactly one name of the parameter to be deleted. The <command>remote</command> map contains specification of the backend from which the global parameter should be deleted. Typically it contains "type": "mysql".</para>
+This command carries the list including exactly one name of the parameter to be deleted.</para>
 
 <para>Response syntax:
   <screen>{
     "result": 0,
-    "text": "DHCPv4 global parameter successfully deleted.",
+    "text": "DHCPv4 global parameter(s) deleted.",
     "arguments": {
         "count": 1
     }
@@ -2643,10 +2641,8 @@ Result is an integer representation of the status. Currently supported statuses
             &lt;specification of the database to connect to&gt;
         }
     }
-}
-
-</screen>
-The <command>remote</command> map contains specification of the backend from which the global parameters should be fetched. Typically it contains "type": "mysql".</para>
+}</screen>
+This command carries a list including exactly one name of the parameter to be fetched.</para>
 
 <para>Response syntax:
   <screen>{
@@ -2687,7 +2683,7 @@ The returned response contains a map with a global parameter name/value pair. Th
         }
     }
 }</screen>
-The <command>remote</command> map contains specification of the backend from which the global parameters should be fetched. Typically it contains "type": "mysql".</para>
+This command contains no arguments besides the optional <command>remote</command>.</para>
 
 <para>Response syntax:
   <screen>{
@@ -2719,7 +2715,7 @@ The returned response contains a list of maps. Each map contains a global parame
 <!-- start of remote-global-parameter4-set -->
 <section xml:id="reference-remote-global-parameter4-set">
 <title>remote-global-parameter4-set reference</title>
-<para xml:id="ref-remote-global-parameter4-set"><command>remote-global-parameter4-set</command> - This command is used to create or update one more global parameters for a server.</para>
+<para xml:id="ref-remote-global-parameter4-set"><command>remote-global-parameter4-set</command> - This command is used to create or update one more global parameters in the configuration database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -2740,7 +2736,7 @@ The returned response contains a list of maps. Each map contains a global parame
         }
     }
 }</screen>
-The <command>remote</command> map contains specification of the backend where global parameter should be set. Typically it contains "type": "mysql".</para>
+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 <command>remote-global-parameter4-get-all</command> may be useful to verify the contents of the database after the update.</para>
 
 <para>Response syntax:
   <screen>{
@@ -2762,21 +2758,41 @@ Result is an integer representation of the status. Currently supported statuses
 <!-- start of remote-global-parameter6-del -->
 <section xml:id="reference-remote-global-parameter6-del">
 <title>remote-global-parameter6-del reference</title>
-<para xml:id="ref-remote-global-parameter6-del"><command>remote-global-parameter6-del</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-global-parameter6-del"><command>remote-global-parameter6-del</command> - This command is used to delete a global DHCPv6 parameter from the configuration database. The server will use the value specified in the configuration file or a default value (if the parameter is not specified in the configuration file) after deleting the parameter from the database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-global-parameter6-del"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-global-parameter6-del",
+    "arguments": {
+        "parameters": [ &lt;parameter name&gt; ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command carries the list including exactly one name of the parameter to be deleted.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "DHCPv6 global parameter(s) deleted.",
+    "arguments": {
+        "count": 1
+    }</screen>
+Result is an integer representation of the status. Currently supported statuses are:
+<itemizedlist>
+  <listitem><para>0 - success</para></listitem>
+  <listitem><para>1 - error</para></listitem>
+  <listitem><para>2 - unsupported</para></listitem>
+  <listitem><para>3 - empty (command was completed successfully, but no data was affected or returned)</para></listitem>
+</itemizedlist>
+</para>
 
 </section>
 <!-- end of remote-global-parameter6-del -->
@@ -2784,21 +2800,41 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-global-parameter6-get -->
 <section xml:id="reference-remote-global-parameter6-get">
 <title>remote-global-parameter6-get reference</title>
-<para xml:id="ref-remote-global-parameter6-get"><command>remote-global-parameter6-get</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-global-parameter6-get"><command>remote-global-parameter6-get</command> - This command is used to fetch selected global parameter for the server from the specified database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-global-parameter6-get"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-global-parameter6-get"
+    "arguments": {
+        "parameters": [ &lt;parameter name&gt; ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command carries a list including exactly one name of the parameter to be fetched.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "DHCPv6 global parameter found.",
+    "arguments": {
+        "parameters": {
+            &lt;parameter name&gt;: &lt;parameter value&gt;,
+            "metadata": {
+                "server-tag": &lt;server tag&gt;
+            }
+        },
+        "count": 1
+    }
+}</screen>
+The returned response contains a map with a global parameter name/value pair. The value may be a JSON string, integer, real or boolean. The metadata is included and it provides database specific information associated with the returned object.</para>
 
 </section>
 <!-- end of remote-global-parameter6-get -->
@@ -2806,21 +2842,48 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-global-parameter6-get-all -->
 <section xml:id="reference-remote-global-parameter6-get-all">
 <title>remote-global-parameter6-get-all reference</title>
-<para xml:id="ref-remote-global-parameter6-get-all"><command>remote-global-parameter6-get-all</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-global-parameter6-get-all"><command>remote-global-parameter6-get-all</command> - This command is used to fetch all global parameters for the server from the specified database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-global-parameter6-get-all"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-global-parameter6-get-all"
+    "arguments": {
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command contains no arguments besides the optional <command>remote</command>.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "DHCPv6 global parameters found.",
+    "arguments": {
+        "parameters": [
+            {
+                &lt;first parameter name&gt;: &lt;first parameter value&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
+            },
+            {
+                &lt;second parameter name&gt;: &lt;second parameter value&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
+            }
+        ],
+        "count": 2
+    }
+}</screen>
+The returned response contains a list of maps. Each map contains a global parameter name/value pair. The value may be a JSON string, integer, real or boolean. The metadata is appended to each parameter and it provides database specific information associated with the returned objects.</para>
 
 </section>
 <!-- end of remote-global-parameter6-get-all -->
@@ -2828,21 +2891,42 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-global-parameter6-set -->
 <section xml:id="reference-remote-global-parameter6-set">
 <title>remote-global-parameter6-set reference</title>
-<para xml:id="ref-remote-global-parameter6-set"><command>remote-global-parameter6-set</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-global-parameter6-set"><command>remote-global-parameter6-set</command> - This command is used to create or update one more global DHCP parameters in the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-global-parameter6-set"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-global-parameter6-set"
+    "arguments": {
+        "parameters": {
+            &lt;first parameter name&gt;: &lt;first parameter value&gt;,
+            &lt;second parameter name&gt;: &lt;second parameter value&gt;
+        },
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+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 <command>remote-global-parameter6-get-all</command> may be useful to verify the contents of the database after the update.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "DHCPv6 global parameter(s) successfully set."
+}</screen>
+Result is an integer representation of the status. Currently supported statuses are:
+<itemizedlist>
+  <listitem><para>0 - success</para></listitem>
+  <listitem><para>1 - error</para></listitem>
+  <listitem><para>2 - unsupported</para></listitem>
+  <listitem><para>3 - empty (command was completed successfully, but no data was affected or returned)</para></listitem>
+</itemizedlist>
+</para>
 
 </section>
 <!-- end of remote-global-parameter6-set -->
@@ -2862,16 +2946,18 @@ Optional extra comments after the resposne syntax.</para>
   <screen>{
     "command": "remote-network4-del",
     "arguments": {
-        "shared-networks": [ {
-            "name": &lt;shared network name&gt;
-        } ],
+        "shared-networks": [
+            {
+                "name": &lt;shared network name&gt;
+            }
+        ],
         "subnets-action": "keep" | "delete",
         "remote": {
             &lt;specification of the database to connect to&gt;
         }
     }
 }</screen>
-This command includes a list with exactly one name of the shared network to be deleted. The <command>subnets-action</command> denotes whether the subnets in this shared network should be deleted or not. The <command>remote</command> map contains specification of the backend from which the shared network should be deleted. Typically it contains "type": "mysql".</para>
+This command includes a list with exactly one name of the shared network to be deleted. The <command>subnets-action</command> denotes whether the subnets in this shared network should be deleted or not.</para>
 
 <para>Response syntax:
   <screen>{
@@ -2908,33 +2994,37 @@ Result is an integer representation of the status. Currently supported statuses
   <screen>{
     "command": "remote-network4-get"
     "arguments": {
-        "shared-networks": [ {
-            "name": &lt;shared network name&gt;
-        } ],
+        "shared-networks": [
+            {
+                "name": &lt;shared network name&gt;
+            }
+        ],
         "subnets-include": "full" | "no",
         "remote": {
             &lt;specification of the database to connect to&gt;
         }
     }
 }</screen>
-This command includes a list with exactly one name of the shared network to be returned. The <command>subnets-include</command> optional parameter allows for specifying whether subnets belonging to the shared network should also be returned. The <command>remote</command> map contains specification of the backend from which the shared network should be fetched. Typically it contains "type": "mysql".</para>
+This command includes a list with exactly one name of the shared network to be returned. The <command>subnets-include</command> optional parameter allows for specifying whether the subnets belonging to the shared network should also be returned.</para>
 
 <para>Response syntax:
   <screen>{
     "result": 0,
-    "text": "IPv4 shared network 'floor1' found.",
+    "text": "IPv4 shared network found.",
     "arguments": {
-        "shared-networks": [ {
-            "name": &lt;shared network name&gt;,
-            "metadata": {
-                "server-tag": &lt;server tag&gt;
-            },
-            &lt;the rest of the shared network information, potentially including subnets&gt;
-        } ],
+        "shared-networks": [
+            {
+                "name": &lt;shared network name&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                },
+                &lt;the rest of the shared network information, potentially including subnets&gt;
+            }
+        ],
         "count": 1
     }
 }</screen>
-The metadata is included in the returned shared network definition and it provides database specific information associated with the returned object.</para>
+If the subnets are returned with the shared network they are carried in the <command>subnet4</command> 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.</para>
 
 </section>
 <!-- end of remote-network4-get -->
@@ -2942,7 +3032,7 @@ The metadata is included in the returned shared network definition and it provid
 <!-- start of remote-network4-list -->
 <section xml:id="reference-remote-network4-list">
 <title>remote-network4-list reference</title>
-<para xml:id="ref-remote-network4-list"><command>remote-network4-list</command> - This command is used to fetch a list of all subnets for the particular server from the specified database.</para>
+<para xml:id="ref-remote-network4-list"><command>remote-network4-list</command> - This command is used to fetch a list of all IPv4 shared networks from the configuration database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -2959,7 +3049,7 @@ The metadata is included in the returned shared network definition and it provid
         }
     }
 }</screen>
-The <command>remote</command> map contains specification of the backend from which the shared networks should be fetched. Typically it contains "type": "mysql".</para>
+This command contains no arguments besides the optional <command>remote</command>.</para>
 
 <para>Response syntax:
   <screen>{
@@ -2983,7 +3073,7 @@ The <command>remote</command> map contains specification of the backend from whi
         "count": 2
     }
 }</screen>
-The returned response contains a list of maps. Each map contains a shared network name and the metadata which provides database specific information associated with the shared networks. The returned list does not contain full definitions of the shared networks. Use <command>remote-network4-get</command> to fetch the full information about the selected shared networks.</para>
+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 <command>remote-network4-get</command> to fetch the full information about the selected shared networks.</para>
 
 </section>
 <!-- end of remote-network4-list -->
@@ -2991,7 +3081,7 @@ The returned response contains a list of maps. Each map contains a shared networ
 <!-- start of remote-network4-set -->
 <section xml:id="reference-remote-network4-set">
 <title>remote-network4-set reference</title>
-<para xml:id="ref-remote-network4-set"><command>remote-network4-set</command> - This command is used to create or update IPv4 shared network for a server in the specified database.</para>
+<para xml:id="ref-remote-network4-set"><command>remote-network4-set</command> - This command is used to create or replace an IPv4 shared network in the configuration database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -3003,15 +3093,17 @@ The returned response contains a list of maps. Each map contains a shared networ
   <screen>{
     "command": "remote-network4-set",
     "arguments": {
-        "shared-networks": [ {
-            &lt;shared network specification excluding subnets list&gt;
-        } ],
+        "shared-networks": [
+            {
+                &lt;shared network specification excluding subnets list&gt;
+            }
+        ],
         "remote": {
             &lt;specification of the database to connect to&gt;
         }
     }
 }</screen>
-The provided list must contain exactly one shared network specification. It must not contain subnets (subnet4 parameter). The subnets are added to the shared network using <command>remote-subnet4-set</command> command. The <command>remote</command> map contains specification of the backend where shared network should be set. Typically it contains "type": "mysql".</para>
+The provided list must contain exactly one shared network specification. It must not contain subnets ("subnet4" parameter). The subnets are added to the shared network using <command>remote-subnet4-set</command> command.</para>
 
 <para>Response syntax:
   <screen>{
@@ -3033,21 +3125,47 @@ Result is an integer representation of the status. Currently supported statuses
 <!-- start of remote-network6-del -->
 <section xml:id="reference-remote-network6-del">
 <title>remote-network6-del reference</title>
-<para xml:id="ref-remote-network6-del"><command>remote-network6-del</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-network6-del"><command>remote-network6-del</command> - This command is used to delete an IPv6 shared network from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-network6-del"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-network6-del",
+    "arguments": {
+        "shared-networks": [
+            {
+                "name": &lt;shared network name&gt;
+            }
+        ],
+        "subnets-action": "keep" | "delete",
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command includes a list with exactly one name of the shared network to be deleted. The <command>subnets-action</command> denotes whether the subnets in this shared network should be deleted or not.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "1 IPv6 shared network(s) deleted.",
+    "arguments": {
+        "count": 1
+    }
+}</screen>
+Result is an integer representation of the status. Currently supported statuses are:
+<itemizedlist>
+  <listitem><para>0 - success</para></listitem>
+  <listitem><para>1 - error</para></listitem>
+  <listitem><para>2 - unsupported</para></listitem>
+  <listitem><para>3 - empty (command was completed successfully, but no data was affected or returned)</para></listitem>
+</itemizedlist>
+</para>
 
 </section>
 <!-- end of remote-network6-del -->
@@ -3055,43 +3173,98 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-network6-get -->
 <section xml:id="reference-remote-network6-get">
 <title>remote-network6-get reference</title>
-<para xml:id="ref-remote-network6-get"><command>remote-network6-get</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-network6-get"><command>remote-network6-get</command> - This command is used to fetch selected IPv6 shared network for the server from the specified database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-network6-get"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
-
-<para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
-
-</section>
-<!-- end of remote-network6-get -->
-
-<!-- start of remote-network6-list -->
-<section xml:id="reference-remote-network6-list">
+  <screen>{
+    "command": "remote-network6-get"
+    "arguments": {
+        "shared-networks": [
+            {
+                "name": &lt;shared network name&gt;
+            }
+        ],
+        "subnets-include": "full" | "no",
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command includes a list with exactly one name of the shared network to be returned. The <command>subnets-include</command> optional parameter allows for specifying whether the subnets belonging to the shared network should also be returned.</para>
+
+<para>Response syntax:
+  <screen>{
+    "result": 0,
+    "text": "IPv6 shared network found.",
+    "arguments": {
+        "shared-networks": [
+            {
+                "name": &lt;shared network name&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                },
+                &lt;the rest of the shared network information, potentially including subnets&gt;
+            }
+        ],
+        "count": 1
+    }
+}</screen>
+If the subnets are returned with the shared network they are carried in the <command>subnet6</command> 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.</para>
+
+</section>
+<!-- end of remote-network6-get -->
+
+<!-- start of remote-network6-list -->
+<section xml:id="reference-remote-network6-list">
 <title>remote-network6-list reference</title>
-<para xml:id="ref-remote-network6-list"><command>remote-network6-list</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-network6-list"><command>remote-network6-list</command> - This command is used to fetch a list of all IPv6 shared networks from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-network6-list"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-network6-list"
+    "arguments": {
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command contains no arguments besides the optional <command>remote</command>.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "2 IPv6 shared network(s) found.",
+    "arguments": {
+        "shared-networks": [
+            {
+                "name": &lt;first shared network name&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
+            },
+            {
+                "name": &lt;second shared network name&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
+            }
+        ],
+        "count": 2
+    }
+}</screen>
+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 <command>remote-network6-get</command> to fetch the full information about the selected shared networks.</para>
 
 </section>
 <!-- end of remote-network6-list -->
@@ -3099,21 +3272,43 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-network6-set -->
 <section xml:id="reference-remote-network6-set">
 <title>remote-network6-set reference</title>
-<para xml:id="ref-remote-network6-set"><command>remote-network6-set</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-network6-set"><command>remote-network6-set</command> - This command is used to create or replace an IPv6 shared network in the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-network6-set"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-network6-set",
+    "arguments": {
+        "shared-networks": [
+            {
+                &lt;shared network specification excluding subnets list&gt;
+            }
+        ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+The provided list must contain exactly one shared network specification. It must not contain subnets ("subnet6" parameter). The subnets are added to the shared network using <command>remote-subnet6-set</command> command.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "IPv6 shared network successfully set."
+}</screen>
+Result is an integer representation of the status. Currently supported statuses are:
+<itemizedlist>
+  <listitem><para>0 - success</para></listitem>
+  <listitem><para>1 - error</para></listitem>
+  <listitem><para>2 - unsupported</para></listitem>
+  <listitem><para>3 - empty (command was completed successfully, but no data was affected or returned)</para></listitem>
+</itemizedlist>
+</para>
 
 </section>
 <!-- end of remote-network6-set -->
@@ -3142,7 +3337,7 @@ Optional extra comments after the resposne syntax.</para>
         }
     }
 }</screen>
-This command includes a list with exactly one option definition specification comprising an option name and code. The <command>remote</command> map contains specification of the backend from which the shared network should be deleted. Typically it contains "type": "mysql".</para>
+This command includes a list with exactly one option definition specification comprising an option name and code.</para>
 
 <para>Response syntax:
   <screen>{
@@ -3167,7 +3362,7 @@ Result is an integer representation of the status. Currently supported statuses
 <!-- start of remote-option-def4-get -->
 <section xml:id="reference-remote-option-def4-get">
 <title>remote-option-def4-get reference</title>
-<para xml:id="ref-remote-option-def4-get"><command>remote-option-def4-get</command> - This command is used to fetch DHCPv4 option definition for the server from the specified database.</para>
+<para xml:id="ref-remote-option-def4-get"><command>remote-option-def4-get</command> - This command is used to fetch a DHCPv4 option definition from the configuration database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -3179,28 +3374,32 @@ Result is an integer representation of the status. Currently supported statuses
   <screen>{
     "command": "remote-option-def4-get",
     "arguments": {
-        "option-defs": [ {
-            "code": &lt;option code&gt;,
-            "space": &lt;option space&gt;
-        } ],
+        "option-defs": [
+            {
+                "code": &lt;option code&gt;,
+                "space": &lt;option space&gt;
+            }
+        ],
         "remote": {
             &lt;specification of the database to connect to&gt;
         }
     }
 }</screen>
-The desired option definition is identified by the pair of option code/space values. The <command>remote</command> map contains specification of the backend from which the global parameters should be fetched. Typically it contains "type": "mysql".</para>
+The desired option definition is identified by the pair of the option code/space values.</para>
 
 <para>Response syntax:
   <screen>{
     "result": 0,
-    "text": "DHCPv4 option definition 222 in 'dhcp4' found.",
+    "text": "DHCPv4 option definition found.",
     "arguments": {
-        "option-defs": [ {
-            &lt;option definition&gt;,
-            "metadata": {
-                "server-tag": &lt;server tag&gt;
+        "option-defs": [
+            {
+                &lt;option definition&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
             }
-        ],
+        ],
         "count": 1
     }
 }</screen>
@@ -3212,7 +3411,7 @@ The metadata is included and it provides database specific information associate
 <!-- start of remote-option-def4-get-all -->
 <section xml:id="reference-remote-option-def4-get-all">
 <title>remote-option-def4-get-all reference</title>
-<para xml:id="ref-remote-option-def4-get-all"><command>remote-option-def4-get-all</command> - This command is used to fetch all option definitions for the server from the specified database.</para>
+<para xml:id="ref-remote-option-def4-get-all"><command>remote-option-def4-get-all</command> - This command is used to fetch all DHCPv4 option definitions from the configuration database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -3229,7 +3428,7 @@ The metadata is included and it provides database specific information associate
         }
     }
 }</screen>
-The <command>remote</command> map contains specification of the backend from which the global parameters should be fetched. Typically it contains "type": "mysql".</para>
+This command contains no arguments besides the optional <command>remote</command>.</para>
 
 <para>Response syntax:
   <screen>{
@@ -3250,7 +3449,7 @@ The <command>remote</command> map contains specification of the backend from whi
                 }
             }
         ],
-        "count": &lt;count of the objects returned&gt;
+        "count": 2
     }
 }</screen>
 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.</para>
@@ -3261,7 +3460,7 @@ The returned response contains a list of maps. Each map contains an option defin
 <!-- start of remote-option-def4-set -->
 <section xml:id="reference-remote-option-def4-set">
 <title>remote-option-def4-set reference</title>
-<para xml:id="ref-remote-option-def4-set"><command>remote-option-def4-set</command> - This command is used to create or update DHCPv4 option definition for the server in the specified database.</para>
+<para xml:id="ref-remote-option-def4-set"><command>remote-option-def4-set</command> - This command is used to create or replace DHCPv4 option definition in the configuration database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -3272,17 +3471,18 @@ The returned response contains a list of maps. Each map contains an option defin
 <para>Command syntax:
   <screen>{
     "command": "remote-option-def4-set",
-    "service": [ "dhcp4" ],
     "arguments": {
-        "option-defs": [ {
-            &lt;option definition specification&gt;
-        } ],
+        "option-defs": [
+            {
+                &lt;option definition specification&gt;
+            }
+        ],
         "remote": {
             &lt;specification of the database to connect to&gt;
         }
     }
 }</screen>
-The provided list must contain exactly one option definition specification. The <command>remote</command> map contains specification of the backend where shared network should be set. Typically it contains "type": "mysql".</para>
+The provided list must contain exactly one option definition specification.</para>
 
 <para>Response syntax:
   <screen>{
@@ -3304,21 +3504,47 @@ Result is an integer representation of the status. Currently supported statuses
 <!-- start of remote-option-def6-del -->
 <section xml:id="reference-remote-option-def6-del">
 <title>remote-option-def6-del reference</title>
-<para xml:id="ref-remote-option-def6-del"><command>remote-option-def6-del</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-option-def6-del"><command>remote-option-def6-del</command> - This command is used to delete a DHCPv6 option definition from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-option-def6-del"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-option-def6-del",
+    "arguments": {
+        "option-defs": [
+            {
+                "code": &lt;option code&gt;,
+                "space": &lt;option space
+            }
+        ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command includes a list with exactly one option definition specification comprising an option name and code.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "1 DHCPv6 option definition(s) deleted.",
+    "arguments": {
+        "count": 1
+    }
+}</screen>
+Result is an integer representation of the status. Currently supported statuses are:
+<itemizedlist>
+  <listitem><para>0 - success</para></listitem>
+  <listitem><para>1 - error</para></listitem>
+  <listitem><para>2 - unsupported</para></listitem>
+  <listitem><para>3 - empty (command was completed successfully, but no data was affected or returned)</para></listitem>
+</itemizedlist>
+</para>
 
 </section>
 <!-- end of remote-option-def6-del -->
@@ -3326,21 +3552,48 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-option-def6-get -->
 <section xml:id="reference-remote-option-def6-get">
 <title>remote-option-def6-get reference</title>
-<para xml:id="ref-remote-option-def6-get"><command>remote-option-def6-get</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-option-def6-get"><command>remote-option-def6-get</command> - This command is used to fetch a DHCPv6 option definition from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-option-def6-get"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-option-def6-get",
+    "arguments": {
+        "option-defs": [
+            {
+                "code": &lt;option code&gt;,
+                "space": &lt;option space&gt;
+            }
+        ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+The desired option definition is identified by the pair of the option code/space values.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "DHCPv6 option definition found.",
+    "arguments": {
+        "option-defs": [
+            {
+                &lt;option definition&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
+            }
+        ],
+        "count": 1
+    }
+}</screen>
+The metadata is included and it provides database specific information associated with the returned object.</para>
 
 </section>
 <!-- end of remote-option-def6-get -->
@@ -3348,21 +3601,48 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-option-def6-get-all -->
 <section xml:id="reference-remote-option-def6-get-all">
 <title>remote-option-def6-get-all reference</title>
-<para xml:id="ref-remote-option-def6-get-all"><command>remote-option-def6-get-all</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-option-def6-get-all"><command>remote-option-def6-get-all</command> - This command is used to fetch all DHCPv6 option definitions from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-option-def6-get-all"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-option-def6-get-all"
+    "arguments": {
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command contains no arguments besides the optional <command>remote</command>.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "2 DHCPv6 option definition(s) found.",
+    "arguments": {
+        "option-defs": [
+            {
+                &lt;first option definition&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
+            },
+            {
+                &lt;second option definition&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
+            }
+        ],
+        "count": 2
+    }
+}</screen>
+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.</para>
 
 </section>
 <!-- end of remote-option-def6-get-all -->
@@ -3370,21 +3650,43 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-option-def6-set -->
 <section xml:id="reference-remote-option-def6-set">
 <title>remote-option-def6-set reference</title>
-<para xml:id="ref-remote-option-def6-set"><command>remote-option-def6-set</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-option-def6-set"><command>remote-option-def6-set</command> - This command is used to create or replace DHCPv6 option definition in the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-option-def6-set"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-option-def6-set",
+    "arguments": {
+        "option-defs": [
+            {
+                &lt;option definition specification&gt;
+            }
+        ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+The provided list must contain exactly one option definition specification.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "DHCPv6 option definition set."
+}</screen>
+Result is an integer representation of the status. Currently supported statuses are:
+<itemizedlist>
+  <listitem><para>0 - success</para></listitem>
+  <listitem><para>1 - error</para></listitem>
+  <listitem><para>2 - unsupported</para></listitem>
+  <listitem><para>3 - empty (command was completed successfully, but no data was affected or returned)</para></listitem>
+</itemizedlist>
+</para>
 
 </section>
 <!-- end of remote-option-def6-set -->
@@ -3404,24 +3706,27 @@ Optional extra comments after the resposne syntax.</para>
   <screen>{
     "command": "remote-option4-global-del",
     "arguments": {
-        "options": [ {
-            "code": &lt;option code&gt;
-            "space": &lt;option space&gt;
-        } ],
+        "options": [
+            {
+                "code": &lt;option code&gt;
+                "space": &lt;option space&gt;
+            }
+        ],
         "remote": {
             &lt;specification of the database to connect to&gt;
         }
     }
 }</screen>
-This command includes a list with exactly one option specification comprising an option name and code. The <command>remote</command> map contains specification of the backend from which the shared network should be deleted. Typically it contains "type": "mysql".</para>
+This command includes a list with exactly one option specification comprising an option name and code.</para>
 
 <para>Response syntax:
-  <screen>
+  <screen>{
     "result": 0,
     "text": "1 DHCPv4 option(s) deleted.",
     "arguments": {
         "count": 1
-    }</screen>
+    }
+}</screen>
 Result is an integer representation of the status. Currently supported statuses are:
 <itemizedlist>
   <listitem><para>0 - success</para></listitem>
@@ -3459,12 +3764,12 @@ Result is an integer representation of the status. Currently supported statuses
             &lt;specification of the database to connect to&gt;
         }
 }</screen>
-The option is identified by the pair of option code/space values. The <command>remote</command> map contains specification of the backend from which the option should be fetched. Typically it contains "type": "mysql".</para>
+The option is identified by the pair of option code/space values.</para>
 
 <para>Response syntax:
   <screen>{
     "result": 0,
-    "text": "DHCPv4 option &lt;option code&gt; in &lt;option space&gt; found.",
+    "text": "DHCPv4 option in found.",
     "arguments": {
         "options": [
             {
@@ -3484,7 +3789,7 @@ The metadata is included and it provides database specific information associate
 <!-- start of remote-option4-global-get-all -->
 <section xml:id="reference-remote-option4-global-get-all">
 <title>remote-option4-global-get-all reference</title>
-<para xml:id="ref-remote-option4-global-get-all"><command>remote-option4-global-get-all</command> - This command is used to fetch all DHCPv4 global options for the server from the specified database.</para>
+<para xml:id="ref-remote-option4-global-get-all"><command>remote-option4-global-get-all</command> - This command is used to fetch all DHCPv4 global options for the server from the configuration database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -3494,14 +3799,14 @@ The metadata is included and it provides database specific information associate
 
 <para>Command syntax:
   <screen>{
-    "command": "remote-option4-global-get-all"
+    "command": "remote-option4-global-get-all",
     "arguments": {
         "remote": {
             &lt;specification of the database to connect to&gt;
         }
     }
 }</screen>
-The <command>remote</command> map contains specification of the backend from which the global parameters should be fetched. Typically it contains "type": "mysql".</para>
+This command takes no arguments besides the optional <command>remote</command> map.</para>
 
 <para>Response syntax:
   <screen>{
@@ -3522,7 +3827,7 @@ The <command>remote</command> map contains specification of the backend from whi
                 }
             }
         ],
-        "count": &lt;count of the objects returned&gt;
+        "count": 2
     }
 }</screen>
 The returned response contains a list of maps. Each map contains a global option specification and the metadata including database specific information associated with the returned object.</para>
@@ -3533,7 +3838,7 @@ The returned response contains a list of maps. Each map contains a global option
 <!-- start of remote-option4-global-set -->
 <section xml:id="reference-remote-option4-global-set">
 <title>remote-option4-global-set reference</title>
-<para xml:id="ref-remote-option4-global-set"><command>remote-option4-global-set</command> - This command is used to create or update DHCPv4 global option for the server in the specified database.</para>
+<para xml:id="ref-remote-option4-global-set"><command>remote-option4-global-set</command> - This command is used to create or replace a DHCPv4 global option in the configuration database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -3544,17 +3849,18 @@ The returned response contains a list of maps. Each map contains a global option
 <para>Command syntax:
   <screen>{
     "command": "remote-option4-global-set",
-    "service": [ "dhcp4" ],
     "arguments": {
-        "options": [ {
-            &lt;global option specification&gt;
-        } ],
+        "options": [
+            {
+                &lt;global option specification&gt;
+            }
+        ],
         "remote": {
             &lt;specification of the database to connect to&gt;
         }
     }
 }</screen>
-The provided list must cotain exactly one option specification. The <command>remote</command> map contains specification of the backend where shared network should be set. Typically it contains "type": "mysql".</para>
+The provided list must cotain exactly one option specification.</para>
 
 <para>Response syntax:
   <screen>{
@@ -3576,43 +3882,94 @@ Result is an integer representation of the status. Currently supported statuses
 <!-- start of remote-option6-global-del -->
 <section xml:id="reference-remote-option6-global-del">
 <title>remote-option6-global-del reference</title>
-<para xml:id="ref-remote-option6-global-del"><command>remote-option6-global-del</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-option6-global-del"><command>remote-option6-global-del</command> - This command is used to delete a DHCPv6 global option from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-option6-global-del"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-option6-global-del",
+    "arguments": {
+        "options": [
+            {
+                "code": &lt;option code&gt;
+                "space": &lt;option space&gt;
+            }
+        ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command includes a list with exactly one option specification comprising an option name and code.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
-
-</section>
+  <screen>{
+    "result": 0,
+    "text": "1 DHCPv6 option(s) deleted.",
+    "arguments": {
+        "count": 1
+    }
+}</screen>
+Result is an integer representation of the status. Currently supported statuses are:
+<itemizedlist>
+  <listitem><para>0 - success</para></listitem>
+  <listitem><para>1 - error</para></listitem>
+  <listitem><para>2 - unsupported</para></listitem>
+  <listitem><para>3 - empty (command was completed successfully, but no data was affected or returned)</para></listitem>
+</itemizedlist>
+</para>
+
+</section>
 <!-- end of remote-option6-global-del -->
 
 <!-- start of remote-option6-global-get -->
 <section xml:id="reference-remote-option6-global-get">
 <title>remote-option6-global-get reference</title>
-<para xml:id="ref-remote-option6-global-get"><command>remote-option6-global-get</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-option6-global-get"><command>remote-option6-global-get</command> - This command is used to delete a DHCPv6 global option from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-option6-global-get"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-option6-global-get",
+    "arguments": {
+        "options": [
+            {
+                "code": &lt;option code&gt;,
+                "space": &lt;option space&gt;
+            }
+        ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+}</screen>
+The option is identified by the pair of option code/space values.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "DHCPv6 option found.",
+    "arguments": {
+        "options": [
+            {
+                &lt;option information&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
+            }
+        ]
+    }
+}</screen>
+The metadata is included and it provides database specific information associated with the returned object.</para>
 
 </section>
 <!-- end of remote-option6-global-get -->
@@ -3620,21 +3977,48 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-option6-global-get-all -->
 <section xml:id="reference-remote-option6-global-get-all">
 <title>remote-option6-global-get-all reference</title>
-<para xml:id="ref-remote-option6-global-get-all"><command>remote-option6-global-get-all</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-option6-global-get-all"><command>remote-option6-global-get-all</command> - This command is used to fetch all DHCPv6 global options for the server from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-option6-global-get-all"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-option6-global-get-all",
+    "arguments": {
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command takes no arguments besides the optional <command>remote</command> map.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "2 DHCPv6 option(s) found.",
+    "arguments": {
+        "options": [
+            {
+                &lt;first option specification&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
+            },
+            {
+                &lt;second option specification&gt;,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
+            }
+        ],
+        "count": 2
+    }
+}</screen>
+The returned response contains a list of maps. Each map contains a global option specification and the metadata including database specific information associated with the returned object.</para>
 
 </section>
 <!-- end of remote-option6-global-get-all -->
@@ -3642,21 +4026,43 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-option6-global-set -->
 <section xml:id="reference-remote-option6-global-set">
 <title>remote-option6-global-set reference</title>
-<para xml:id="ref-remote-option6-global-set"><command>remote-option6-global-set</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-option6-global-set"><command>remote-option6-global-set</command> - This command is used to create or replace a DHCPv6 global option in the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-option6-global-set"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-option6-global-set",
+    "arguments": {
+        "options": [
+            {
+                &lt;global option specification&gt;
+            }
+        ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+The provided list must cotain exactly one option specification.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "DHCPv6 option set."
+}</screen>
+Result is an integer representation of the status. Currently supported statuses are:
+<itemizedlist>
+  <listitem><para>0 - success</para></listitem>
+  <listitem><para>1 - error</para></listitem>
+  <listitem><para>2 - unsupported</para></listitem>
+  <listitem><para>3 - empty (command was completed successfully, but no data was affected or returned)</para></listitem>
+</itemizedlist>
+</para>
 
 </section>
 <!-- end of remote-option6-global-set -->
@@ -3675,17 +4081,18 @@ Optional extra comments after the resposne syntax.</para>
 <para>Command syntax:
   <screen>{
     "command": "remote-subnet4-del-by-id",
-    "service": [ "dhcp4" ],
     "arguments": {
-        "subnets": [ {
-            "id": &lt;subnet identifier&gt;
-        } ],
+        "subnets": [
+            {
+                "id": &lt;subnet identifier&gt;
+            }
+        ],
         "remote": {
             &lt;specification of the database to connect to&gt;
         }
     }
 }</screen>
-This command includes a list with exactly one id of the subnet to be deleted. The <command>remote</command> map contains specification of the backend from which the subnet should be deleted. Typically it contains "type": "mysql".</para>
+This command includes a list with exactly one id of the subnet to be deleted.</para>
 
 <para>Response syntax:
   <screen>{
@@ -3721,17 +4128,18 @@ Result is an integer representation of the status. Currently supported statuses
 <para>Command syntax:
   <screen>{
     "command": "remote-subnet4-del-by-prefix",
-    "service": [ "dhcp4" ],
     "arguments": {
-        "subnets": [ {
-            "subnet": &lt;subnet prefix&gt;
-        } ],
+        "subnets": [
+            {
+                "subnet": &lt;subnet prefix&gt;
+            }
+        ],
         "remote": {
             &lt;specification of the database to connect to&gt;
         }
     }
 }</screen>
-This command includes a list with exactly one prefix of the subnet to be deleted. The <command>remote</command> map contains specification of the backend from which the subnet should be deleted. Typically it contains "type": "mysql".</para>
+This command includes a list with exactly one prefix of the subnet to be deleted.</para>
 
 <para>Response syntax:
   <screen>{
@@ -3756,7 +4164,7 @@ Result is an integer representation of the status. Currently supported statuses
 <!-- start of remote-subnet4-get-by-id -->
 <section xml:id="reference-remote-subnet4-get-by-id">
 <title>remote-subnet4-get-by-id reference</title>
-<para xml:id="ref-remote-subnet4-get-by-id"><command>remote-subnet4-get-by-id</command> - This command is used to fetch selected IPv4 subnet by ID for the server from the specified database.</para>
+<para xml:id="ref-remote-subnet4-get-by-id"><command>remote-subnet4-get-by-id</command> - This command is used to fetch selected IPv4 subnet by ID for the server from the configuration database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -3776,12 +4184,12 @@ Result is an integer representation of the status. Currently supported statuses
         }
     }
 }</screen>
-This command includes a list with exactly one id of the subnet to be returned. The <command>remote</command> map contains specification of the backend from which the subnet should be fetched. Typically it contains "type": "mysql".</para>
+This command includes a list with exactly one id of the subnet to be returned.</para>
 
 <para>Response syntax:
   <screen>{
     "result": 0,
-    "text": "IPv4 subnet 123 found.",
+    "text": "IPv4 subnet found.",
     "arguments": {
         "subnets": [ {
             "id": &lt;subnet identifier&gt;
@@ -3795,7 +4203,7 @@ This command includes a list with exactly one id of the subnet to be returned. T
         "count": 1
     }
 }</screen>
-The metadata is included in the returned subnet definition and it provides database specific information associated with the returned object.</para>
+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.</para>
 
 </section>
 <!-- end of remote-subnet4-get-by-id -->
@@ -3803,7 +4211,7 @@ The metadata is included in the returned subnet definition and it provides datab
 <!-- start of remote-subnet4-get-by-prefix -->
 <section xml:id="reference-remote-subnet4-get-by-prefix">
 <title>remote-subnet4-get-by-prefix reference</title>
-<para xml:id="ref-remote-subnet4-get-by-prefix"><command>remote-subnet4-get-by-prefix</command> - This command is used to fetch selected IPv4 subnet by prefix for the server from the specified database.</para>
+<para xml:id="ref-remote-subnet4-get-by-prefix"><command>remote-subnet4-get-by-prefix</command> - This command is used to fetch selected IPv4 subnet by prefix from the configuration database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -3823,26 +4231,28 @@ The metadata is included in the returned subnet definition and it provides datab
         }
     }
 }</screen>
-This command includes a list with exactly one prefix of the subnet to be returned. The <command>remote</command> map contains specification of the backend from which the subnet should be fetched. Typically it contains "type": "mysql".</para>
+This command includes a list with exactly one prefix of the subnet to be returned.</para>
 
 <para>Response syntax:
   <screen>{
     "result": 0,
-    "text": "IPv4 subnet 123 found.",
+    "text": "IPv4 subnet found.",
     "arguments": {
-        "subnets": [ {
-            "id": &lt;subnet identifier&gt;
-            "subnet": &lt;subnet prefix&gt;,
-            "shared-network-name": &lt;shared network name&gt; | null,
-            "metadata": {
-                "server-tag": &lt;server tag&gt;
-            },
-            &lt;the rest of the subnet specification here&gt;
-        } ],
+        "subnets": [
+            {
+                "id": &lt;subnet identifier&gt;
+                "subnet": &lt;subnet prefix&gt;,
+                "shared-network-name": &lt;shared network name&gt; | null,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                },
+                &lt;the rest of the subnet specification here&gt;
+            }
+        ],
         "count": 1
     }
 }</screen>
-The metadata is included in the returned subnet definition and it provides database specific information associated with the returned object.</para>
+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.</para>
 
 </section>
 <!-- end of remote-subnet4-get-by-prefix -->
@@ -3850,7 +4260,7 @@ The metadata is included in the returned subnet definition and it provides datab
 <!-- start of remote-subnet4-list -->
 <section xml:id="reference-remote-subnet4-list">
 <title>remote-subnet4-list reference</title>
-<para xml:id="ref-remote-subnet4-list"><command>remote-subnet4-list</command> - This command is used to fetch a list of all IPv4 shared networks for the particular server from the specified database.</para>
+<para xml:id="ref-remote-subnet4-list"><command>remote-subnet4-list</command> - This command is used to fetch a list of all IPv4 subnets from the configuration database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -3867,7 +4277,7 @@ The metadata is included in the returned subnet definition and it provides datab
         }
     }
 }</screen>
-The <command>remote</command> map contains specification of the backend from which the subnets should be fetched. Typically it contains "type": "mysql".</para>
+This command includes no arguments besides the optional <command>remote</command> map.</para>
 
 <para>Response syntax:
   <screen>{
@@ -3903,7 +4313,7 @@ The returned response contains a list of maps. Each map contains a subnet identi
 <!-- start of remote-subnet4-set -->
 <section xml:id="reference-remote-subnet4-set">
 <title>remote-subnet4-set reference</title>
-<para xml:id="ref-remote-subnet4-set"><command>remote-subnet4-set</command> - This command is used to create or update IPv4 subnet for a server in the specified database.</para>
+<para xml:id="ref-remote-subnet4-set"><command>remote-subnet4-set</command> - This command is used to create or replace an IPv4 subnet the configuration database.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command></para>
 
@@ -3915,18 +4325,20 @@ The returned response contains a list of maps. Each map contains a subnet identi
   <screen>{
     "command": "remote-subnet4-set",
     "arguments": {
-        "subnets": [ {
-            "id": &lt;subnet identifier&gt;,
-            "subnet": &lt;subnet prefix&gt;,
-            "shared-network-name": &lt;shared network name&gt;
-            &lt;the rest of the subnet specification here&gt;
-        } ],
+        "subnets": [
+            {
+                "id": &lt;subnet identifier&gt;,
+                "subnet": &lt;subnet prefix&gt;,
+                "shared-network-name": &lt;shared network name&gt; | null
+                &lt;the rest of the subnet specification here&gt;
+            }
+        ],
         "remote": {
             &lt;specification of the database to connect to&gt;
         }
     }
 }</screen>
-The provided list must contain exactly one subnet specification. The <command>remote</command> map contains specification of the backend where shared network should be set. Typically it contains "type": "mysql".</para>
+The provided list must contain exactly one subnet specification. The <command>shared-network-name</command> parameter is required for these commands. It associates the subnet with the shared network by its name. If the subnet must not belong to any shared network (global subnet), the <command>null</command> value must be specified for the shared network name.</para>
 
 <para>Response syntax:
   <screen>{
@@ -3948,21 +4360,46 @@ Result is an integer representation of the status. Currently supported statuses
 <!-- start of remote-subnet6-del-by-id -->
 <section xml:id="reference-remote-subnet6-del-by-id">
 <title>remote-subnet6-del-by-id reference</title>
-<para xml:id="ref-remote-subnet6-del-by-id"><command>remote-subnet6-del-by-id</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-subnet6-del-by-id"><command>remote-subnet6-del-by-id</command> - This command is used to delete an IPv6 subnet by ID from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-subnet6-del-by-id"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-subnet6-del-by-id",
+    "arguments": {
+        "subnets": [
+            {
+                "id": &lt;subnet identifier&gt;
+            }
+        ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command includes a list with exactly one id of the subnet to be deleted.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "1 IPv6 subnet(s) deleted.",
+    "arguments": {
+        "count": 1
+    }
+}</screen>
+Result is an integer representation of the status. Currently supported statuses are:
+<itemizedlist>
+  <listitem><para>0 - success</para></listitem>
+  <listitem><para>1 - error</para></listitem>
+  <listitem><para>2 - unsupported</para></listitem>
+  <listitem><para>3 - empty (command was completed successfully, but no data was affected or returned)</para></listitem>
+</itemizedlist>
+</para>
 
 </section>
 <!-- end of remote-subnet6-del-by-id -->
@@ -3970,21 +4407,46 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-subnet6-del-by-prefix -->
 <section xml:id="reference-remote-subnet6-del-by-prefix">
 <title>remote-subnet6-del-by-prefix reference</title>
-<para xml:id="ref-remote-subnet6-del-by-prefix"><command>remote-subnet6-del-by-prefix</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-subnet6-del-by-prefix"><command>remote-subnet6-del-by-prefix</command> - This command is used to delete an IPv6 subnet by prefix from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-subnet6-del-by-prefix"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-subnet6-del-by-prefix",
+    "arguments": {
+        "subnets": [
+            {
+                "subnet": &lt;subnet prefix&gt;
+            }
+        ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command includes a list with exactly one prefix of the subnet to be deleted.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "1 IPv6 subnet(s) deleted.",
+    "arguments": {
+        "count": 1
+    }
+}</screen>
+Result is an integer representation of the status. Currently supported statuses are:
+<itemizedlist>
+  <listitem><para>0 - success</para></listitem>
+  <listitem><para>1 - error</para></listitem>
+  <listitem><para>2 - unsupported</para></listitem>
+  <listitem><para>3 - empty (command was completed successfully, but no data was affected or returned)</para></listitem>
+</itemizedlist>
+</para>
 
 </section>
 <!-- end of remote-subnet6-del-by-prefix -->
@@ -3992,21 +4454,50 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-subnet6-get-by-id -->
 <section xml:id="reference-remote-subnet6-get-by-id">
 <title>remote-subnet6-get-by-id reference</title>
-<para xml:id="ref-remote-subnet6-get-by-id"><command>remote-subnet6-get-by-id</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-subnet6-get-by-id"><command>remote-subnet6-get-by-id</command> - This command is used to fetch selected IPv6 subnet by ID for the server from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-subnet6-get-by-id"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-subnet6-get-by-id"
+    "arguments": {
+        "subnets": [
+            {
+                "id": &lt;subnet identifier&gt;
+            }
+        ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command includes a list with exactly one id of the subnet to be returned.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "IPv6 subnet found.",
+    "arguments": {
+        "subnets": [
+            {
+                "id": &lt;subnet identifier&gt;
+                "subnet": &lt;subnet prefix&gt;,
+                "shared-network-name": &lt;shared network name&gt; | null,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                },
+                &lt;the rest of the subnet specification here&gt;
+            }
+        ],
+        "count": 1
+    }
+}</screen>
+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.</para>
 
 </section>
 <!-- end of remote-subnet6-get-by-id -->
@@ -4014,21 +4505,48 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-subnet6-get-by-prefix -->
 <section xml:id="reference-remote-subnet6-get-by-prefix">
 <title>remote-subnet6-get-by-prefix reference</title>
-<para xml:id="ref-remote-subnet6-get-by-prefix"><command>remote-subnet6-get-by-prefix</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-subnet6-get-by-prefix"><command>remote-subnet6-get-by-prefix</command> - This command is used to fetch selected IPv6 subnet by prefix from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-subnet6-get-by-prefix"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-subnet4-get-by-prefix"
+    "arguments": {
+        "subnets": [
+            {
+                "subnet": &lt;subnet prefix&gt;
+            }
+        ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command includes a list with exactly one prefix of the subnet to be returned.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "IPv6 subnet found.",
+    "arguments": {
+        "subnets": [ {
+            "id": &lt;subnet identifier&gt;
+            "subnet": &lt;subnet prefix&gt;,
+            "shared-network-name": &lt;shared network name&gt; | null,
+            "metadata": {
+                "server-tag": &lt;server tag&gt;
+            },
+            &lt;the rest of the subnet specification here&gt;
+        } ],
+        "count": 1
+    }
+}</screen>
+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.</para>
 
 </section>
 <!-- end of remote-subnet6-get-by-prefix -->
@@ -4036,21 +4554,52 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-subnet6-list -->
 <section xml:id="reference-remote-subnet6-list">
 <title>remote-subnet6-list reference</title>
-<para xml:id="ref-remote-subnet6-list"><command>remote-subnet6-list</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-subnet6-list"><command>remote-subnet6-list</command> - This command is used to fetch a list of all IPv6 subnets from the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-subnet6-list"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-subnet6-list"
+    "arguments": {
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+This command includes no arguments besides the optional <command>remote</command> map.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "2 IPv6 subnets found.",
+    "arguments": {
+        "subnets": [
+            {
+                "id": &lt;first subnet identifier&gt;,
+                "subnet": &lt;first subnet prefix&gt;,
+                "shared-network-name": &lt;shared network name&gt; | null,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
+            },
+            {
+                "id": &lt;second subnet identifier&gt;,
+                "subnet": &lt;second subnet prefix&gt;,
+                "shared-network-name": &lt;shared network name&gt; | null,
+                "metadata": {
+                    "server-tag": &lt;server tag&gt;
+                }
+            }
+        ],
+        "count": 2
+    }
+}</screen>
+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 <command>remote-subnet6-get</command> to fetch the full information about the selected subnets.</para>
 
 </section>
 <!-- end of remote-subnet6-list -->
@@ -4058,21 +4607,46 @@ Optional extra comments after the resposne syntax.</para>
 <!-- start of remote-subnet6-set -->
 <section xml:id="reference-remote-subnet6-set">
 <title>remote-subnet6-set reference</title>
-<para xml:id="ref-remote-subnet6-set"><command>remote-subnet6-set</command> - a sentence or two explaining what this command does</para>
+<para xml:id="ref-remote-subnet6-set"><command>remote-subnet6-set</command> - This command is used to create or replace an IPv4 subnet the configuration database.</para>
 
-<para>Supported by: <command><link linkend="commands-undocumented">undocumented</link></command></para>
+<para>Supported by: <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
 
-<para>Availability: 0.0.0 (<link linkend="commands-undocumented-lib">undocumented</link>  hook)</para>
+<para>Availability: 1.6.0 (<link linkend="commands-cb_cmds-lib">cb_cmds</link>  hook)</para>
 
 <para>Description and examples: See <xref linkend="command-remote-subnet6-set"/></para>
 
 <para>Command syntax:
-  <screen>Syntax of the command</screen>
-Possibly some extra comments after the syntax.</para>
+  <screen>{
+    "command": "remote-subnet6-set",
+    "arguments": {
+        "subnets": [
+            {
+                "id": &lt;subnet identifier&gt;,
+                "subnet": &lt;subnet prefix&gt;,
+                "shared-network-name": &lt;shared network name&gt; | null
+                &lt;the rest of the subnet specification here&gt;
+            }
+        ],
+        "remote": {
+            &lt;specification of the database to connect to&gt;
+        }
+    }
+}</screen>
+The provided list must contain exactly one subnet specification. The <command>shared-network-name</command> parameter is required for these commands. It associates the subnet with the shared network by its name. If the subnet must not belong to any shared network (global subnet), the <command>null</command> value must be specified for the shared network name.</para>
 
 <para>Response syntax:
-  <screen>Syntax of the response</screen>
-Optional extra comments after the resposne syntax.</para>
+  <screen>{
+    "result": 0,
+    "text": "IPv6 subnet successfully set.",
+}</screen>
+Result is an integer representation of the status. Currently supported statuses are:
+<itemizedlist>
+  <listitem><para>0 - success</para></listitem>
+  <listitem><para>1 - error</para></listitem>
+  <listitem><para>2 - unsupported</para></listitem>
+  <listitem><para>3 - empty (command was completed successfully, but no data was affected or returned)</para></listitem>
+</itemizedlist>
+</para>
 
 </section>
 <!-- end of remote-subnet6-set -->
index a2337d9bb822f5198eddc9e1eb4cb22cc22bf5cd..a19110195230ef034fda86dc0ed336cd91180f51 100644 (file)
@@ -6,18 +6,23 @@
  - file, you can obtain one at http://mozilla.org/MPL/2.0/.
 -->
 
-    <section xml:id="cb-cmds-library">
+    <section id="cb-cmds-library">
       <title>cb_cmds: Configuration Backend Commands</title>
       <para>
         This section describes the <command>cb_cmds</command> hooks library
-        which is used to manage Kea servers' configurations in the Configuration
-        Backends. The hooks library uses available CB implementations to
-        perform CRUD operations on the data held in the respective Configuration
-        Backends.
+        which is used to manage Kea servers' configurations with the Configuration
+        Backends. This library must be used in conjuction with available CB
+        implementations, which provide the common APIs to create, read, update
+        and delete (CRUD) the configuration information in the respective
+        databases. For example: the <command>mysql_cb</command> hooks library
+        released in Kea 1.6.0 implements this API for MySQL. In order to manage
+        the configuration information in the MySQL database both
+        <command>mysql_cb</command> and <command>cb_cmds</command> libraries
+        must be loaded by the server used for the configuration management.
       </para>
 
-      <para>This library is only available to ISC customers with a
-      support contract.
+      <para>The <command>cb_cmds</command> library is only available to ISC
+      customers with a support contract.
 
       <note>
         <para>This library may only be loaded by the <command>kea-dhcp4</command>
         <para>There are 5 types of commands supported by this library:</para>
         <itemizedlist>
           <listitem><simpara><command>del</command> - delete selected object from the
-          database,</simpara></listitem>
+          database, e.g. <command>remote-global-parameter4-del</command>
+          </simpara></listitem>
           <listitem><simpara><command>get</command> - fetch selected object from the
-          database,</simpara></listitem>
+          database, e.g. <command>remote-subnet4-get</command>,</simpara></listitem>
           <listitem><simpara><command>get-all</command> - fetch all objects of the
-          particular type from the database,</simpara></listitem>
+          particular type from the database, e.g.
+          <command>remote-option-def4-get-all</command>,</simpara></listitem>
           <listitem><simpara><command>list</command> - list all objects of the particular
-          type from the database; brief information about the listed objects is
-          returned, comparing to the output of <command>get-all</command>,</simpara>
+          type in the database, e.g. <command>remote-network4-list</command>; this class
+          of commands returns brief information about each object comparing to the output
+          of <command>get-all</command>,</simpara>
           </listitem>
-          <listitem><simpara><command>set</command> - creates or updates an object
-          of the given type in the database.</simpara></listitem>
+          <listitem><simpara><command>set</command> - creates or replaces an object
+          of the given type in the database, e.g. <command>remote-option4-global-set</command>
+          .</simpara></listitem>
         </itemizedlist>
 
-        <para>All commands accept optional <command>remote</command> map which selects
-        the database instance to which the command refers. For example:
+        <para>All types commands accept optional <command>remote</command> map which
+        selects the database instance to which the command refers. For example:
 <screen>
 {
     "command": "remote-subnet4-list",
 
         <note>
           <para>
-            In Kea 1.6.0 beta release it is possible to configure Kea instance to
-            use only one configuration backend with the <command>config-control</command>
-            parameter. Therefore, in this release the <command>remote</command>
-            parameter is redundant in the commands supported by this library.
+            In the Kea 1.6.0 release, it is possible to configure Kea server to
+            use only one configuration backend. Strictly speaking it is possible
+            to point Kea server to at most one MySQL database using the
+            <command>config-control</command> parameter. That's why in this
+            release the <command>remote</command> parameter may be omitted in
+            the commands because the cb_cmds hooks library will by default use
+            the sole backend.
           </para>
         </note>
-
       </section>
 
-      <section xml:id="cb-cmds4">
-        <title>Control Commands for DHCPv4 Servers</title>
-        <para>The following commands are supported by the <command>cb_cmds</command>
-        hooks library to manage the configuration information in the configuration
-        backends.</para>
-
-        <section xml:id="command-remote-global-parameter4-del">
-          <title>remote-global-parameter4-del</title>
-          <para>This command is used to delete a global DHCPv4 parameter from the
-          configuration database. When the parameter is deleted from the database
-          the server will use the value specified in the configuration file or
-          a default value, if the parameter is not specified in the configuration
-          file.</para>
-          <para>The following command attempts to delete the
+      <section id="cb-cmds-dhcp">
+        <title>Control Commands for DHCP Servers</title>
+        <para>This section describes and gives some examples of the control
+        commands provided by the <command>cb_cmds</command> hooks library to manage
+        the configuration information for the DHCPv4 and DHCPv6 server. Many of the
+        commands are almost identical between DHCPv4 and DHCPv6, i.e. only differ by
+        command name. Other commands slightly differ by the structure of the inserted
+        data, e.g. structure of the IPv4 subnet information is different than the
+        structure of the IPv6 subnet. Nevertheless, they still share the structure of
+        the command arguments and thus it makes sense to describe them together.</para>
+
+        <para>In the following sections various commands are described and the
+        usage examples are provided. In the sections jointly describing the DHCPv4 and
+        DHCPv6 variants of the particular command we sometimes use the following
+        notation - the <command>remote-subnet[46]-set</command> is the wildcard
+        name for the two commands: <command>remote-subnet4-set</command> and
+        <command>remote-subnet6-set</command>.</para>
+
+        <para>In addition, whenever the text in the subsequent sections refers to a
+        DHCP command or DHCP parameter, it refers to both DHCPv4 and DHCPv6
+        case. The text specific to the particular server type refers to them as:
+        DHCPv4 command, DHCPv4 parameter, DHCPv6 command, DHCPv6 parameter etc.
+        </para>
+
+        <section id="cb-cmds-metadata">
+          <title>Metadata</title>
+          <para>A typical response to the <command>get</command> or <command>list</command>
+          command includes a list of returned objects (e.g. subnets) and each such
+          object contains the <command>metadata</command> map including some
+          database specific information for this object. In other words, the metadata
+          is meant to contain any information about the fetched object which may be
+          useful for the administrator, but is not the part of the object
+          specification from the DHCP server standpoint. In the Kea 1.6.0 release, the
+          metadata is limited to the <command>server-tag</command>, which describes
+          the association of the object with the particular server. The server tag
+          is always set to <command>all</command> in the Kea 1.6.0 beta release because
+          this release does not provide API calls to make associatiions of the
+          configuration objects with any specific servers, i.e. every object is
+          associated with all servers using the particular database instance.
+          </para>
+
+          <para>The following is the example response to the <command>remote-network4-list</command>
+          including the metadata:
+          <screen>
+{
+    "result": 0,
+    "text": "1 IPv4 shared network(s) found.",
+    "arguments": {
+        "shared-networks": [
+            {
+                "name": "level3",
+                "metadata": {
+                    "server-tag": "all"
+                }
+            }
+        ],
+        "count": 1
+    }
+}
+         </screen>
+         </para>
+
+          <para>Client implementations must not assume that the metadata contains
+          only the <command>server-tag</command> parameter. In the future releases
+          this map will be extended with additional information, e.g. object
+          modification time, log message created during the last modification etc.
+          </para>
+        </section>
+
+        <section id="command-remote-global-parameter4-del">
+          <title>remote-global-parameter4-del, remote-global-parameter6-del commands</title>
+          <para id="command-remote-global-parameter6-del">This command is used to
+          delete a global DHCP parameter from the configuration database. When the
+          parameter is deleted from the database the server will use the value
+          specified in the configuration file for this parameter or a default
+          value if the parameter is not specified in the configuration file.</para>
+          <para>The following command attempts to delete the DHCPv4
           <command>renew-timer</command> parameter from the database:
           <screen>
 {
           </para>
         </section>
 
-        <section xml:id="command-remote-global-parameter4-get">
-          <title>remote-global-parameter4-get</title>
-          <para>This command is used to fetch a global DHCPv4 parameter from the
-          configuration database.</para>
-          <para>The following commands attempt to fetch the
-          <command>boot-file-name</command> parameter from the database:
+        <section id="command-remote-global-parameter4-get">
+          <title>remote-global-parameter4-get, remote-global-parameter6-get commands</title>
+          <para id="command-remote-global-parameter6-get">These commands are used to
+          fetch a scalar global DHCP parameter from the configuration database.</para>
+          <para>The following command attempts to fetch the
+          <command>boot-file-name</command> parameter:
           <screen>
 {
     "command": "remote-global-parameter4-get",
           </screen>
           </para>
           <para>
-            The returned value may have one of 4 types: string, integer, real
-            or boolean. In case of the <command>boot-file-name</command> the
-            string value is returned, e.g.:
+            The returned value has one of the four scalar types: string, integer, real
+            or boolean. Non scalar global configuration parameters, such as map or list,
+            are not returned by this command.</para>
+
+            <para>In case of the example above the string value is returned, e.g.:
             <screen>
 {
     "result": 0,
           </para>
 
           <para>
-            The example response for an integer value is:
+            The example response for the integer value is:
             <screen>
 {
     "result": 0,
           </para>
 
           <para>
-            The integer value:
+            The real value:
             <screen>
 {
     "result": 0,
           </para>
         </section>
 
-        <section xml:id="command-remote-global-parameter4-get-all">
-          <title>remote-global-parameter4-get-all</title>
-          <para>This command is used to fetch all global DHCPv4 parameters from
-          the database. It includes no arguments besides an optional
-          <command>remote</command> argument.</para>
+        <section id="command-remote-global-parameter4-get-all">
+          <title>remote-global-parameter4-get-all, remote-global-parameter6-get-all commands</title>
+          <para id="command-remote-global-parameter6-get-all">These commands are used to
+          fetch all global DHCP parameters from the database. They include no arguments
+          besides the optional <command>remote</command> map.</para>
         </section>
 
-        <section xml:id="command-remote-global-parameter4-set">
+        <section id="command-remote-global-parameter4-set">
           <title>remote-global-parameter4-set</title>
-          <para>This command is used to create global DHCPv4 parameters in the database.
-          If any of the parameters parameter already exists, its value is replaced
-          as a result of this command. It is possible to set multiple parameters within
-          a single command, each having one of the 4 types: a string, integer, real
-          and boolean.
+          <para id="command-remote-global-parameter6-set">This command is used to
+          create scalar global DHCP parameters in the database. If any of the parameters
+          already exists, its value is replaced as a result of this command. It is
+          possible to set multiple parameters within a single command, each having
+          one of the four types: a string, integer, real and boolean. For example:
           <screen>
 {
     "command": "remote-global-parameter4-set"
 }
           </screen>
           </para>
-          <para>
-            If any of the parameters is not supported by the DHCPv4 server or its
-            type doesn't match, an error is returned.
-          </para>
+          <para>An error is returned if any of the parameters is not supported by the
+          DHCP server or its type does not match. Care should be taken when
+          multiple parameters are specified in a single command because it is
+          possible that only some of the parameters are stored successfully and
+          some fail. If an error occurred when processing this command, it is
+          recommended to use <command>remote-global-parameter[46]-get-all</command>
+          to check which of the parameters have been stored/updated successfully
+          and which failed.</para>
         </section>
 
-        <section xml:id="command-remote-network4-del">
-          <title>remote-network4-del</title>
-          <para>This command is used to delete IPv4 shared network from the database.
-          The optional parameter <command>subnets-action</command> specifies whether
-          the subnets belonging to the deleted shared network should be also deleted
-          or preserved. The <command>subnets-action</command> defaults to
-          <command>keep</command>, which preserves the subnets. If this parameter
-          is set to <command>delete</command>, the subnets are deleted along with
-          the shared network. For example:
+        <section id="command-remote-network4-del">
+          <title>remote-network4-del, remote-network6-del commands</title>
+          <para id="command-remote-network6-del">These commands are used to delete an
+          IPv4 or IPv6 shared network from the database. The optional parameter
+          <command>subnets-action</command> determines whether the subnets belonging
+          to the deleted shared network should also be deleted or preserved.
+          The <command>subnets-action</command> defaults to <command>keep</command>,
+          which preserves the subnets. If it is set to <command>delete</command>,
+          the subnets are deleted along with the shared network.</para>
+
+          <para>The following command:
           <screen>
 {
-    "command": "remote-network4-del",
+    "command": "remote-network6-del",
     "arguments": {
-        "shared-networks": [ {
-            "name": "level3"
-        } ],
+        "shared-networks": [
+            {
+                "name": "level3"
+            }
+        ],
         "subnets-action": "keep",
         "remote": {
             "type": "mysql"
     }
 }
           </screen>
-            deletes the "level3" shared network but preserves the subnets, which
-            are disassociated from the deleted shared network and become global.
+            deletes the "level3" IPv6 shared network. The subnets are preserved
+            but they are disassociated from the deleted shared network and become
+            global.
           </para>
         </section>
 
-        <section xml:id="command-remote-network4-get">
-          <title>remote-network4-get</title>
-          <para>This command is used to retrieve information about the IPv4 shared
-          network. The optional parameter <command>subnets-include</command> controls
-          whether the subnets should be returned together with the shared network
-          information. This parameter defaults to <command>no</command> which
-          instructs to not return the subnets. If this parameter is set to
-          <command>full</command>, the subnets are returned together with the
-          shared network.</para>
-          <para>
-            The following command fetches the subnet "level3" and all subnets
-            belonging to it:
-            <screen>
+        <section id="command-remote-network4-get">
+          <title>remote-network4-get, remote-network6-get commands</title>
+          <para id="command-remote-network6-get">These commands are used to retrieve
+          the information about an IPv4 or IPv6 shared network. The optional
+          parameter <command>subnets-include</command> denotes whether the
+          subnets belonging to the shared network should also be returned. This
+          parameter defaults to <command>no</command> in which case the subnets are
+          not returned. If this parameter is set to <command>full</command>,
+          the subnets are returned together with the shared network.</para>
+
+          <para>The following command fetches the "level3" IPv6 shared network along
+          with the full information about the subnets belonging to it:
+          <screen>
 {
-    "command": "remote-network4-get",
+    "command": "remote-network6-get",
     "arguments": {
-        "shared-networks": [ {
-            "name": "level3"
-        } ],
+        "shared-networks": [
+            {
+                "name": "level3"
+            }
+        ],
         "subnets-include": "full",
         "remote": {
             "type": "mysql"
         }
     }
 }
-            </screen>
+          </screen>
           </para>
         </section>
 
-        <section xml:id="command-remote-network4-list">
-          <title>remote-network4-list</title>
-          <para>This command is used to list all IPv4 shared networks in the
-          particular database. The returned information about each shared network
-          is brief, i.e. it merely contains shared network name and the metadata
-          for each shared network. In order to fetch the detailed information
-          about the selected shared network, use the <command>remote-network4-get</command>.
+        <section id="command-remote-network4-list">
+          <title>remote-network4-list, remote-network6-list commands</title>
+          <para id="command-remote-network6-list">These commands are used to list all
+          IPv4 or IPv6 shared networks in the particular database. The returned information
+          about each shared network merely contains the shared network name and the metadata. In
+          order to fetch the detailed information about the selected shared network,
+          use the <command>remote-network[46]-get</command> command.
           </para>
-          <para>
-            The <command>remote-network4-list</command> takes no argument except
-            the optional <command>remote</command> map.
+
+          <para>The <command>remote-network[46]-list</command> takes no argument except
+          the optional <command>remote</command> map.
           </para>
         </section>
 
-        <section xml:id="command-remote-network4-set">
+        <section id="command-remote-network4-set">
           <title>remote-network4-set</title>
-          <para>This command creates a new IPv4 shared network or replaces an existing
-          shared network in the database. The structure of the shared network information
-          is the same as in the Kea configuration file (see <xref linkend="shared-network4"/>),
-          with the exception that the <command>subnet4</command> parameter is not allowed
-          in the shared network specification. The reason for this is that the
-          <command>remote-network4-set</command> is not meant to manage the subnets
-          within the shared network. It is merely used to manage shared network specific
-          parameters and DHCP options. In order to associate and disassociate the
-          subnets with the shared networks the <command>remote-subnet4-set</command>
-          command is used.
+          <para id="command-remote-network6-set">These commands creates new or replaces an
+          existing IPv4 or IPv6  shared network in the database. The structure of the
+          shared network information is the same as in the Kea configuration file
+          (see <xref linkend="shared-network4"/> and <xref linkend="shared-network6"/>
+          for details), except that it is not allowed to specify subnets along with
+          the shared network information. Including the <command>subnet4</command>
+          or <command>subnet6</command> parameter within the shared network information
+          will result in an error.</para>
+
+          <para>These commands are intended to be used for managing the shared network
+          specific information and DHCP options. In order to associate and disassociate
+          the subnets with the shared networks the <command>remote-subnet[46]-set</command>
+          commands should be used.
           </para>
+
           <para>
-            The following command adds the shared network "level3" to the database:
+            The following command adds the IPv6 shared network "level3" to the database:
             <screen>
 {
-    "command": "remote-network4-set",
+    "command": "remote-network6-set",
     "arguments": {
-        "shared-networks": [ {
-            "name": "level3",
-            "interface": "eth0",
-            "option-data": [ {
-                "name": "log-servers",
-                "data": "1.2.3.4"
-            } ],
-        } ],
+        "shared-networks": [
+            {
+                "name": "level3",
+                "interface": "eth0",
+                "option-data": [ {
+                    "name": "sntp-servers",
+                    "data": "2001:db8:1::1"
+                } ],
+            }
+        ],
         "remote": {
             "type": "mysql"
         }
             </screen>
           </para>
           <para>
-            This command includes the <command>interface</command> parameters which sets
+            This command includes the <command>interface</command> parameter which sets
             the shared network level interface name. Remaining shared network level
             parameters, which are not specified with the command, will be marked as
             "unspecified" in the database. The DHCP server will use the global values
-            for those parameters or, if global values are not specified, the default
-            values will be used.
+            for unspecified parameters or, if the global values are not specified,
+            the default values will be used.
           </para>
 
           <note>
             <para>
               Same as for other "set" commands, this command replaces the entire
-              information about the given shared network in the database if this
+              information about the given shared network in the database if the
               shared network already exists. Therefore, when sending this command,
               make sure to always include all parameters that must be specified for
               the updated shared network instance. Any unspecified parameter will
               be marked unspecified in the database, even if its value was present
-              prior to sending this command.
+              prior to sending the command.
             </para>
           </note>
         </section>
 
-        <section xml:id="command-remote-option-def4-del">
-          <title>remote-option-def4-del</title>
-          <para>This command is used to delete DHCPv4 option definition from the
-          database. The option definition is identified by an option code and
-          option space. For example:
+        <section id="command-remote-option-def4-del">
+          <title>remote-option-def4-del, remote-option-def6-del commands</title>
+          <para id="command-remote-option-def6-del">These commands are used to delete
+          a DHCP option definition from the database. The option definition is
+          identified by an option code and option space. For example:
           <screen>
 {
-    "command": "remote-option-def4-del",
+    "command": "remote-option-def6-del",
     "arguments": {
-        "option-defs": [ {
-            "code": 1,
-            "space": "isc"
-        } ],
+        "option-defs": [
+            {
+                "code": 1,
+                "space": "isc"
+            }
+        ],
         "remote": {
             "type": "mysql"
         }
 }
           </screen>
              deletes the definition of the option having the code of 1 and
-             belonging to the option space "isc". The top level option space
-             where standard DHCPv4 options belong is called "dhcp4".
+             belonging to the option space "isc". The default option spaces
+             are "dhcp4" and "dhcp6" for the DHCPv4 and DHCPv6 top level options
+             respectively.
           </para>
         </section>
 
-        <section xml:id="command-remote-option-def4-get">
-          <title>remote-option-def4-get</title>
-          <para>This comamnd is used to fetch a specified DHCPv4 option
-          definition from the database. The option definition is identified
-          by option code and option space. The top level option space
-          where DHCPv4 standard options belong is called "dhcp4".
-          </para>
-          <para>The following command retrieves an option definition
+        <section id="command-remote-option-def4-get">
+          <title>remote-option-def4-get, remote-option-def6-get commands</title>
+          <para id="command-remote-option-def6-get">These commands are used to
+          fetch a specified DHCP option definition from the database. The option
+          definition is identified by the option code and option space. The default
+          option spaces are "dhcp4" and "dhcp6" for the DHCPv4 and DHCPv6 top level
+          options respectively.</para>
+
+          <para>The following command retrieves a DHCPv4 option definition
           having the code of 1 and belonging to option space "isc":
           <screen>
 {
     "command": "remote-option-def4-get"
     "arguments": {
-        "option-defs": [ {
-            "code": 1,
-            "space": "isc"
-        } ],
+        "option-defs": [
+            {
+                "code": 1,
+                "space": "isc"
+            }
+        ],
         "remote": {
             "type": "mysql"
         }
           </para>
         </section>
 
-        <section xml:id="command-remote-option-def4-get-all">
-          <title>remote-option-def4-get-all</title>
-          <para>This command is used to fetch all DHCPv4 option definitions
-          from the database. It takes no arguments except an optional
-          <command>remote</command> map.</para>
+        <section id="command-remote-option-def4-get-all">
+          <title>remote-option-def4-get-all, remote-option-def6-get-all commands</title>
+          <para id="command-remote-option-def6-get-all">These commands are used to
+          fetch all DHCP option definitions from the database. It takes no
+          arguments except the optional <command>remote</command> map.</para>
         </section>
 
-        <section xml:id="command-remote-option-def4-set">
-          <title>remote-option-def4-set</title>
-          <para>This command creates a new DHCPv4 option definition or
-          replaces an existing option definition in the database. The structure
-          of the option definition information is the same as in the Kea
-          configuration file (see <xref linkend="dhcp4-custom-options"/>).
-          For example:
+        <section id="command-remote-option-def4-set">
+          <title>remote-option-def4-set, remote-option-def6-set commands</title>
+          <para id="command-remote-option-def6-set">These commands create a new
+          DHCP option definition or replace an existing option definition in the
+          database. The structure of the option definition information is the
+          same as in the Kea configuration file (see <xref linkend="dhcp4-custom-options"/>
+          and <xref linkend="dhcp6-custom-options"/>).
+          The following command creates the DHCPv4 option definition in the top
+          level "dhcp4" option space:
           <screen>
 {
     "command": "remote-option-def4-set",
           </para>
         </section>
 
-        <section xml:id="command-remote-option4-global-del">
-          <title>remote-option4-global-del</title>
-          <para>This command is used to delete global DHCPv4 option from the database.
-          The option is identified by an option code and option space. For example:
+        <section id="command-remote-option4-global-del">
+          <title>remote-option4-global-del, remote-option6-global-del commands</title>
+          <para id="command-remote-option6-global-del">These commands are used to delete
+          a global DHCP option from the database. The option is identified by an option
+          code and option space. For example:
           <screen>
 {
     "command": "remote-option4-global-del",
           </para>
         </section>
 
-        <section xml:id="command-remote-option4-global-get">
-          <title>remote-option4-global-get</title>
-          <para>This command is used to fetch a global DHCPv4 option from the
-          database. The option is identified by code and option space. The top
-          level option space where DHCPv4 standard options belong is called
-          "dhcp4".
+        <section id="command-remote-option4-global-get">
+          <title>remote-option4-global-get, remote-option6-global-get commands</title>
+          <para id="command-remote-option6-global-get">These commands are used to fetch
+          a global DHCP option from the database. The option is identified by the code
+          and option space. The top level option spaces where DHCP standard options
+          belong are called "dhcp4" and "dhcp6" for the DHCPv4 and DHCPv6 servers
+          respectively.
           </para>
           <para>
-            The following command retrieves the "Domain Name" (code 5) option:
+            The following command retrieves the IPv6 "DNS Servers" (code 23) option:
 {
-    "command": remote-option4-global-get",
+    "command": remote-option6-global-get",
     "arguments": {
         "options": [
             {
-                "code": 5,
-                "space": "dhcp4"
+                "code": 23,
+                "space": "dhcp6"
             }
         ],
         "remote": {
           </para>
         </section>
 
-        <section xml:id="command-remote-option4-global-get-all">
-          <title>remote-option4-global-get-all</title>
-          <para>This command is used to fetch all global DHCPv4 options from the
-          database. It takes no arguments except the optional <command>remote</command>
-          map.</para>
+        <section id="command-remote-option4-global-get-all">
+          <title>remote-option4-global-get-all, remote-option6-global-get-all commands</title>
+          <para id="command-remote-option6-global-get-all">These commands are used to fetch
+          all global DHCP options from the configuration database. It takes no arguments
+          except the optional <command>remote</command> map.</para>
         </section>
 
-        <section xml:id="command-remote-option4-global-set">
-          <title>remote-option4-global-set</title>
-          <para>This command creates a new global DHCPv4 option or replaces
-          an existing option in the database. The structure of the option
-          information is the same as in the Kea configuration file
-          (see <xref linkend="dhcp4-std-options"/>). For example:
+        <section id="command-remote-option4-global-set">
+          <title>remote-option4-global-set, remote-option6-global-set command</title>
+          <para id="command-remote-option6-global-set">These commands create a new
+          global DHCP option or replace an existing option in the database. The
+          structure of the option information is the same as in the Kea configuration
+          file (see <xref linkend="dhcp4-std-options"/> and
+          see <xref linkend="dhcp4-std-options"/>). For example:
           <screen>
 {
-    "command": "remote-option4-global-set",
+    "command": "remote-option6-global-set",
     "arguments": {
         "options": [
             {
           </screen>
           </para>
           <para>
-            Note that specifying an option name rather than option code only works
+            Note that specifying an option name instead of the option code only works
             reliably for the standard DHCP options. When specifying a value for the
             user defined DHCP option, the option code should be specified instead of
             the name. For example:
             <screen>
 {
-    "command": "remote-option4-global-set",
+    "command": "remote-option6-global-set",
     "arguments": {
         "options": [
             {
           </para>
         </section>
 
-        <section xml:id="command-remote-subnet4-del-by-id">
-          <title>remote-subnet4-del-by-id</title>
-          <para>This is the first variant of the command used to delete an IPv4 subnet
-          from the database. It uses subnet ID to identify the subnet.
-          For example, in order to delete the subnet with ID of 5:
+        <section id="command-remote-subnet4-del-by-id">
+          <title>remote-subnet4-del-by-id, remote-subnet6-del-by-id command</title>
+          <para id="command-remote-subnet6-del-by-id">This is the first variant of
+          the commands used to delete an IPv4 or IPv6 subnet from the database.
+          It uses subnet ID to identify the subnet. For example, in order to
+          delete the IPv4 subnet with ID of 5:
           <screen>
 {
     "command": "remote-subnet4-del-by-id",
     "arguments": {
-        "subnets": [ {
-            "id": 5
-        } ],
+        "subnets": [
+            {
+                "id": 5
+            }
+        ],
         "remote": {
             "type": "mysql"
         }
           </para>
         </section>
 
-        <section xml:id="command-remote-subnet4-del-by-prefix">
-          <title>remote-subnet4-del-by-prefix</title>
-          <para>This is the second variant of the command used to delete an IPv4 subnet
-          from the database. It uses the subnet prefix to identify the subnet.
-          For example:
+        <section id="command-remote-subnet4-del-by-prefix">
+          <title>remote-subnet4-del-by-prefix, remote-subnet6-del-by-prefix commands</title>
+          <para id="command-remote-subnet6-del-by-prefix">This is the second variant
+          of the commands used to delete an IPv4 or IPv6 subnet from the database.
+          It uses the subnet prefix to identify the subnet. For example:
           <screen>
 {
-    "command": "remote-subnet4-del-by-prefix",
+    "command": "remote-subnet6-del-by-prefix",
     "arguments": {
-        "subnets": [ {
-            "subnet": "192.0.2.0/24"
-        } ],
+        "subnets": [
+            {
+                "subnet": "2001:db8:1::/64"
+            }
+        ],
         "remote": {
             "type": "mysql"
         }
           </para>
         </section>
 
-        <section xml:id="command-remote-subnet4-get-by-id">
-          <title>remote-subnet4-get-by-id</title>
-          <para>This command is used to fetch a subnet with the specified ID from the
-          database. For example:
+        <section id="command-remote-subnet4-get-by-id">
+          <title>remote-subnet4-get-by-id, remote-subnet6-get-by-id commands</title>
+          <para id="command-remote-subnet6-get-by-id">This is the first variant of
+          the commands used to fetch an IPv4 or IPv6  subnet from the database. It
+          uses a subnet ID to identify the subnet. For example:
           <screen>
 {
     "command": "remote-subnet4-get-by-id",
           </para>
         </section>
 
-        <section xml:id="command-remote-subnet4-get-by-prefix">
-          <title>remote-subnet4-get-by-prefix</title>
-          <para>This command is used to fetch a subnet with the specified prefix from
-          the database. For example:
+        <section id="command-remote-subnet4-get-by-prefix">
+          <title>remote-subnet4-get-by-prefix, remote-subnet6-get-by-prefix command</title>
+          <para id="command-remote-subnet6-get-by-prefix">This is the second variant
+          of the commands used to fetch an IPv4 or IPv6 subnet from the database. It
+          uses a subnet prefix to identify the subnet. For example:
           <screen>
 {
-    "command": "remote-subnet4-get-by-prefix",
+    "command": "remote-subnet6-get-by-prefix",
     "arguments": {
         "subnets": [
             {
-                "subnet": "192.0.2.0/24"
+                "subnet": "2001:db8:1::/64"
             }
         ],
         "remote": {
           </para>
         </section>
 
-        <section xml:id="command-remote-subnet4-list">
-          <title>remote-subnet4-list</title>
-          <para>This command is used to list all IPv4 subnets from the database.
-          It takes no parameters except the optional <command>remote</command> map.
+        <section id="command-remote-subnet4-list">
+          <title>remote-subnet4-list, remote-subnet6-list commands</title>
+          <para id="command-remote-subnet6-list">These commands are used to list
+          all IPv4 or IPv6 subnets from the database. It takes no parameters
+          except the optional <command>remote</command> map.
           The returned information about each subnet is limited to subnet identifier,
           prefix and associated shared network name. In order to retrieve full
           information about the selected subnet use the
-          <command>remote-subnet4-get-by-id</command> or
-          <command>remote-subnet4-get-by-prefix</command>.
+          <command>remote-subnet[46]-get-by-id</command> or
+          <command>remote-subnet[46]-get-by-prefix</command>.
           </para>
         </section>
 
-        <section xml:id="command-remote-subnet4-set">
-          <title>remote-subnet4-set</title>
-          <para>This command is used to create a new subnet or replace an existing
-          subnet in the database. Setting the subnet also associates or disassociates
-          the subnet with/from a shared network.</para>
+        <section id="command-remote-subnet4-set">
+          <title>remote-subnet4-set, remote-subnet6-set commands</title>
+          <para id="command-remote-subnet6-set">These commands are used to create
+          a new IPv4 or IPv6 subnet or replace an existing subnet in the database.
+          Setting the subnet also associates or disassociates the subnet with a
+          shared network.</para>
 
           <para>The structure of the subnet information is similar to the structure
-          used in the configuration file (see <xref linkend="dhcp4-configuration"/>).
-          The subnet information conveyed in the <command>remote-subnet4-set</command>
-          must include additional parameter <command>shared-network-name</command>
-          which indicates whether the subnet belongs to a shared network or not.
+          used in the configuration file (see <xref linkend="dhcp4-configuration"/>
+          and <xref linkend="dhcp6-configuration"/>). The subnet information
+          conveyed in the <command>remote-subnet[46]-set</command> must include
+          additional parameter <command>shared-network-name</command> which denotes
+          whether the subnet belongs to a shared network or not.
           </para>
 
           <para>Consider the following example:
 {
     "command": "remote-subnet4-set",
     "arguments": {
-        "subnets": [ {
-            "id": 5,
-            "subnet": "192.0.2.0/24",
-            "shared-network-name": "level3",
-            "pools": [ { "pool": "192.0.2.100-192.0.2.200" } ],
-            "option-data": [ {
-                "name": "routers",
-                "data": "192.0.2.1"
-            } ]
-        } ],
+        "subnets": [
+            {
+                "id": 5,
+                "subnet": "192.0.2.0/24",
+                "shared-network-name": "level3",
+                "pools": [ { "pool": "192.0.2.100-192.0.2.200" } ],
+                "option-data": [ {
+                    "name": "routers",
+                    "data": "192.0.2.1"
+                } ]
+            }
+        ],
         "remote": {
             "type": "mysql"
         }
 {
     "command": "remote-subnet4-set",
     "arguments": {
-        "subnets": [ {
-            "id": 5,
-            "subnet": "192.0.2.0/24",
-            "shared-network-name": null,
-            "pools": [ { "pool": "192.0.2.100-192.0.2.200" } ],
-            "option-data": [ {
-                "name": "routers",
-                "data": "192.0.2.1"
-            } ]
-        } ]
+        "subnets": [
+            {
+                "id": 5,
+                "subnet": "192.0.2.0/24",
+                "shared-network-name": null,
+                "pools": [ { "pool": "192.0.2.100-192.0.2.200" } ],
+                "option-data": [ {
+                    "name": "routers",
+                    "data": "192.0.2.1"
+                } ]
+           }
+        ]
     }
 }
           </screen>
           </para>
 
           <para>The subnet created in the previous example is replaced with the
-          new subnet having the same parameters but becomes global.</para>
+          new subnet having the same parameters but it becomes global.</para>
 
           <para>The <command>shared-network-name</command> parameter is mandatory
           for the <command>remote-subnet4-set</command> command.</para>
 
       </section>
 
-      <section xml:id="cb-cmds6">
-        <title>Control Commands for DHCPv6 Server</title>
-        <para>TBD</para>
-      </section>
-
     </section>