- "brief": "The config-set command instructs the server to replace its current configuration with the new configuration supplied in the command's arguments.",
- "description": "See <xref linkend=\"command-config-set\"/>",
- "brief": "This command is sent internally by Kea partner when operating
- in High Availability (HA) mode. It will retrieve the server HA state and clock value.",
- "description": "See <xref linkend=\"ha-server-states\"/>",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.4.0",
+ "brief": [
+ "This command is sent internally by Kea partner when operating",
+ " in High Availability (HA) mode. It will retrieve the server HA state and clock value."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"ha-heartbeat\",",
+ " }"
+ ],
+ "description": "See <xref linkend=\"ha-server-states\"/>",
"hook": "high_availability",
- "cmd-syntax": "{
- \"command\": \"ha-heartbeat\",
- }",
- "resp-comment": "The response to this command is different from the typical command response. The response will include server state (see <xref linkend=\"ha-server-states\"/> plus the current clock value."
-}
+ "name": "ha-heartbeat",
+ "resp-comment": [
+ "The response to this command is different from the typical command response. The response will include server state (see <xref linkend=\"ha-server-states\"/> plus the current clock value."
- "brief": "The lease4-add command adds a new IPv4 lease administratively.",
- "description": "See <xref linkend=\"idp64\"/>",
- "support": [ "kea-dhcp4"],
"avail": "1.3.0",
+ "brief": [
+ "The lease4-add command adds a new IPv4 lease administratively."
+ ],
+ "cmd-comment": [
+ "Note that Kea 1.4 requires an additional argument, subnet-ID, which is optional as of Kea 1.5. A number of other more detailed optional arguments are also supported."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"lease4-add\",",
+ " \"arguments\": {",
+ " \"ip-address\": \"192.0.2.202\",",
+ " \"hw-address\": \"1a:1b:1c:1d:1e:1f\"",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp64\"/>",
"hook": "lease_cmds",
- "cmd-syntax": "{
- \"command\": \"lease4-add\",
- \"arguments\": {
- \"ip-address\": \"192.0.2.202\",
- \"hw-address\": \"1a:1b:1c:1d:1e:1f\"
- }
-}",
- "cmd-comment": "Note that Kea 1.4 requires an additional argument, subnet-ID, which is optional as of Kea 1.5. A number of other more detailed optional arguments are also supported."
- "brief": "lease4-del can be used to delete a lease from the lease database.",
- "description": "See <xref linkend=\"command-lease4-del\"/>",
- "support": [ "kea-dhcp4"],
"avail": "1.3.0",
+ "brief": [
+ "lease4-del can be used to delete a lease from the lease database."
+ ],
+ "cmd-comment": [
+ "Specify the lease to be deleted either by IP address, or by identifier-type and identifier value. Currently supported identifiers are \"hw-address\" and \"client-id\"."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"lease4-del\",",
+ " \"arguments\": {",
+ " \"ip-address\": \"192.0.2.202\"",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-lease4-del\"/>",
"hook": "lease_cmds",
- "cmd-syntax": "{
- \"command\": \"lease4-del\",
- \"arguments\": {
- \"ip-address\": \"192.0.2.202\"
- }
-}",
- "cmd-comment": "Specify the lease to be deleted either by IP address, or by identifier-type and identifier value. Currently supported identifiers are \"hw-address\" and \"client-id\"."
- "brief": "lease4-get can be used to query the lease database and retrieve existing leases.",
- "description": "See <xref linkend=\"idp58\"/>",
- "support": [ "kea-dhcp4"],
"avail": "1.3.0",
+ "brief": [
+ "lease4-get can be used to query the lease database and retrieve existing leases."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"lease4-get\",",
+ " \"arguments\": {",
+ " \"ip-address\": \"192.0.2.1\"",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp58\"/>",
"hook": "lease_cmds",
- "cmd-syntax": "{
- \"command\": \"lease4-get\",
- \"arguments\": {
- \"ip-address\": \"192.0.2.1\"
- }
-}",
- "resp-syntax": "{
- \"arguments\": {
- \"client-id\": \"42:42:42:42:42:42:42:42\",
- \"cltt\": 12345678,
- \"fqdn-fwd\": false,
- \"fqdn-rev\": true,
- \"hostname\": \"myhost.example.com.\",
- \"hw-address\": \"08:08:08:08:08:08\",
- \"ip-address\": \"192.0.2.1\",
- \"state\": 0,
- \"subnet-id\": 44,
- \"valid-lft\": 3600
- },
- \"result\": 0,
- \"text\": \"IPv4 lease found.\"
-}",
- "resp-comment": "lease4-get returns a result that indicates a result of the operation and lease details, if found. It has one of the following values: 0 (success), 1 (error) or 2 (empty)."
-}
+ "name": "lease4-get",
+ "resp-comment": [
+ "lease4-get returns a result that indicates a result of the operation and lease details, if found. It has one of the following values: 0 (success), 1 (error) or 2 (empty)."
- "brief": "The lease6-bulk-apply command can be used to create, update and delete multiple IPv6 leases in a single transaction. This is used to communicate lease changes between the HA peers but may be used in all cases when it is desired to apply multiple lease updates in a single transaction.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "The lease6-bulk-apply command can be used to create, update and delete multiple IPv6 leases in a single transaction. This is used to communicate lease changes between the HA peers but may be used in all cases when it is desired to apply multiple lease updates in a single transaction."
+ ],
+ "cmd-comment": [
+ "If any of the leases is malformed, all changes are rolled back. If the leases are well formed but the operation fails for one or more leases, the these leases are listed in the response but the changes are preserved for all leases for which the operation was successful. The \"deleted-leases\" and \"leases\" are optional parameters but one of them must be specified."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"lease6-bulk-apply\",",
+ " \"arguments\": {",
+ " \"deleted-leases\": [",
+ " {",
+ " \"ip-address\": \"2001:db8:abcd::\",",
+ " \"type\": \"IA_PD\",",
+ " ...",
+ " },",
+ " {",
+ " \"ip-address\": \"2001:db8:abcd::234\",",
+ " \"type\": \"IA_NA\",",
+ " ...",
+ " }",
+ " ],",
+ " \"leases\": [",
+ " {",
+ " \"subnet-id\": 66,",
+ " \"ip-address\": \"2001:db8:cafe::\",",
+ " \"type\": \"IA_PD\",",
+ " ...",
+ " },",
+ " {",
+ " \"subnet-id\": 66,",
+ " \"ip-address\": \"2001:db8:abcd::333\",",
+ " \"type\": \"IA_NA\",",
+ " ...",
+ " }",
+ " ]",
+ " }",
+ "}"
+ ],
"hook": "lease_cmds",
- "cmd-syntax": "{
- \"command\": \"lease6-bulk-apply\",
- \"arguments\": {
- \"deleted-leases\": [
- {
- \"ip-address\": \"2001:db8:abcd::\",
- \"type\": \"IA_PD\",
- ...
- },
- {
- \"ip-address\": \"2001:db8:abcd::234\",
- \"type\": \"IA_NA\",
- ...
- }
- ],
- \"leases\": [
- {
- \"subnet-id\": 66,
- \"ip-address\": \"2001:db8:cafe::\",
- \"type\": \"IA_PD\",
- ...
- },
- {
- \"subnet-id\": 66,
- \"ip-address\": \"2001:db8:abcd::333\",
- \"type\": \"IA_NA\",
- ...
- }
- ]
- }
-}",
- "cmd-comment": "If any of the leases is malformed, all changes are rolled back. If the leases are well formed but the operation fails for one or more leases, the these leases are listed in the response but the changes are preserved for all leases for which the operation was successful. The \"deleted-leases\" and \"leases\" are optional parameters but one of them must be specified.",
- "resp-syntax": " {
- {
- \"result\": 0,
- \"text\": IPv6 leases bulk apply completed.
- \"arguments\": {
- \"failed-deleted-leases\": [
- {
- \"ip-address\": \"2001:db8:abcd::\",
- \"type\": \"IA_PD\",
- \"result\": <control result>,
- \"error-message\": <error message>
- }
- ],
- \"failed-leases\": [
- {
- \"ip-address\": \"2001:db8:cafe::\",
- \"type\": \"IA_PD\",
- \"result\" <control result>,
- \"error-message\": <error message>
- }
- ]
- }
- }
-}",
- "resp-comment": "The \"failed-deleted-leases\" holds the list of leases which failed to delete. This includes leases which were not found in the database. The \"failed-leases\" includes the list of leases which failed to create or update. For each lease for which there was an error while processing the lease, inserting it into the database etc. the result is set to 1. For each lease which was not deleted because the server didn't find it in the database the result of 3 is returned."
-}
+ "name": "lease6-bulk-apply",
+ "resp-comment": [
+ "The \"failed-deleted-leases\" holds the list of leases which failed to delete. This includes leases which were not found in the database. The \"failed-leases\" includes the list of leases which failed to create or update. For each lease for which there was an error while processing the lease, inserting it into the database etc. the result is set to 1. For each lease which was not deleted because the server didn't find it in the database the result of 3 is returned."
- "brief": "lease6-del can be used to delete a lease from the lease database.",
- "description": "See <xref linkend=\"lease6-del\"/>",
- "support": [ "kea-dhcp6" ],
"avail": "1.3.0",
+ "brief": [
+ "lease6-del can be used to delete a lease from the lease database."
+ ],
+ "cmd-comment": [
+ "lease6-del returns a result that indicates a outcome of the operation. It has one of the following values: 0 (success), 1 (error) or 3 (empty)."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"lease6-del\",",
+ " \"arguments\": {",
+ " \"ip-address\": \"192.0.2.202\"",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"lease6-del\"/>",
"hook": "lease_cmds",
- "cmd-syntax": "{
- \"command\": \"lease6-del\",
- \"arguments\": {
- \"ip-address\": \"192.0.2.202\"
- }
-}",
- "cmd-comment": "lease6-del returns a result that indicates a outcome of the operation. It has one of the following values: 0 (success), 1 (error) or 3 (empty)."
- "brief": "lease6-get can be used to query the lease database and retrieve existing leases.",
- "description": "See <xref linkend=\"idp58\"/>",
- "support": [ "kea-dhcp6" ],
"avail": "1.3.0",
+ "brief": [
+ "lease6-get can be used to query the lease database and retrieve existing leases."
+ ],
+ "cmd-comment": [
+ "lease6-get returns a result that indicates a result of the operation and lease details, if found. It has one of the following values: 0 (success), 1 (error) or 2 (empty)."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"lease6-get\",",
+ " \"arguments\": {",
+ " \"ip-address\": \"2001:db8:1234:ab::\",",
+ " \"type\": \"IA_PD\"",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp58\"/>",
"hook": "lease_cmds",
- "cmd-syntax": "{
- \"command\": \"lease6-get\",
- \"arguments\": {
- \"ip-address\": \"2001:db8:1234:ab::\",
- \"type\": \"IA_PD\"
- }
-}",
- "cmd-comment": "lease6-get returns a result that indicates a result of the operation and lease details, if found. It has one of the following values: 0 (success), 1 (error) or 2 (empty)."
- "brief": "The network4-get command is used to retrieve detailed information about shared networks, including subnets currently being part of a given network.",
- "description": "See <xref linkend=\"idp74\"/>",
- "support": [ "kea-dhcp4"],
"avail": "1.3.0",
+ "brief": [
+ "The network4-get command is used to retrieve detailed information about shared networks, including subnets currently being part of a given network."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"network4-get\",",
+ " \"arguments\": {",
+ " \"name\": \"floor13\"",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp74\"/>",
"hook": "subnet_cmds",
- "cmd-syntax": "{
- \"command\": \"network4-get\",
- \"arguments\": {
- \"name\": \"floor13\"
- }
-}",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"Info about IPv4 shared network 'floor13' returned\",
- \"arguments\": {
- \"shared-networks\": [
- {
- \"match-client-id\": true,
- \"name\": \"floor13\",
- \"option-data\": [ ],
- \"rebind-timer\": 90,
- \"relay\": {
- \"ip-address\": \"0.0.0.0\"
- },
- \"renew-timer\": 60,
- \"reservation-mode\": \"all\",
- \"subnet4\": [
- {
- \"subnet\": \"192.0.2.0/24\",
- \"id\": 5,
- // many other subnet specific details here
- },
- {
- \"id\": 6,
- \"subnet\": \"192.0.3.0/31\",
- // many other subnet specific details here
- }
- ],
- \"valid-lifetime\": 120
- }
- ]
- }
-}",
- "resp-comment": "Note that the actual response contains many additional fields that are omitted here for clarity."
-}
+ "name": "network4-get",
+ "resp-comment": [
+ "Note that the actual response contains many additional fields that are omitted here for clarity."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"Info about IPv4 shared network 'floor13' returned\",",
- "brief": "The network4-subnet-del command is used to remove a subnet that is part of an existing shared network and demote it to a plain, stand-alone subnet.",
- "description": "See <xref linkend=\"idp78\"/>",
- "support": [ "kea-dhcp4"],
"avail": "1.3.0",
+ "brief": [
+ "The network4-subnet-del command is used to remove a subnet that is part of an existing shared network and demote it to a plain, stand-alone subnet."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"network4-subnet-del\",",
+ " \"arguments\": {",
+ " \"name\": \"floor13\",",
+ " \"id\": 5",
+ " }",
+ " }"
+ ],
+ "description": "See <xref linkend=\"idp78\"/>",
"hook": "subnet_cmds",
- "cmd-syntax": "{
- \"command\": \"network4-subnet-del\",
- \"arguments\": {
- \"name\": \"floor13\",
- \"id\": 5
- }
- }",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"IPv4 subnet 10.0.0.0/8 (id 5) is now removed from shared network 'floor13'\"
-}"
-}
+ "name": "network4-subnet-del",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv4 subnet 10.0.0.0/8 (id 5) is now removed from shared network 'floor13'\"",
- "brief": "The network6-add command is used to add a new shared network.",
- "description": "See <xref linkend=\"idp75\"/>",
- "support": [ "kea-dhcp6" ],
"avail": "1.3.0",
+ "brief": [
+ "The network6-add command is used to add a new shared network."
+ ],
+ "cmd-comment": [
+ "The network6-add uses the same syntax for both the query and the response. However, there are some parameters that are IPv4-only (e.g. match-client-id) and some are IPv6-only (e.g. interface-id)."
- "cmd-comment": "The network6-add uses the same syntax for both the query and the response. However, there are some parameters that are IPv4-only (e.g. match-client-id) and some are IPv6-only (e.g. interface-id).",
- "brief": "The network6-get command is used to retrieve detailed information about shared networks, including subnets currently being part of a given network.",
- "description": "See <xref linkend=\"idp74\"/>",
- "support": [ "kea-dhcp6" ],
"avail": "1.3.0",
+ "brief": [
+ "The network6-get command is used to retrieve detailed information about shared networks, including subnets currently being part of a given network."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"network4-get\",",
+ " \"arguments\": {",
+ " \"name\": \"floor13\"",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp74\"/>",
"hook": "subnet_cmds",
- "cmd-syntax": "{
- \"command\": \"network4-get\",
- \"arguments\": {
- \"name\": \"floor13\"
- }
-}",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"Info about IPv4 shared network 'floor13' returned\",
- \"arguments\": {
- \"shared-networks\": [
- {
- \"match-client-id\": true,
- \"name\": \"floor13\",
- \"option-data\": [ ],
- \"rebind-timer\": 90,
- \"relay\": {
- \"ip-address\": \"0.0.0.0\"
- },
- \"renew-timer\": 60,
- \"reservation-mode\": \"all\",
- \"subnet4\": [
- {
- \"subnet\": \"192.0.2.0/24\",
- \"id\": 5,
- // many other subnet specific details here
- },
- {
- \"id\": 6,
- \"subnet\": \"192.0.3.0/31\",
- // many other subnet specific details here
- }
- ],
- \"valid-lifetime\": 120
- }
- ]
- }
-}",
- "resp-comment": "Note that the actual response contains many additional fields that are omitted here for clarity."
-}
+ "name": "network6-get",
+ "resp-comment": [
+ "Note that the actual response contains many additional fields that are omitted here for clarity."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"Info about IPv4 shared network 'floor13' returned\",",
- "brief": "The network6-subnet-del command is used to remove a subnet that is part of existing shared network and demote it to a plain, stand-alone subnet.",
- "description": "See <xref linkend=\"idp78\"/>",
- "support": [ "kea-dhcp6" ],
"avail": "1.3.0",
+ "brief": [
+ "The network6-subnet-del command is used to remove a subnet that is part of existing shared network and demote it to a plain, stand-alone subnet."
+ ],
+ "cmd-comment": [
+ "The network6-subnet-del command uses exactly the same syntax for both the command and the response."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"network4-subnet-del\",",
+ " \"arguments\": {",
+ " \"name\": \"floor13\",",
+ " \"id\": 5",
+ " }",
+ " }"
+ ],
+ "description": "See <xref linkend=\"idp78\"/>",
"hook": "subnet_cmds",
- "cmd-syntax": "{
- \"command\": \"network4-subnet-del\",
- \"arguments\": {
- \"name\": \"floor13\",
- \"id\": 5
- }
- }",
- "cmd-comment": "The network6-subnet-del command uses exactly the same syntax for both the command and the response.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"IPv4 subnet 10.0.0.0/8 (id 5) is now removed from shared network 'floor13'\"
-}"
-}
+ "name": "network6-subnet-del",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv4 subnet 10.0.0.0/8 (id 5) is now removed from shared network 'floor13'\"",
- "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",
+ "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."
+ ],
+ "cmd-comment": [
+ "This command carries the list including exactly one name of the parameter to be deleted. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error."
+ " \"parameters\": [ <parameter name as string> ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-global-parameter4-del\",
- \"arguments\": {
- \"parameters\": [ <parameter name as string> ],
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "This command carries the list including exactly one name of the parameter to be deleted. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCPv4 global parameter(s) deleted.\",
- \"arguments\": {
- \"count\": 1
- }
-}"
-}
+ "name": "remote-global-parameter4-del",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"DHCPv4 global parameter(s) deleted.\",",
- "brief": "This command is used to fetch all global parameters for the server from the specified database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch all global parameters for the server from the specified database."
+ ],
+ "cmd-comment": [
+ "The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the global parameters shared by all servers."
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the global parameters shared by all servers.",
- "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. If the server tag \"all\" is included in the command, the response contains the global parameters shared between all servers. It excludes server specific global parameters. If an explicit server tag is included in the command, the response contains all global parameters directly associated with the given server and the global parameters associated with all servers when server specific values are not present."
-}
+ "name": "remote-global-parameter4-get-all",
+ "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. If the server tag \"all\" is included in the command, the response contains the global parameters shared between all servers. It excludes server specific global parameters. If an explicit server tag is included in the command, the response contains all global parameters directly associated with the given server and the global parameters associated with all servers when server specific values are not present."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"DHCPv4 global parameters found.\",",
- "brief": "This command is used to fetch selected global parameter for the server from the specified database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch selected global parameter for the server from the specified database."
+ ],
+ "cmd-comment": [
+ "This command carries a list including exactly one name of the parameter to be fetched. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed to fetch the global parameter value shared by all servers."
+ " \"parameters\": [ <parameter name as string> ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-global-parameter4-get\",
- \"arguments\": {
- \"parameters\": [ <parameter name as string> ],
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "This command carries a list including exactly one name of the parameter to be fetched. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed to fetch the global parameter value shared by all servers.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCPv4 global parameter found.\",
- \"arguments\": {
- \"parameters\": {
- <parameter name>: <parameter value>,
- \"metadata\": {
- \"server-tags\": [ <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. If the \"all\" server tag was specified, the command attempts to fetch the global parameter value associated with all servers. If the explicit server tag is specified, the command will fetch the value associated with the given server. If the server specific value doesn't exist, it will try to fetch the value associated with all servers."
-}
+ "name": "remote-global-parameter4-get",
+ "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. If the \"all\" server tag was specified, the command attempts to fetch the global parameter value associated with all servers. If the explicit server tag is specified, the command will fetch the value associated with the given server. If the server specific value doesn't exist, it will try to fetch the value associated with all servers."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"DHCPv4 global parameter found.\",",
- "brief": "This command is used to create or update one more global parameters in the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to create or update one more global parameters in the configuration database."
+ ],
+ "cmd-comment": [
+ "This command carries multiple global parameters with their values. Care should be taken when specifying more than one parameter because in some cases only a subset of the parameters may be successfully stored in the database and other parameters may fail to be stored. In such cases the <command>remote-global-parameter4-get-all</command> may be useful to verify the contents of the database after the update. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified parameters with all servers."
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "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. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified parameters with all servers.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCPv4 global parameter(s) successfully set.\",
- "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",
+ "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."
+ ],
+ "cmd-comment": [
+ "This command carries the list including exactly one name of the parameter to be deleted. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error."
+ " \"parameters\": [ <parameter name as string> ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-global-parameter6-del\",
- \"arguments\": {
- \"parameters\": [ <parameter name as string> ],
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "This command carries the list including exactly one name of the parameter to be deleted. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCPv6 global parameter(s) deleted.\",
- \"arguments\": {
- \"count\": 1
- }
-}"
-}
+ "name": "remote-global-parameter6-del",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"DHCPv6 global parameter(s) deleted.\",",
- "brief": "This command is used to fetch all global parameters for the server from the specified database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch all global parameters for the server from the specified database."
+ ],
+ "cmd-comment": [
+ "The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the global parameters shared by all servers."
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the global parameters shared by all servers.",
- "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. If the server tag \"all\" is included in the command, the response contains the global parameters shared between all servers. It excludes server specific global parameters. If an explicit server tag is included in the command, the response contains all global parameters directly associated with the given server and the global parameters associated with all servers when server specific values are not present."
-}
+ "name": "remote-global-parameter6-get-all",
+ "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. If the server tag \"all\" is included in the command, the response contains the global parameters shared between all servers. It excludes server specific global parameters. If an explicit server tag is included in the command, the response contains all global parameters directly associated with the given server and the global parameters associated with all servers when server specific values are not present."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"DHCPv6 global parameters found.\",",
- "brief": "This command is used to fetch selected global parameter for the server from the specified database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch selected global parameter for the server from the specified database."
+ ],
+ "cmd-comment": [
+ "This command carries a list including exactly one name of the parameter to be fetched. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed to fetch the global parameter value shared by all servers."
+ " \"parameters\": [ <parameter name as string> ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-global-parameter6-get\",
- \"arguments\": {
- \"parameters\": [ <parameter name as string> ],
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "This command carries a list including exactly one name of the parameter to be fetched. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed to fetch the global parameter value shared by all servers.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCPv6 global parameter found.\",
- \"arguments\": {
- \"parameters\": {
- <parameter name>: <parameter value>,
- \"metadata\": {
- \"server-tags\": [ <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. If the \"all\" server tag was specified, the command attempts to fetch the global parameter value associated with all servers. If the explicit server tag is specified, the command will fetch the value associated with the given server. If the server specific value doesn't exist, it will try to fetch the value associated with all servers."
-}
+ "name": "remote-global-parameter6-get",
+ "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. If the \"all\" server tag was specified, the command attempts to fetch the global parameter value associated with all servers. If the explicit server tag is specified, the command will fetch the value associated with the given server. If the server specific value doesn't exist, it will try to fetch the value associated with all servers."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"DHCPv6 global parameter found.\",",
- "brief": "This command is used to create or update one more global parameters in the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to create or update one more global parameters in the configuration database."
+ ],
+ "cmd-comment": [
+ "This command carries multiple global parameters with their values. Care should be taken when specifying more than one parameter because in some cases only a subset of the parameters may be successfully stored in the database and other parameters may fail to be stored. In such cases the <command>remote-global-parameter6-get-all</command> may be useful to verify the contents of the database after the update. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified parameters with all servers."
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "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. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified parameters with all servers.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCPv6 global parameter(s) successfully set.\",
- "brief": "This command is used to delete an IPv4 shared network from the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to delete an IPv4 shared network from the configuration database."
+ ],
+ "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>server-tags</command> parameter must not be specified for this command."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-network4-del\",",
+ " \"arguments\": {",
+ " \"shared-networks\": [",
+ " {",
+ " \"name\": <shared network name>",
+ " }",
+ " ],",
+ " \"subnets-action\": \"keep\" | \"delete\",",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-network4-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. The <command>server-tags</command> parameter must not be specified for this command.",
- "brief": "This command is used to fetch selected IPv4 shared network for the server from the specified database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch selected IPv4 shared network for the server from the specified database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one name of the shared network to be returned. The <command>subnets-include</command> optional parameter allows for specifying whether the subnets belonging to the shared network should also be returned. The <command>server-tags</command> parameter must not be specified for this command."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-network4-get\"",
+ " \"arguments\": {",
+ " \"shared-networks\": [",
+ " {",
+ " \"name\": <shared network name>",
+ " }",
+ " ],",
+ " \"subnets-include\": \"full\" | \"no\",",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-network4-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. The <command>server-tags</command> parameter must not be specified for this command.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"IPv4 shared network found.\",
- \"arguments\": {
- \"shared-networks\": [
- {
- \"name\": <shared network name>,
- \"metadata\": {
- \"server-tags\": [ <first server tag>, <second 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>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."
-}
+ "name": "remote-network4-get",
+ "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."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv4 shared network found.\",",
+ " \"arguments\": {",
+ " \"shared-networks\": [",
+ " {",
+ " \"name\": <shared network name>,",
+ " \"metadata\": {",
+ " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " },",
+ " <the rest of the shared network information, potentially including subnets>",
- "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",
+ "brief": [
+ "This command is used to fetch a list of all IPv4 shared networks from the configuration database."
+ ],
+ "cmd-comment": [
+ "The <command>server-tags</command> list is required for this command. This list must not be empty. It may either contain one or multiple server tags as strings or a single <command>null</command> value."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-network4-list\"",
+ " \"arguments\": {",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-network4-list\"
- \"arguments\": {
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <first server tag>, <second server tag>, ... ]
- }
-}",
- "cmd-comment": "The <command>server-tags</command> list is required for this command. This list must not be empty. It may either contain one or multiple server tags as strings or a single <command>null</command> value.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"2 IPv4 shared network(s) found.\",
- \"arguments\": {
- \"shared-networks\": [
- {
- \"name\": <first shared network name>,
- \"metadata\": {
- \"server-tags\": [ <first server tag>, <second server tag>, ... ]
- }
- },
- {
- \"name\": <second shared network name>,
- \"metadata\": {
- \"server-tags\": [ <first 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-network4-get</command> to fetch the full information about the selected shared networks. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all shared networks which are associated with any of the specified tags. A network is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the <command>null</command> value in the <command>server-tags</command> list, the response contains all shared networks which are assigned to no servers (unassigned)."
-}
+ "name": "remote-network4-list",
+ "resp-comment": [
+ "The returned response contains the list of maps. Each map contains the shared network name and the metadata which provides database specific information associated with the shared network. The returned list does not contain full definitions of the shared networks. Use <command>remote-network4-get</command> to fetch the full information about the selected shared networks. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all shared networks which are associated with any of the specified tags. A network is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the <command>null</command> value in the <command>server-tags</command> list, the response contains all shared networks which are assigned to no servers (unassigned)."
- "brief": "This command is used to create or replace an IPv4 shared network in the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to create or replace an IPv4 shared network in the configuration database."
+ ],
+ "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>server-tags</command> list is mandatory and it must contain one or more server tags as strings to explicitly associate the shared network with one or more user defined servers. It may include the special server tag \"all\" to associate the network with all servers."
- \"server-tags\": [ <first server tag>, <second server tag>, ... ]
- }
-}",
- "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>server-tags</command> list is mandatory and it must contain one or more server tags as strings to explicitly associate the shared network with one or more user defined servers. It may include the special server tag \"all\" to associate the network with all servers.",
- "brief": "This command is used to delete an IPv6 shared network from the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to delete an IPv6 shared network from the configuration database."
+ ],
+ "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>server-tags</command> parameter must not be specified for this command."
+ ],
+ "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>",
+ " }",
+ " }",
+ "}"
+ ],
"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. The <command>server-tags</command> parameter must not be specified for this command.",
- "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",
+ "brief": [
+ "This command is used to fetch selected IPv6 shared network for the server from the specified database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one name of the shared network to be returned. The <command>subnets-include</command> optional parameter allows for specifying whether the subnets belonging to the shared network should also be returned. The <command>server-tags</command> parameter must not be specified for this command."
+ ],
+ "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>",
+ " }",
+ " }",
+ "}"
+ ],
"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. The <command>server-tags</command> parameter must not be specified for this command.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"IPv6 shared network found.\",
- \"arguments\": {
- \"shared-networks\": [
- {
- \"name\": <shared network name>,
- \"metadata\": {
- \"server-tags\": [ <first server tag>, <second 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."
-}
+ "name": "remote-network6-get",
+ "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."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv6 shared network found.\",",
+ " \"arguments\": {",
+ " \"shared-networks\": [",
+ " {",
+ " \"name\": <shared network name>,",
+ " \"metadata\": {",
+ " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " },",
+ " <the rest of the shared network information, potentially including subnets>",
- "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",
+ "brief": [
+ "This command is used to fetch a list of all IPv6 shared networks from the configuration database."
+ ],
+ "cmd-comment": [
+ "The <command>server-tags</command> list is required for this command. This list must not be empty. It may either contain one or multiple server tags as strings or a single <command>null</command> value."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-network6-list\"",
+ " \"arguments\": {",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-network6-list\"
- \"arguments\": {
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <first server tag>, <second server tag>, ... ]
- }
-}",
- "cmd-comment": "The <command>server-tags</command> list is required for this command. This list must not be empty. It may either contain one or multiple server tags as strings or a single <command>null</command> value.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"2 IPv6 shared network(s) found.\",
- \"arguments\": {
- \"shared-networks\": [
- {
- \"name\": <first shared network name>,
- \"metadata\": {
- \"server-tags\": [ <first server tag>, <second server tag>, ... ]
- }
- },
- {
- \"name\": <second shared network name>,
- \"metadata\": {
- \"server-tags\": [ <first 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. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all shared networks which are associated with any of the specified tags. A network is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the <command>null</command> value in the <command>server-tags</command> list, the response contains all shared networks which are assigned to no servers (unassigned)."
-}
+ "name": "remote-network6-list",
+ "resp-comment": [
+ "The returned response contains the list of maps. Each map contains the shared network name and the metadata which provides database specific information associated with the shared network. The returned list does not contain full definitions of the shared networks. Use <command>remote-network6-get</command> to fetch the full information about the selected shared networks. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all shared networks which are associated with any of the specified tags. A network is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the <command>null</command> value in the <command>server-tags</command> list, the response contains all shared networks which are assigned to no servers (unassigned)."
- "brief": "This command is used to create or replace an IPv6 shared network in the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to create or replace an IPv6 shared network in the configuration database."
+ ],
+ "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. The <command>server-tags</command> list is mandatory and it must contain one or more server tags as strings to explicitly associate the shared network with one or more user defined servers. It may include the special server tag \"all\" to associate the network with all servers."
- \"server-tags\": [ <first server tag>, <second server tag>, ... ]
- }
-}",
- "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. The <command>server-tags</command> list is mandatory and it must contain one or more server tags as strings to explicitly associate the shared network with one or more user defined servers. It may include the special server tag \"all\" to associate the network with all servers.",
- "brief": "This command is used to delete a DHCPv4 option definition from the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to delete a DHCPv4 option definition from the configuration database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one option definition specification comprising an option name and code. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option-def4-del\",",
+ " \"arguments\": {",
+ " \"option-defs\": [ {",
+ " \"code\": <option code>,",
+ " \"space\": <option space",
+ " } ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-option-def4-del\",
- \"arguments\": {
- \"option-defs\": [ {
- \"code\": <option code>,
- \"space\": <option space
- } ],
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "This command includes a list with exactly one option definition specification comprising an option name and code. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error.",
- "brief": "This command is used to fetch all DHCPv4 option definitions from the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch all DHCPv4 option definitions from the configuration database."
+ ],
+ "cmd-comment": [
+ "The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the option definitions shared by all servers."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option-def4-get-all\"",
+ " \"arguments\": {",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-option-def4-get-all\"
- \"arguments\": {
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the option definitions shared by all servers.",
- "resp-comment": "The returned response contains a list of maps. Each map contains an option definition specification and the metadata including database specific information associated with the returned objects. If the server tag \"all\" is included in the command, the response contains the option definitions shared between all servers. It excludes server specific option definitions. If an explicit server tag is included in the command, the response contains all option definitions directly associated with the given server and the option definitions associated with all servers when server specific option definitions are not present."
-}
+ "name": "remote-option-def4-get-all",
+ "resp-comment": [
+ "The returned response contains a list of maps. Each map contains an option definition specification and the metadata including database specific information associated with the returned objects. If the server tag \"all\" is included in the command, the response contains the option definitions shared between all servers. It excludes server specific option definitions. If an explicit server tag is included in the command, the response contains all option definitions directly associated with the given server and the option definitions associated with all servers when server specific option definitions are not present."
- "brief": "This command is used to fetch a DHCPv4 option definition from the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch a DHCPv4 option definition from the configuration database."
+ ],
+ "cmd-comment": [
+ "The desired option definition is identified by the pair of the option code/space values. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed to fetch the option definition instance shared by all servers."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option-def4-get\",",
+ " \"arguments\": {",
+ " \"option-defs\": [",
+ " {",
+ " \"code\": <option code>,",
+ " \"space\": <option space>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-option-def4-get\",
- \"arguments\": {
- \"option-defs\": [
- {
- \"code\": <option code>,
- \"space\": <option space>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "The desired option definition is identified by the pair of the option code/space values. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed to fetch the option definition instance shared by all servers.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCPv4 option definition found.\",
- \"arguments\": {
- \"option-defs\": [
- {
- <option definition>,
- \"metadata\": {
- \"server-tags\": [ <server tag> ]
- }
- }
- ],
- \"count\": 1
- }
-}",
- "resp-comment": "The metadata is included and it provides database specific information associated with the returned object. If the \"all\" server tag was specified, the command attempts to fetch the option definition associated with all servers. If the explicit server tag is specified, the command will fetch the option definition associated with the given server. If the server specific option definition doesn't exist, it will try to fetch the option definition associated with all servers."
-}
+ "name": "remote-option-def4-get",
+ "resp-comment": [
+ "The metadata is included and it provides database specific information associated with the returned object. If the \"all\" server tag was specified, the command attempts to fetch the option definition associated with all servers. If the explicit server tag is specified, the command will fetch the option definition associated with the given server. If the server specific option definition doesn't exist, it will try to fetch the option definition associated with all servers."
- "brief": "This command is used to create or replace DHCPv4 option definition in the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to create or replace DHCPv4 option definition in the configuration database."
+ ],
+ "cmd-comment": [
+ "The provided list must contain exactly one option definition specification. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified option definition with all servers."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option-def4-set\",",
+ " \"arguments\": {",
+ " \"option-defs\": [",
+ " {",
+ " <option definition specification>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-option-def4-set\",
- \"arguments\": {
- \"option-defs\": [
- {
- <option definition specification>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "The provided list must contain exactly one option definition specification. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified option definition with all servers.",
- "brief": "This command is used to delete a DHCPv6 option definition from the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to delete a DHCPv6 option definition from the configuration database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one option definition specification comprising an option name and code. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option-def6-del\",",
+ " \"arguments\": {",
+ " \"option-defs\": [ {",
+ " \"code\": <option code>,",
+ " \"space\": <option space",
+ " } ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"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>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "This command includes a list with exactly one option definition specification comprising an option name and code. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error.",
- "brief": "This command is used to fetch all DHCPv6 option definitions from the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch all DHCPv6 option definitions from the configuration database."
+ ],
+ "cmd-comment": [
+ "The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the option definitions shared by all servers."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option-def6-get-all\"",
+ " \"arguments\": {",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-option-def6-get-all\"
- \"arguments\": {
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the option definitions shared by all servers.",
- "resp-comment": "The returned response contains a list of maps. Each map contains an option definition specification and the metadata including database specific information associated with the returned objects. If the server tag \"all\" is included in the command, the response contains the option definitions shared between all servers. It excludes server specific option definitions. If an explicit server tag is included in the command, the response contains all option definitions directly associated with the given server and the option definitions associated with all servers when server specific option definitions are not present."
-}
+ "name": "remote-option-def6-get-all",
+ "resp-comment": [
+ "The returned response contains a list of maps. Each map contains an option definition specification and the metadata including database specific information associated with the returned objects. If the server tag \"all\" is included in the command, the response contains the option definitions shared between all servers. It excludes server specific option definitions. If an explicit server tag is included in the command, the response contains all option definitions directly associated with the given server and the option definitions associated with all servers when server specific option definitions are not present."
- "brief": "This command is used to fetch a DHCPv6 option definition from the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch a DHCPv6 option definition from the configuration database."
+ ],
+ "cmd-comment": [
+ "The desired option definition is identified by the pair of the option code/space values. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed to fetch the option definition instance shared by all servers."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option-def6-get\",",
+ " \"arguments\": {",
+ " \"option-defs\": [",
+ " {",
+ " \"code\": <option code>,",
+ " \"space\": <option space>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"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>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "The desired option definition is identified by the pair of the option code/space values. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed to fetch the option definition instance shared by all servers.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCPv6 option definition found.\",
- \"arguments\": {
- \"option-defs\": [
- {
- <option definition>,
- \"metadata\": {
- \"server-tags\": [ <server tag> ]
- }
- }
- ],
- \"count\": 1
- }
-}",
- "resp-comment": "The metadata is included and it provides database specific information associated with the returned object. If the \"all\" server tag was specified, the command attempts to fetch the option definition associated with all servers. If the explicit server tag is specified, the command will fetch the option definition associated with the given server. If the server specific option definition doesn't exist, it will try to fetch the option definition associated with all servers."
-}
+ "name": "remote-option-def6-get",
+ "resp-comment": [
+ "The metadata is included and it provides database specific information associated with the returned object. If the \"all\" server tag was specified, the command attempts to fetch the option definition associated with all servers. If the explicit server tag is specified, the command will fetch the option definition associated with the given server. If the server specific option definition doesn't exist, it will try to fetch the option definition associated with all servers."
- "brief": "This command is used to create or replace DHCPv6 option definition in the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to create or replace DHCPv6 option definition in the configuration database."
+ ],
+ "cmd-comment": [
+ "The provided list must contain exactly one option definition specification. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified option definition with all servers."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option-def6-set\",",
+ " \"arguments\": {",
+ " \"option-defs\": [",
+ " {",
+ " <option definition specification>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-option-def6-set\",
- \"arguments\": {
- \"option-defs\": [
- {
- <option definition specification>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "The provided list must contain exactly one option definition specification. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified option definition with all servers.",
- "brief": "This command is used to delete a DHCPv4 global option from the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to delete a DHCPv4 global option from the configuration database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one option specification comprising an option name and code. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option4-global-del\",",
+ " \"arguments\": {",
+ " \"options\": [",
+ " {",
+ " \"code\": <option code>",
+ " \"space\": <option space>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-option4-global-del\",
- \"arguments\": {
- \"options\": [
- {
- \"code\": <option code>
- \"space\": <option space>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "This command includes a list with exactly one option specification comprising an option name and code. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error.",
- "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",
+ "brief": [
+ "This command is used to fetch all DHCPv4 global options for the server from the configuration database."
+ ],
+ "cmd-comment": [
+ "The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the global options shared by all servers."
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-option4-global-get-all\",
- \"arguments\": {
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the global options shared by all servers.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"2 DHCPv4 option(s) found.\",
- \"arguments\": {
- \"options\": [
- {
- <first option specification>,
- \"metadata\": {
- \"server-tags\": [ <server tag> ]
- }
- },
- {
- <second option specification>,
- \"metadata\": {
- \"server-tags\": [ <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. If the server tag \"all\" is included in the command, the response contains the global options shared between all servers. It excludes server specific global options. If an explicit server tag is included in the command, the response contains all global options directly associated with the given server and the options associated with all servers when server specific options are not present."
-}
+ "name": "remote-option4-global-get-all",
+ "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. If the server tag \"all\" is included in the command, the response contains the global options shared between all servers. It excludes server specific global options. If an explicit server tag is included in the command, the response contains all global options directly associated with the given server and the options associated with all servers when server specific options are not present."
- "brief": "This command is used to fetch a global DHCPv4 option for the server from the specified database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch a global DHCPv4 option for the server from the specified database."
+ ],
+ "cmd-comment": [
+ "The option is identified by the pair of option code/space values. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed to fetch the global option instance shared by all servers."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option4-global-get\",",
+ " \"arguments\": {",
+ " \"options\": [",
+ " {",
+ " \"code\": <option code>,",
+ " \"space\": <option space>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-option4-global-get\",
- \"arguments\": {
- \"options\": [
- {
- \"code\": <option code>,
- \"space\": <option space>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
-}",
- "cmd-comment": "The option is identified by the pair of option code/space values. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed to fetch the global option instance shared by all servers.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCPv4 option in found.\",
- \"arguments\": {
- \"options\": [
- {
- <option information>,
- \"metadata\": {
- \"server-tags\": [ <server tag> ]
- }
- }
- ]
- }
-}",
- "resp-comment": "The metadata is included and it provides database specific information associated with the returned object. If the \"all\" server tag was specified, the command attempts to fetch the global option associated with all servers. If the explicit server tag is specified, the command will fetch the global option associated with the given server. If the server specific option doesn't exist, it will try to fetch the option associated with all servers."
-}
+ "name": "remote-option4-global-get",
+ "resp-comment": [
+ "The metadata is included and it provides database specific information associated with the returned object. If the \"all\" server tag was specified, the command attempts to fetch the global option associated with all servers. If the explicit server tag is specified, the command will fetch the global option associated with the given server. If the server specific option doesn't exist, it will try to fetch the option associated with all servers."
- "brief": "This command is used to create or replace a DHCPv4 global option in the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to create or replace a DHCPv4 global option in the configuration database."
+ ],
+ "cmd-comment": [
+ "The provided list must cotain exactly one option specification. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified option with all servers."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option4-global-set\",",
+ " \"arguments\": {",
+ " \"options\": [",
+ " {",
+ " <global option specification>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-option4-global-set\",
- \"arguments\": {
- \"options\": [
- {
- <global option specification>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "The provided list must cotain exactly one option specification. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified option with all servers.",
- "brief": "This command is used to delete a DHCPv6 global option from the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to delete a DHCPv6 global option from the configuration database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one option specification comprising an option name and code. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option6-global-del\",",
+ " \"arguments\": {",
+ " \"options\": [",
+ " {",
+ " \"code\": <option code>",
+ " \"space\": <option space>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"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>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "This command includes a list with exactly one option specification comprising an option name and code. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error.",
- "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",
+ "brief": [
+ "This command is used to fetch all DHCPv6 global options for the server from the configuration database."
+ ],
+ "cmd-comment": [
+ "The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the global options shared by all servers."
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-option6-global-get-all\",
- \"arguments\": {
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The special server tag \"all\" is allowed to fetch the global options shared by all servers.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"2 DHCPv6 option(s) found.\",
- \"arguments\": {
- \"options\": [
- {
- <first option specification>,
- \"metadata\": {
- \"server-tags\": [ <server tag> ]
- }
- },
- {
- <second option specification>,
- \"metadata\": {
- \"server-tags\": [ <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. If the server tag \"all\" is included in the command, the response contains the global options shared between all servers. It excludes server specific global options. If an explicit server tag is included in the command, the response contains all global options directly associated with the given server and the options associated with all servers when server specific options are not present."
-}
+ "name": "remote-option6-global-get-all",
+ "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. If the server tag \"all\" is included in the command, the response contains the global options shared between all servers. It excludes server specific global options. If an explicit server tag is included in the command, the response contains all global options directly associated with the given server and the options associated with all servers when server specific options are not present."
- "brief": "This command is used to fetch a global DHCPv6 option for the server from the specified database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch a global DHCPv6 option for the server from the specified database."
+ ],
+ "cmd-comment": [
+ "The option is identified by the pair of option code/space values. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed to fetch the global option instance shared by all servers."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option6-global-get\",",
+ " \"arguments\": {",
+ " \"options\": [",
+ " {",
+ " \"code\": <option code>,",
+ " \"space\": <option space>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ "}"
+ ],
"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>
- },
- \"server-tags\": [ <single server tag as string> ]
-}",
- "cmd-comment": "The option is identified by the pair of option code/space values. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed to fetch the global option instance shared by all servers.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCPv6 option in found.\",
- \"arguments\": {
- \"options\": [
- {
- <option information>,
- \"metadata\": {
- \"server-tags\": [ <server tag> ]
- }
- }
- ]
- }
-}",
- "resp-comment": "The metadata is included and it provides database specific information associated with the returned object. If the \"all\" server tag was specified, the command attempts to fetch the global option associated with all servers. If the explicit server tag is specified, the command will fetch the global option associated with the given server. If the server specific option doesn't exist, it will try to fetch the option associated with all servers."
-}
+ "name": "remote-option6-global-get",
+ "resp-comment": [
+ "The metadata is included and it provides database specific information associated with the returned object. If the \"all\" server tag was specified, the command attempts to fetch the global option associated with all servers. If the explicit server tag is specified, the command will fetch the global option associated with the given server. If the server specific option doesn't exist, it will try to fetch the option associated with all servers."
- "brief": "This command is used to create or replace a DHCPv6 global option in the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to create or replace a DHCPv6 global option in the configuration database."
+ ],
+ "cmd-comment": [
+ "The provided list must cotain exactly one option specification. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified option with all servers."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-option6-global-set\",",
+ " \"arguments\": {",
+ " \"options\": [",
+ " {",
+ " <global option specification>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <single server tag as string> ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-option6-global-set\",
- \"arguments\": {
- \"options\": [
- {
- <global option specification>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <single server tag as string> ]
- }
-}",
- "cmd-comment": "The provided list must cotain exactly one option specification. The <command>server-tags</command> list is mandatory and it must contain exactly one server tag. Specifying an empty list, a value of <command>null</command> or multiple server tags will result in an error. The server tag \"all\" is allowed and it associates the specified option with all servers.",
- "brief": "This command is used to delete information about a DHCPv4 server from the configuration database. Any configuration explicitly associated with the deleted server is automatically disassociated. In addition, configuration elements not shareable with other servers (e.g. global DHCP parameters) are deleted. The shareable configuration (e.g. subnets, shared networks) is not deleted as it may be used by other servers.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to delete information about a DHCPv4 server from the configuration database. Any configuration explicitly associated with the deleted server is automatically disassociated. In addition, configuration elements not shareable with other servers (e.g. global DHCP parameters) are deleted. The shareable configuration (e.g. subnets, shared networks) is not deleted as it may be used by other servers."
+ ],
+ "cmd-comment": [
+ "This command carries the list including exactly one map with the tag of the server to be deleted."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-server4-del\",",
+ " \"arguments\": {",
+ " \"servers\": [",
+ " {",
+ " \"server-tag\": <server name>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-server4-del\",
- \"arguments\": {
- \"servers\": [
- {
- \"server-tag\": <server name>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- }
- }
-}",
- "cmd-comment": "This command carries the list including exactly one map with the tag of the server to be deleted.",
- "brief": "This command is used to fetch information about all DHCPv4 servers specified by the user.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch information about all DHCPv4 servers specified by the user."
+ ],
+ "cmd-comment": [
+ "This command contains no arguments besides the optional <command>remote</command>."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-server4-get-all\",",
+ " \"arguments\": {",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-server4-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\": \"DHCPv4 servers found.\",
- \"arguments\": {
- \"servers\": [
- {
- \"server-tag\": <first server tag>,
- \"description\": <first server description>
- },
- {
- \"server-tag\": <second server tag>,
- \"description\": <second server description>
- }
- ],
- \"count\": 2
- }
-}",
- "resp-comment": "The returned response contain a list of maps. Each map contains a server tag uniquely identifying a server and the user defined description of the server. The Kea Configuration Backend uses the keyword <command>all</command> to associate parts of the configuration with all servers. Internally, it creates the logical server <command>all</command> for this purpose. However, this logical server is not returned as a result of the <command>remote-server4-get-all</command>. Only the user defined servers are returned."
-}
+ "name": "remote-server4-get-all",
+ "resp-comment": [
+ "The returned response contain a list of maps. Each map contains a server tag uniquely identifying a server and the user defined description of the server. The Kea Configuration Backend uses the keyword <command>all</command> to associate parts of the configuration with all servers. Internally, it creates the logical server <command>all</command> for this purpose. However, this logical server is not returned as a result of the <command>remote-server4-get-all</command>. Only the user defined servers are returned."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"DHCPv4 servers found.\",",
+ " \"arguments\": {",
+ " \"servers\": [",
+ " {",
+ " \"server-tag\": <first server tag>,",
+ " \"description\": <first server description>",
+ " },",
+ " {",
+ " \"server-tag\": <second server tag>,",
+ " \"description\": <second server description>",
- "brief": "This command is used to fetch the information about the DHCPv4 server, such as server tag and description.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch the information about the DHCPv4 server, such as server tag and description."
+ ],
+ "cmd-comment": [
+ "This command carries the list including exactly one map with the tag of the server to be fetched."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-server4-get\",",
+ " \"arguments\": {",
+ " \"servers\": [",
+ " {",
+ " \"server-tag\": <server tag>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-server4-get\",
- \"arguments\": {
- \"servers\": [
- {
- \"server-tag\": <server tag>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- }
- }
-}",
- "cmd-comment": "This command carries the list including exactly one map with the tag of the server to be fetched.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCP server <server tag> found.\",
- \"arguments\": {
- \"servers\": [
- {
- \"server-tag\": <server tag>,
- \"description\": <server description>
- }
- ],
- \"count\": 1
- }
-}",
- "resp-comment": "The server tag is the unique identifier of the server, used to associate the configuration elements in the database with the particular server instance. The returned server description is specified by the user when setting the server information."
-}
+ "name": "remote-server4-get",
+ "resp-comment": [
+ "The server tag is the unique identifier of the server, used to associate the configuration elements in the database with the particular server instance. The returned server description is specified by the user when setting the server information."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"DHCP server <server tag> found.\",",
- "brief": "This command is used to create or replace information about the DHCPv4 server in the database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to create or replace information about the DHCPv4 server in the database."
+ ],
+ "cmd-comment": [
+ "The provided list must contain exactly one server specification. The <command>server-tag</command> must be unique accross all servers within the configuration database. The <command>description</command> is the arbitrary text describing the server, its location within the network etc."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-server4-set\",",
+ " \"arguments\": {",
+ " \"servers\": [",
+ " {",
+ " \"server-tag\": <server tag>,",
+ " \"description\": <server description>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-server4-set\",
- \"arguments\": {
- \"servers\": [
- {
- \"server-tag\": <server tag>,
- \"description\": <server description>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- }
- }
-}",
- "cmd-comment": "The provided list must contain exactly one server specification. The <command>server-tag</command> must be unique accross all servers within the configuration database. The <command>description</command> is the arbitrary text describing the server, its location within the network etc.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCPv4 server successfully set.\",
- \"arguments\": {
- \"servers\": [
- {
- \"server-tag\": <server tag>,
- \"description\": <server description>
- }
- ]
- }
-}"
-}
+ "name": "remote-server4-set",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"DHCPv4 server successfully set.\",",
- "brief": "This command is used to delete information about a DHCPv6 server from the configuration database. Any configuration explicitly associated with the deleted server is automatically disassociated. In addition, configuration elements not shareable with other servers (e.g. global DHCP parameters) are deleted. The shareable configuration (e.g. subnets, shared networks) is not deleted as it may be used by other servers.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to delete information about a DHCPv6 server from the configuration database. Any configuration explicitly associated with the deleted server is automatically disassociated. In addition, configuration elements not shareable with other servers (e.g. global DHCP parameters) are deleted. The shareable configuration (e.g. subnets, shared networks) is not deleted as it may be used by other servers."
+ ],
+ "cmd-comment": [
+ "This command carries the list including exactly one map with the tag of the server to be deleted."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-server6-del\",",
+ " \"arguments\": {",
+ " \"servers\": [",
+ " {",
+ " \"server-tag\": <server name>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-server6-del\",
- \"arguments\": {
- \"servers\": [
- {
- \"server-tag\": <server name>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- }
- }
-}",
- "cmd-comment": "This command carries the list including exactly one map with the tag of the server to be deleted.",
- "brief": "This command is used to fetch information about all DHCPv6 servers specified by the user.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch information about all DHCPv6 servers specified by the user."
+ ],
+ "cmd-comment": [
+ "This command contains no arguments besides the optional <command>remote</command>."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-server6-get-all\",",
+ " \"arguments\": {",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-server6-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 servers found.\",
- \"arguments\": {
- \"servers\": [
- {
- \"server-tag\": <first server tag>,
- \"description\": <first server description>
- },
- {
- \"server-tag\": <second server tag>,
- \"description\": <second server description>
- }
- ],
- \"count\": 2
- }
-}",
- "resp-comment": "The returned response contain a list of maps. Each map contains a server tag uniquely identifying a server and the user defined description of the server. The Kea Configuration Backend uses the keyword <command>all</command> to associate parts of the configuration with all servers. Internally, it creates the logical server <command>all</command> for this purpose. However, this logical server is not returned as a result of the <command>remote-server6-get-all</command>. Only the user defined servers are returned."
-}
+ "name": "remote-server6-get-all",
+ "resp-comment": [
+ "The returned response contain a list of maps. Each map contains a server tag uniquely identifying a server and the user defined description of the server. The Kea Configuration Backend uses the keyword <command>all</command> to associate parts of the configuration with all servers. Internally, it creates the logical server <command>all</command> for this purpose. However, this logical server is not returned as a result of the <command>remote-server6-get-all</command>. Only the user defined servers are returned."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"DHCPv6 servers found.\",",
+ " \"arguments\": {",
+ " \"servers\": [",
+ " {",
+ " \"server-tag\": <first server tag>,",
+ " \"description\": <first server description>",
+ " },",
+ " {",
+ " \"server-tag\": <second server tag>,",
+ " \"description\": <second server description>",
- "brief": "This command is used to fetch the information about the DHCPv6 server, such as server tag and description.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch the information about the DHCPv6 server, such as server tag and description."
+ ],
+ "cmd-comment": [
+ "This command carries the list including exactly one map with the tag of the server to be fetched."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-server6-get\",",
+ " \"arguments\": {",
+ " \"servers\": [",
+ " {",
+ " \"server-tag\": <server tag>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-server6-get\",
- \"arguments\": {
- \"servers\": [
- {
- \"server-tag\": <server tag>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- }
- }
-}",
- "cmd-comment": "This command carries the list including exactly one map with the tag of the server to be fetched.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCP server <server tag> found.\",
- \"arguments\": {
- \"servers\": [
- {
- \"server-tag\": <server tag>,
- \"description\": <server description>
- }
- ],
- \"count\": 1
- }
-}",
- "resp-comment": "The server tag is the unique identifier of the server, used to associate the configuration elements in the database with the particular server instance. The returned server description is specified by the user when setting the server information."
-}
+ "name": "remote-server6-get",
+ "resp-comment": [
+ "The server tag is the unique identifier of the server, used to associate the configuration elements in the database with the particular server instance. The returned server description is specified by the user when setting the server information."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"DHCP server <server tag> found.\",",
- "brief": "This command is used to create or replace information about the DHCPv6 server in the database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to create or replace information about the DHCPv6 server in the database."
+ ],
+ "cmd-comment": [
+ "The provided list must contain exactly one server specification. The <command>server-tag</command> must be unique accross all servers within the configuration database. The <command>description</command> is the arbitrary text describing the server, its location within the network etc."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-server6-set\",",
+ " \"arguments\": {",
+ " \"servers\": [",
+ " {",
+ " \"server-tag\": <server tag>,",
+ " \"description\": <server description>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-server6-set\",
- \"arguments\": {
- \"servers\": [
- {
- \"server-tag\": <server tag>,
- \"description\": <server description>
- }
- ],
- \"remote\": {
- <specification of the database to connect to>
- }
- }
-}",
- "cmd-comment": "The provided list must contain exactly one server specification. The <command>server-tag</command> must be unique accross all servers within the configuration database. The <command>description</command> is the arbitrary text describing the server, its location within the network etc.",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"DHCPv6 server successfully set.\",
- \"arguments\": {
- \"servers\": [
- {
- \"server-tag\": <server tag>,
- \"description\": <server description>
- }
- ]
- }
-}"
-}
+ "name": "remote-server6-set",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"DHCPv6 server successfully set.\",",
- "brief": "This command is used to delete an IPv4 subnet by ID from the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to delete an IPv4 subnet by ID from the configuration database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one id of the subnet to be deleted. The <command>server-tags</command> parameter must not be specified for this command."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-subnet4-del-by-id\",",
+ " \"arguments\": {",
+ " \"subnets\": [",
+ " {",
+ " \"id\": <subnet identifier>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-subnet4-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. The <command>server-tags</command> parameter must not be specified for this command.",
- "brief": "This command is used to delete an IPv4 subnet by prefix from the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to delete an IPv4 subnet by prefix from the configuration database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one prefix of the subnet to be deleted. The <command>server-tags</command> parameter must not be specified for this command."
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-subnet4-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. The <command>server-tags</command> parameter must not be specified for this command.",
- "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",
+ "brief": [
+ "This command is used to fetch selected IPv4 subnet by ID for the server from the configuration database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one id of the subnet to be returned. The <command>server-tags</command> parameter must not be specified for this command."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-subnet4-get-by-id\"",
+ " \"arguments\": {",
+ " \"subnets\": [ {",
+ " \"id\": <subnet identifier>",
+ " } ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-subnet4-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. The <command>server-tags</command> parameter must not be specified for this command.",
- \"server-tags\": [ <first server tag>, <second 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."
-}
+ "name": "remote-subnet4-get-by-id",
+ "resp-comment": [
+ "If the shared network name is null, it means that the returned subnet does not belong to any shared network (global subnet). The metadata is included in the returned subnet definition and it provides database specific information associated with the returned object."
- "brief": "This command is used to fetch selected IPv4 subnet by prefix from the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch selected IPv4 subnet by prefix from the configuration database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one prefix of the subnet to be returned. The <command>server-tags</command> parameter must not be specified for this command."
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"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. The <command>server-tags</command> parameter must not be specified for this command.",
- \"server-tags\": [ <first server tag>, <second 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."
-}
+ "name": "remote-subnet4-get-by-prefix",
+ "resp-comment": [
+ "If the shared network name is null, it means that the returned subnet does not belong to any shared network (global subnet). The metadata is included in the returned subnet definition and it provides database specific information associated with the returned object."
- "brief": "This command is used to fetch a list of all IPv4 subnets from the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch a list of all IPv4 subnets from the configuration database."
+ ],
+ "cmd-comment": [
+ "The <command>server-tags</command> list is required for this command. This list must not be empty. It may either contain one or multiple server tags as strings or a single <command>null</command> value."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-subnet4-list\"",
+ " \"arguments\": {",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-subnet4-list\"
- \"arguments\": {
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <first server tag>, <second server tag>, ... ]
- }
-}",
- "cmd-comment": "The <command>server-tags</command> list is required for this command. This list must not be empty. It may either contain one or multiple server tags as strings or a single <command>null</command> value.",
- "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-subnet4-get</command> to fetch the full information about the selected subnets. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all subnets which are associated with any of the specified tags. A subnet is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the <command>null</command> value in the <command>server-tags</command> list, the response contains all subnets which are assigned to no servers (unassigned)."
-}
+ "name": "remote-subnet4-list",
+ "resp-comment": [
+ "The returned response contains a list of maps. Each map contains a subnet identifier, prefix and shared network name to which the subnet belongs. If the subnet does not belong to a shared netork the name is null. The metadata includes database specific information associated with the subnets. The returned list does not contain full subnet definitions. Use <command>remote-subnet4-get</command> to fetch the full information about the selected subnets. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all subnets which are associated with any of the specified tags. A subnet is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the <command>null</command> value in the <command>server-tags</command> list, the response contains all subnets which are assigned to no servers (unassigned)."
- "brief": "This command is used to create or replace an IPv4 subnet the configuration database.",
- "support": [ "kea-dhcp4" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to create or replace an IPv4 subnet the configuration database."
+ ],
+ "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. The <command>server-tags</command> list is mandatory and it must contain one or more server tags as strings to explicitly associate the subnet with one or more user defined servers. It may include the special server tag \"all\" to associate the subnet with all servers."
- \"server-tags\": [ <first server tag>, <second server tag>, ... ]
- }
-}",
- "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. The <command>server-tags</command> list is mandatory and it must contain one or more server tags as strings to explicitly associate the subnet with one or more user defined servers. It may include the special server tag \"all\" to associate the subnet with all servers.",
- "brief": "This command is used to delete an IPv6 subnet by ID from the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to delete an IPv6 subnet by ID from the configuration database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one id of the subnet to be deleted. The <command>server-tags</command> parameter must not be specified for this command."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-subnet6-del-by-id\",",
+ " \"arguments\": {",
+ " \"subnets\": [",
+ " {",
+ " \"id\": <subnet identifier>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"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. The <command>server-tags</command> parameter must not be specified for this command.",
- "brief": "This command is used to delete an IPv6 subnet by prefix from the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to delete an IPv6 subnet by prefix from the configuration database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one prefix of the subnet to be deleted. The <command>server-tags</command> parameter must not be specified for this command."
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"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. The <command>server-tags</command> parameter must not be specified for this command.",
- "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",
+ "brief": [
+ "This command is used to fetch selected IPv6 subnet by ID for the server from the configuration database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one id of the subnet to be returned. The <command>server-tags</command> parameter must not be specified for this command."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-subnet6-get-by-id\"",
+ " \"arguments\": {",
+ " \"subnets\": [",
+ " {",
+ " \"id\": <subnet identifier>",
+ " }",
+ " ],",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"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. The <command>server-tags</command> parameter must not be specified for this command.",
- \"server-tags\": [ <first server tag>, <second 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."
-}
+ "name": "remote-subnet6-get-by-id",
+ "resp-comment": [
+ "If the shared network name is null, it means that the returned subnet does not belong to any shared network (global subnet). The metadata is included in the returned subnet definition and it provides database specific information associated with the returned object."
- "brief": "This command is used to fetch selected IPv6 subnet by prefix from the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch selected IPv6 subnet by prefix from the configuration database."
+ ],
+ "cmd-comment": [
+ "This command includes a list with exactly one prefix of the subnet to be returned. The <command>server-tags</command> parameter must not be specified for this command."
+ " <specification of the database to connect to>",
+ " }",
+ " }",
+ "}"
+ ],
"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. The <command>server-tags</command> parameter must not be specified for this command.",
- \"server-tags\": [ <first server tag>, <second 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."
-}
+ "name": "remote-subnet6-get-by-prefix",
+ "resp-comment": [
+ "If the shared network name is null, it means that the returned subnet does not belong to any shared network (global subnet). The metadata is included in the returned subnet definition and it provides database specific information associated with the returned object."
- "brief": "This command is used to fetch a list of all IPv6 subnets from the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to fetch a list of all IPv6 subnets from the configuration database."
+ ],
+ "cmd-comment": [
+ "The <command>server-tags</command> list is required for this command. This list must not be empty. It may either contain one or multiple server tags as strings or a single <command>null</command> value."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"remote-subnet6-list\"",
+ " \"arguments\": {",
+ " \"remote\": {",
+ " <specification of the database to connect to>",
+ " },",
+ " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " }",
+ "}"
+ ],
"hook": "cb_cmds",
- "cmd-syntax": "{
- \"command\": \"remote-subnet6-list\"
- \"arguments\": {
- \"remote\": {
- <specification of the database to connect to>
- },
- \"server-tags\": [ <first server tag>, <second server tag>, ... ]
- }
-}",
- "cmd-comment": "The <command>server-tags</command> list is required for this command. This list must not be empty. It may either contain one or multiple server tags as strings or a single <command>null</command> value.",
- "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. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all subnets which are associated with any of the specified tags. A subnet is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the <command>null</command> value in the <command>server-tags</command> list, the response contains all subnets which are assigned to no servers (unassigned)."
-}
+ "name": "remote-subnet6-list",
+ "resp-comment": [
+ "The returned response contains a list of maps. Each map contains a subnet identifier, prefix and shared network name to which the subnet belongs. If the subnet does not belong to a shared netork the name is null. The metadata includes database specific information associated with the subnets. The returned list does not contain full subnet definitions. Use <command>remote-subnet6-get</command> to fetch the full information about the selected subnets. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all subnets which are associated with any of the specified tags. A subnet is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the <command>null</command> value in the <command>server-tags</command> list, the response contains all subnets which are assigned to no servers (unassigned)."
- "brief": "This command is used to create or replace an IPv6 subnet the configuration database.",
- "support": [ "kea-dhcp6" ],
"avail": "1.6.0",
+ "brief": [
+ "This command is used to create or replace an IPv6 subnet the configuration database."
+ ],
+ "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. The <command>server-tags</command> list is mandatory and it must contain one or more server tags as strings to explicitly associate the subnet with one or more user defined servers. It may include the special server tag \"all\" to associate the subnet with all servers."
- \"server-tags\": [ <first server tag>, <second server tag>, ... ]
- }
-}",
- "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. The <command>server-tags</command> list is mandatory and it must contain one or more server tags as strings to explicitly associate the subnet with one or more user defined servers. It may include the special server tag \"all\" to associate the subnet with all servers.",
- "brief": "Deletes an existing host reservation.",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
- "hook": "host_cmds",
"avail": "1.2.0",
-
- "cmd-syntax": "{
- \"command\": \"reservation-del\",
- \"arguments\": {
- \"subnet-id\": <integer>,
- \"ip-address\": <string>,
- \"identifier-type\": <one of \"hw-address\", \"duid\", \"circuit-id\", \"client-id\" and \"flex-id\">,
- \"identifier\": <string>
- }
-}",
- "cmd-comment": "The host reservation can be identified by either (subnet-id, ip-address) pair or a triplet of (subnet-id, identifier-type, identifier)."
-}
+ "brief": [
+ "Deletes an existing host reservation."
+ ],
+ "cmd-comment": [
+ "The host reservation can be identified by either (subnet-id, ip-address) pair or a triplet of (subnet-id, identifier-type, identifier)."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"reservation-del\",",
+ " \"arguments\": {",
+ " \"subnet-id\": <integer>,",
+ " \"ip-address\": <string>,",
+ " \"identifier-type\": <one of \"hw-address\", \"duid\", \"circuit-id\", \"client-id\" and \"flex-id\">,",
- "brief": "Retrieve host reservations for a specified subnet by page.",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
- "hook": "host_cmds",
"avail": "1.6.0",
-
- "cmd-syntax": "{
- \"command\": \"reservation-get-page\",
- \"arguments\": {
- \"subnet-id\": <integer>,
- \"limit\": <integer>,
- \"source-index\": <integer>,
- \"from\": <integer>
- }
-}",
- "cmd-comment": "the subnet id and the page size limit are mandatory. The source index and from host id are optional and default to 0. Values to use to next the next page are returned in responses in a next map."
-}
+ "brief": [
+ "Retrieve host reservations for a specified subnet by page."
+ ],
+ "cmd-comment": [
+ "the subnet id and the page size limit are mandatory. The source index and from host id are optional and default to 0. Values to use to next the next page are returned in responses in a next map."
- "brief": "Attempts to retrieve an existing host reservation",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
- "hook": "host_cmds",
"avail": "1.2.0",
-
- "cmd-syntax": "{
- \"command\": \"reservation-get\",
- \"arguments\": {
- \"subnet-id\": <integer>,
- \"identifier-type\": <string with one value out of: hw-address|duid|circuit-id|client-id|flex-id>,
- \"identifier\": <string>;
- }
-}",
-
- "cmd-comment": "The host reservation can be identified by either (subnet-id, ip-address) pair or a triplet of (subnet-id, identifier-type, identifier).",
- "brief": "The statistic-get-all command retrieves all statistics recorded.",
- "description": "See <xref linkend=\"command-statistic-get-all\"/>",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.0.0",
- "cmd-syntax": "{
- \"command\": \"statistic-get-all\",
- \"arguments\": { }
-}",
- "cmd-comment": "The server will respond with details of all recorded statistics, with result set to 0 indicating that it iterated over all statistics (even when the total number of statistics is zero)."
-}
+ "brief": [
+ "The statistic-get-all command retrieves all statistics recorded."
+ ],
+ "cmd-comment": [
+ "The server will respond with details of all recorded statistics, with result set to 0 indicating that it iterated over all statistics (even when the total number of statistics is zero)."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"statistic-get-all\",",
+ " \"arguments\": { }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-statistic-get-all\"/>",
- "brief": "The statistic-get command retrieves a single statistic. It takes a single string parameter called name that specifies the statistic name.",
- "description": "See <xref linkend=\"command-statistic-get\"/>",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.0.0",
- "cmd-syntax": "{
- \"command\": \"statistic-get\",
- \"arguments\": {
- \"name\": \"pkt4-received\"
- }
-}",
- "cmd-comment": "The server will respond with details of the requested statistic, with a result set to 0 indicating success and the specified statistic as the value of the \"arguments\" parameter."
-}
+ "brief": [
+ "The statistic-get command retrieves a single statistic. It takes a single string parameter called name that specifies the statistic name."
+ ],
+ "cmd-comment": [
+ "The server will respond with details of the requested statistic, with a result set to 0 indicating success and the specified statistic as the value of the \"arguments\" parameter."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"statistic-get\",",
+ " \"arguments\": {",
+ " \"name\": \"pkt4-received\"",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-statistic-get\"/>",
- "brief": "The statistic-remove-all command attempts to delete all statistics.",
- "description": "See <xref linkend=\"command-statistic-remove-all\"/>",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.0.0",
- "cmd-syntax": "{
- \"command\": \"statistic-remove-all\",
- \"arguments\": { }
-}",
- "cmd-comment": "If the removal of all statistics was successful, the server will respond with a status of 0, indicating success and an empty parameters field. If an error is encountered, the server will return a status code of 1 (error) and the text field will contain the error description."
-}
+ "brief": [
+ "The statistic-remove-all command attempts to delete all statistics."
+ ],
+ "cmd-comment": [
+ "If the removal of all statistics was successful, the server will respond with a status of 0, indicating success and an empty parameters field. If an error is encountered, the server will return a status code of 1 (error) and the text field will contain the error description."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"statistic-remove-all\",",
+ " \"arguments\": { }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-statistic-remove-all\"/>",
- "brief": "The statistic-remove command attempts to delete a single statistic. It takes a single string parameter called name that specifies the statistic name.",
- "description": "See <xref linkend=\"command-statistic-remove\"/>",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.0.0",
- "cmd-syntax": "{
- \"command\": \"statistic-remove\",
- \"arguments\": {
- \"name\": \"pkt4-received\"
- }
-}",
- "cmd-comment": "If the specific statistic is found and its removal was successful, the server will respond with a status of 0, indicating success and an empty parameters field. If an error is encountered (e.g. requested statistic was not found), the server will return a status code of 1 (error) and the text field will contain the error description."
-}
+ "brief": [
+ "The statistic-remove command attempts to delete a single statistic. It takes a single string parameter called name that specifies the statistic name."
+ ],
+ "cmd-comment": [
+ "If the specific statistic is found and its removal was successful, the server will respond with a status of 0, indicating success and an empty parameters field. If an error is encountered (e.g. requested statistic was not found), the server will return a status code of 1 (error) and the text field will contain the error description."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"statistic-remove\",",
+ " \"arguments\": {",
+ " \"name\": \"pkt4-received\"",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-statistic-remove\"/>",
- "brief": "The statistic-reset command sets all statistics to their neutral values: 0 for integer, 0.0 for float, 0h0m0s0us for time duration and \"\" for string type.",
- "description": "See <xref linkend=\"command-statistic-reset-all\"/>",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.0.0",
- "cmd-syntax": "{
- \"command\": \"statistic-reset-all\",
- \"arguments\": { }
-}",
- "cmd-comment": "If the operation is successful, the server will respond with a status of 0, indicating success and an empty parameters field. If an error is encountered, the server will return a status code of 1 (error) and the text field will contain the error description."
-}
+ "brief": [
+ "The statistic-reset command sets all statistics to their neutral values: 0 for integer, 0.0 for float, 0h0m0s0us for time duration and \"\" for string type."
+ ],
+ "cmd-comment": [
+ "If the operation is successful, the server will respond with a status of 0, indicating success and an empty parameters field. If an error is encountered, the server will return a status code of 1 (error) and the text field will contain the error description."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"statistic-reset-all\",",
+ " \"arguments\": { }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-statistic-reset-all\"/>",
- "brief": "The statistic-reset command sets the specified statistic to its neutral value: 0 for integer, 0.0 for float, 0h0m0s0us for time duration and \"\" for string type. It takes a single string parameter called name that specifies the statistic name.",
- "description": "See <xref linkend=\"command-statistic-reset\"/>",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.0.0",
- "cmd-syntax": "{
- \"command\": \"statistic-reset\",
- \"arguments\": {
- \"name\": \"pkt4-received\"
- }
-}",
- "cmd-comment": "If the specific statistic is found and reset was successful, the server will respond with a status of 0, indicating success and an empty parameters field. If an error is encountered (e.g. requested statistic was not found), the server will return a status code of 1 (error) and the text field will contain the error description."
-}
+ "brief": [
+ "The statistic-reset command sets the specified statistic to its neutral value: 0 for integer, 0.0 for float, 0h0m0s0us for time duration and \"\" for string type. It takes a single string parameter called name that specifies the statistic name."
+ ],
+ "cmd-comment": [
+ "If the specific statistic is found and reset was successful, the server will respond with a status of 0, indicating success and an empty parameters field. If an error is encountered (e.g. requested statistic was not found), the server will return a status code of 1 (error) and the text field will contain the error description."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"statistic-reset\",",
+ " \"arguments\": {",
+ " \"name\": \"pkt4-received\"",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-statistic-reset\"/>",
- "brief": "The statistic-sample-age-set-all command sets time based limit for all statistics. It takes a single integer parameter called duration.",
- "description": "See <xref linkend=\"command-statistic-sample-age-set-all\"/>",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.6.0",
- "cmd-syntax": "{
- \"command\": \"statistic-sample-age-set-all\",
- \"arguments\": {
- \"duration\": 1245
- }
-}",
- "cmd-comment": "The server will respond with message about successfully set limits for all statistics, with a result set to 0 indicating success and an empty parameters field. If an error is encountered, the server will return a status code of 1 (error) and the text field will contain the error description."
-}
+ "brief": [
+ "The statistic-sample-age-set-all command sets time based limit for all statistics. It takes a single integer parameter called duration."
+ ],
+ "cmd-comment": [
+ "The server will respond with message about successfully set limits for all statistics, with a result set to 0 indicating success and an empty parameters field. If an error is encountered, the server will return a status code of 1 (error) and the text field will contain the error description."
- "brief": "The statistic-sample-age-set command sets time based limit for single statistic. It takes two parameters: a string called name and an integer value called duration.",
- "description": "See <xref linkend=\"command-statistic-sample-age-set\"/>",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.6.0",
- "cmd-syntax": "{
- \"command\": \"statistic-sample-age-set\",
- \"arguments\": {
- \"name\": \"pkt4-received\",
- \"duration\": 1245
- }
-}",
- "cmd-comment": "The server will respond with message about successfully set limit for the given statistic, with a result set to 0 indicating success and an empty parameters field. If an error is encountered (e.g. requested statistic was not found), the server will return a status code of 1 (error) and the text field will contain the error description."
-}
+ "brief": [
+ "The statistic-sample-age-set command sets time based limit for single statistic. It takes two parameters: a string called name and an integer value called duration."
+ ],
+ "cmd-comment": [
+ "The server will respond with message about successfully set limit for the given statistic, with a result set to 0 indicating success and an empty parameters field. If an error is encountered (e.g. requested statistic was not found), the server will return a status code of 1 (error) and the text field will contain the error description."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"statistic-sample-age-set\",",
+ " \"arguments\": {",
+ " \"name\": \"pkt4-received\",",
+ " \"duration\": 1245",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-statistic-sample-age-set\"/>",
- "brief": "The statistic-sample-count-set-all command sets size based limit for all statistics. It takes a single integer parameter called max-samples.",
- "description": "See <xref linkend=\"command-statistic-sample-count-set-all\"/>",
- "cmd-comment": "The server will respond with message about successfully set limits for all statistics, with a result set to 0 indicating success and an empty parameters field. If an error is encountered, the server will return a status code of 1 (error) and the text field will contain the error description."
-}
+ "brief": [
+ "The statistic-sample-count-set-all command sets size based limit for all statistics. It takes a single integer parameter called max-samples."
+ ],
+ "cmd-comment": [
+ "The server will respond with message about successfully set limits for all statistics, with a result set to 0 indicating success and an empty parameters field. If an error is encountered, the server will return a status code of 1 (error) and the text field will contain the error description."
- "brief": "The statistic-sample-count-set command sets size based limit for single statistic. It takes two parameters: a string called name and an integer value called max-samples.",
- "description": "See <xref linkend=\"command-statistic-sample-count-set\"/>",
- "support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.6.0",
- "cmd-syntax": "{
- \"command\": \"statistic-sample-count-set\",
- \"arguments\": {
- \"name\": \"pkt4-received\",
- \"max-samples\": 100
- }
-}",
- "cmd-comment": "The server will respond with message about successfully set limit for the given statistic, with a result set to 0 indicating success and an empty parameters field. If an error is encountered (e.g. requested statistic was not found), the server will return a status code of 1 (error) and the text field will contain the error description."
-}
+ "brief": [
+ "The statistic-sample-count-set command sets size based limit for single statistic. It takes two parameters: a string called name and an integer value called max-samples."
+ ],
+ "cmd-comment": [
+ "The server will respond with message about successfully set limit for the given statistic, with a result set to 0 indicating success and an empty parameters field. If an error is encountered (e.g. requested statistic was not found), the server will return a status code of 1 (error) and the text field will contain the error description."
- "brief": "This command is used to remove a subnet from the server's configuration. This command has no effect on other configured subnets but removing a subnet has certain implications which the server's administrator should be aware of.",
- "description": "See <xref linkend=\"idp71\"/>",
- "support": [ "kea-dhcp4"],
"avail": "1.3.0",
+ "brief": [
+ "This command is used to remove a subnet from the server's configuration. This command has no effect on other configured subnets but removing a subnet has certain implications which the server's administrator should be aware of."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet4-del\",",
+ " \"arguments\": {",
+ " \"id\": 123",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp71\"/>",
"hook": "subnet_cmds",
- "cmd-syntax": "{
- \"command\": \"subnet4-del\",
- \"arguments\": {
- \"id\": 123
- }
-}",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"IPv4 subnet 192.0.2.0/24 (id 123) deleted\",
- \"arguments\": {
- \"subnets\": [
- {
- \"id\": 123,
- \"subnet\": \"192.0.2.0/24\"
- }
- ]
- }
-}"
-}
+ "name": "subnet4-del",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv4 subnet 192.0.2.0/24 (id 123) deleted\",",
- "brief": "This command is used to retrieve detailed information about the specified subnet. This command usually follows the subnet4-list, which is used to discover available subnets with their respective subnet identifiers and prefixes.",
- "description": "See <xref linkend=\"idp67\"/>",
- "support": [ "kea-dhcp4" ],
"avail": "1.3.0",
+ "brief": [
+ "This command is used to retrieve detailed information about the specified subnet. This command usually follows the subnet4-list, which is used to discover available subnets with their respective subnet identifiers and prefixes."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet4-get\",",
+ " \"arguments\": {",
+ " \"id\": 10",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp67\"/>",
"hook": "subnet_cmds",
- "cmd-syntax": "{
- \"command\": \"subnet4-get\",
- \"arguments\": {
- \"id\": 10
- }
-}",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"Info about IPv4 subnet 10.0.0.0/8 (id 10) returned\",
- \"arguments\": {
- \"subnets\": [
- {
- \"subnet\": \"10.0.0.0/8\",
- \"id\": 1,
- \"option-data\": [
- ....
- ]
- ...
- }
- ]
- }
-}"
-}
+ "name": "subnet4-get",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"Info about IPv4 subnet 10.0.0.0/8 (id 10) returned\",",
- "brief": "This command is used to list all currently configured subnets. The subnets are returned in a brief form, i.e. a subnet identifier and subnet prefix is included for each subnet.",
- "description": "See <xref linkend=\"idp65\"/>",
- "support": [ "kea-dhcp4"],
"avail": "1.3.0",
+ "brief": [
+ "This command is used to list all currently configured subnets. The subnets are returned in a brief form, i.e. a subnet identifier and subnet prefix is included for each subnet."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet4-list\"",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp65\"/>",
"hook": "subnet_cmds",
- "cmd-syntax": "{
- \"command\": \"subnet4-list\"
-}",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"2 IPv4 subnets found\",
- \"arguments\": {
- \"subnets\": [
- {
- \"id\": 10,
- \"subnet\": \"10.0.0.0/8\"
- },
- {
- \"id\": 100,
- \"subnet\": \"192.0.2.0/24\"
- }
+ "name": "subnet4-list",
+ "resp-comment": [
+ "If no IPv4 subnets are found, an error code is returned along with the error description."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"2 IPv4 subnets found\",",
+ " \"arguments\": {",
+ " \"subnets\": [",
+ " {",
+ " \"id\": 10,",
+ " \"subnet\": \"10.0.0.0/8\"",
+ " },",
+ " {",
+ " \"id\": 100,",
+ " \"subnet\": \"192.0.2.0/24\"",
+ " }",
+ " ]",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp4"
]
-}",
- "resp-comment": "If no IPv4 subnets are found, an error code is returned along with the error description."
- "brief": "This command is used to remove a subnet from the server's configuration. This command has no effect on other configured subnets but removing a subnet has certain implications which the server's administrator should be aware of.",
- "description": "See <xref linkend=\"idp72\"/>",
- "support": [ "kea-dhcp6" ],
"avail": "1.3.0",
+ "brief": [
+ "This command is used to remove a subnet from the server's configuration. This command has no effect on other configured subnets but removing a subnet has certain implications which the server's administrator should be aware of."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet6-del\",",
+ " \"arguments\": {",
+ " \"id\": 234",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp72\"/>",
"hook": "subnet_cmds",
- "cmd-syntax": "{
- \"command\": \"subnet6-del\",
- \"arguments\": {
- \"id\": 234
- }
-}",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"IPv6 subnet 2001:db8:1::/64 (id 234) deleted\",
- \"subnets\": [
- {
- \"id\": 234,
- \"subnet\": \"2001:db8:1::/64\"
- }
+ "name": "subnet6-del",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv6 subnet 2001:db8:1::/64 (id 234) deleted\",",
- "brief": "This command is used to retrieve detailed information about the specified subnet. This command usually follows the subnet6-list, which is used to discover available subnets with their respective subnet identifiers and prefixes.",
- "description": "See <xref linkend=\"idp68\"/>",
- "support": [ "kea-dhcp6" ],
"avail": "1.3.0",
+ "brief": [
+ "This command is used to retrieve detailed information about the specified subnet. This command usually follows the subnet6-list, which is used to discover available subnets with their respective subnet identifiers and prefixes."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet6-get\",",
+ " \"arguments\": {",
+ " \"id\": 11",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp68\"/>",
"hook": "subnet_cmds",
- "cmd-syntax": "{
- \"command\": \"subnet6-get\",
- \"arguments\": {
- \"id\": 11
- }
-}",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"Info about IPv6 subnet 2001:db8:1::/64 (id 11) returned\",
- \"arguments\": {
- \"subnets\": [
- {
- \"subnet\": \"2001:db8:1::/64\",
- \"id\": 1,
- \"option-data\": [
- ...
- ]
- ....
- }
- ]
- }
-}"
-}
+ "name": "subnet6-get",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"Info about IPv6 subnet 2001:db8:1::/64 (id 11) returned\",",
- "brief": "This command is used to list all currently configured subnets. The subnets are returned in a brief form, i.e. a subnet identifier and subnet prefix is included for each subnet.",
- "description": "See <xref linkend=\"idp66\"/>",
- "support": [ "kea-dhcp6" ],
"avail": "1.3.0",
+ "brief": [
+ "This command is used to list all currently configured subnets. The subnets are returned in a brief form, i.e. a subnet identifier and subnet prefix is included for each subnet."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet6-list\"",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp66\"/>",
"hook": "subnet_cmds",
- "cmd-syntax": "{
- \"command\": \"subnet6-list\"
-}",
- "resp-syntax": "{
- \"result\": 0,
- \"text\": \"2 IPv6 subnets found\",
- \"arguments\": {
- \"subnets\": [
- {
- \"id\": 11,
- \"subnet\": \"2001:db8:1::/64\"
- },
- {
- \"id\": 233,
- \"subnet\": \"3000::/16\"
- }
+ "name": "subnet6-list",
+ "resp-comment": [
+ "If no IPv6 subnets are found, an error code is returned along with the error description."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"2 IPv6 subnets found\",",
+ " \"arguments\": {",
+ " \"subnets\": [",
+ " {",
+ " \"id\": 11,",
+ " \"subnet\": \"2001:db8:1::/64\"",
+ " },",
+ " {",
+ " \"id\": 233,",
+ " \"subnet\": \"3000::/16\"",
+ " }",
+ " ]",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp6"
]
-}",
- "resp-comment": "If no IPv6 subnets are found, an error code is returned along with the error description."