src/share/api/status-get.json
src/share/api/subnet4-add.json
src/share/api/subnet4-del.json
+src/share/api/subnet4-delta-add.json
+src/share/api/subnet4-delta-del.json
src/share/api/subnet4-get.json
src/share/api/subnet4-list.json
src/share/api/subnet4-update.json
src/share/api/subnet6-add.json
src/share/api/subnet6-del.json
+src/share/api/subnet6-delta-add.json
+src/share/api/subnet6-delta-del.json
src/share/api/subnet6-get.json
src/share/api/subnet6-list.json
src/share/api/subnet6-update.json
- ``subnet4-del``/``subnet6-del`` - removes a subnet from the server's
configuration.
+- ``subnet4-delta-add``/``subnet6-delta-add`` - updates (replaces) parts of a
+ single subnet in the server's configuration.
+
+- ``subnet4-delta-del``/``subnet6-delta-del`` - removes parts of a single subnet in
+ the server's configuration.
+
- ``network4-list``/``network6-list`` - lists all configured shared networks.
- ``network4-get``/``network6-get`` - retrieves detailed information about a
]
}
+.. _command-subnet4-delta-add:
+
+The ``subnet4-delta-add`` Command
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+This command is used to update (overwrite) parts of a single subnet in the
+existing server configuration. This operation has no impact on other subnets.
+The subnet identifier is used to identify the subnet to update; it must be
+specified and must be unique among all subnets. The subnet prefix should
+not be updated.
+
+The subnet information within this command has the same structure as the
+subnet information in the server configuration file, with the exception
+that static host reservations cannot be specified within
+``subnet4-delta-add``. The commands described in :ref:`hooks-host-cmds` should be used
+to update, remove, and modify static reservations.
+
+::
+
+ {
+ "command": "subnet4-delta-add",
+ "arguments": {
+ "subnet4": [ {
+ ...
+ "id": 123,
+ "subnet": "10.20.30.0/24",
+ "option-data": [
+ ...
+ ],
+ "pools": [
+ ...
+ {
+ ...
+ "pool": "10.20.30.1-10.20.30.10",
+ "option-data": [
+ ...
+ ]
+ }
+ ]
+ } ]
+ }
+ }
+
+The response to this command has the following structure:
+
+::
+
+ {
+ "result": 0,
+ "text": "IPv4 subnet updated",
+ "arguments": {
+ "subnet4": [
+ {
+ "id": 123,
+ "subnet": "10.20.30.0/24"
+ }
+ ]
+ }
+ }
+
+.. _command-subnet6-delta-add:
+
+The ``subnet6-delta-add`` Command
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+This command is used to update (overwrite) parts of a single subnet in the
+existing server configuration. This operation has no impact on other subnets.
+The subnet identifier is used to identify the subnet to update; it must be
+specified and must be unique among all subnets. The subnet prefix should
+not be updated.
+
+The subnet information within this command has the same structure as the
+subnet information in the server configuration file, with the exception
+that static host reservations cannot be specified within
+``subnet6-delta-add``. The commands described in :ref:`hooks-host-cmds` should be used
+to update, remove, and modify static reservations.
+
+::
+
+ {
+ "command": "subnet6-delta-add",
+ "arguments": {
+ "subnet6": [ {
+ ...
+ "id": 243,
+ "subnet": "2001:db8:1::/64",
+ "option-data": [
+ ...
+ ],
+ "pd-pools": [
+ ...
+ {
+ ...
+ "prefix": "2001:db8:2::",
+ "prefix-len": 48,
+ "delegated-len": 64,
+ "option-data": [
+ ...
+ ]
+ }
+ ],
+ "pools": [
+ ...
+ {
+ ...
+ "pool": "2001:db8:1::1-2001:db8:1::10",
+ "option-data": [
+ ...
+ ]
+ }
+ ]
+ } ]
+ }
+ }
+
+The response to this command has the following structure:
+
+::
+
+ {
+ "result": 0,
+ "text": "IPv6 subnet updated",
+ "arguments": {
+ "subnet6": [
+ {
+ "id": 234,
+ "subnet": "2001:db8:1::/64"
+ }
+ ]
+ }
+ }
+
+.. _command-subnet4-delta-del:
+
+The ``subnet4-delta-del`` Command
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+This command is used to update (overwrite) parts of a single subnet in the
+existing server configuration. This operation has no impact on other subnets.
+The subnet identifier is used to identify the subnet to update; it must be
+specified and must be unique among all subnets. The subnet prefix should
+not be updated.
+
+The subnet information within this command has the same structure as the
+subnet information in the server configuration file, with the exception
+that static host reservations cannot be specified within
+``subnet4-delta-del``. The commands described in :ref:`hooks-host-cmds` should be used
+to update, remove, and modify static reservations.
+
+The command is flexible and can delete the part of the subnet by either
+specifying the entire object that needs to be deleted, or just the keys
+identifying the respective object. The address pools are identified by the
+'pool' parameter, the options are identified by the 'name' or 'code' and
+'space' parameters. The 'space' parameter can be omitted if the option belongs
+to the default 'dhcp4' space.
+
+::
+
+ {
+ "command": "subnet4-delta-del",
+ "arguments": {
+ "subnet4": [ {
+ ...
+ "id": 123,
+ "subnet": "10.20.30.0/24",
+ "option-data" [
+ ...
+ { "code": 23 },
+ { "code": 31 }
+ ]
+ "pools": [
+ ...
+ {
+ ...
+ "option-data": [
+ ...
+ { "code": 23 },
+ { "code": 31 }
+ ]
+ "pool": "10.20.30.11-10.20.30.20"
+ },
+ {
+ "pool": "10.20.30.21-10.20.30.30"
+ }
+ ]
+ } ]
+ }
+ }
+
+The response to this command has the following structure:
+
+::
+
+ {
+ "result": 0,
+ "text": "IPv4 subnet updated",
+ "arguments": {
+ "subnet4": [
+ {
+ "id": 123,
+ "subnet": "10.20.30.0/24"
+ }
+ ]
+ }
+ }
+
+.. _command-subnet6-delta-del:
+
+The ``subnet6-delta-del`` Command
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+This command is used to update (overwrite) parts of a single subnet in the
+existing server configuration. This operation has no impact on other subnets.
+The subnet identifier is used to identify the subnet to update; it must be
+specified and must be unique among all subnets. The subnet prefix should
+not be updated.
+
+The subnet information within this command has the same structure as the
+subnet information in the server configuration file, with the exception
+that static host reservations cannot be specified within
+``subnet6-delta-del``. The commands described in :ref:`hooks-host-cmds` should be used
+to update, remove, and modify static reservations.
+
+The command is flexible and can delete the part of the subnet by either
+specifying the entire object that needs to be deleted, or just the keys
+identifying the respective object. The address pools are identified by the
+'pool' parameter, the prefix pools are identified by the "prefix", "prefix-len"
+and "delegated-len" parameters, the options are identified by the 'name' or
+'code' and 'space' parameters. The 'space' parameter can be omitted if the
+option belongs to the default 'dhcp6' space.
+
+::
+
+ {
+ "command": "subnet6-delta-del",
+ "arguments": {
+ "subnet6": [ {
+ ...
+ "id": 234,
+ "subnet": "2001:db8:1::/64",
+ "option-data" [
+ ...
+ { "code": 23 },
+ { "code": 31 }
+ ]
+ "pd-pools": [
+ ...
+ {
+ ...
+ "prefix": "2001:db8:3::",
+ "prefix-len": 48,
+ "delegated-len": 64,
+ "option-data": [
+ ...
+ { "code": 23 },
+ { "code": 31 }
+ ]
+ },
+ {
+ "prefix": "2001:db8:4::",
+ "prefix-len": 48,
+ "delegated-len": 64,
+ }
+ ],
+ "pools": [
+ ...
+ {
+ ...
+ "option-data": [
+ ...
+ { "code": 23 },
+ { "code": 31 }
+ ]
+ "pool": "2001:db8:1::11-2001:db8:1::20"
+ },
+ {
+ "pool": "2001:db8:1::21-2001:db8:1::30"
+ }
+ ]
+ } ]
+ }
+ }
+
+The response to this command has the following structure:
+
+::
+
+ {
+ "result": 0,
+ "text": "IPv6 subnet updated",
+ "arguments": {
+ "subnet6": [
+ {
+ "id": 234,
+ "subnet": "2001:db8:1::/64"
+ }
+ ]
+ }
+ }
+
.. _command-network4-list:
.. _command-network6-list:
"text": "2 IPv4 network(s) found"
}
-``network6-list`` follows exactly the same syntax for both the query and
-the response.
+The ``network6-list`` command uses exactly the same syntax for both the
+command and the response.
.. _command-network4-get:
"text": "IPv4 subnet 10.0.0.0/8 (id 5) is now part of shared network 'floor13'"
}
-The ``network6-subnet-add`` command uses exactly the same syntax for
-both the command and the response.
+The ``network6-subnet-add`` command uses exactly the same syntax for both the
+command and the response.
.. note::
"text": "IPv4 subnet 10.0.0.0/8 (id 5) is now removed from shared network 'floor13'"
}
-The ``network6-subnet-del`` command uses exactly the same syntax for
-both the command and the response.
+The ``network6-subnet-del`` command uses exactly the same syntax for both the
+command and the response.
// if it is not an integer wrapped in a string.
int result;
try {
- result = boost::lexical_cast<int>(value_str);
+ result = boost::lexical_cast<int>(value_str);
} catch (const boost::bad_lexical_cast&) {
isc_throw(BadDataTypeCast, "unable to covert the value '"
isc_throw(OutOfRange, "");
}
len = static_cast<uint8_t>(val_len);
- } catch (...) {
+ } catch (...) {
isc_throw(DhcpConfigError, "Failed to parse pool "
"definition: " << txt << " ("
<< text_pool->getPosition() << ")");
try {
min = isc::asiolink::IOAddress(txt.substr(0, pos));
max = isc::asiolink::IOAddress(txt.substr(pos + 1));
- } catch (...) {
+ } catch (...) {
isc_throw(DhcpConfigError, "Failed to parse pool "
"definition: " << txt << " ("
<< text_pool->getPosition() << ")");
boost::shared_ptr<OptionDataListParser>
PoolParser::createOptionDataListParser(const uint16_t address_family) const {
- auto parser = boost::make_shared<OptionDataListParser>(address_family);
+ auto parser = boost::make_shared<OptionDataListParser>(address_family);
return (parser);
}
ConstElementPtr elem = params->get("subnet");
isc_throw(BadValue,
"Invalid prefix length specified for subnet: " << len
- << " (" << elem->getPosition() << ")");
+ << " (" << elem->getPosition() << ")");
}
// Call the subclass's method to instantiate the subnet
"D2ClientConfig error: address family mismatch: "
<< "server-ip: " << server_ip.toText()
<< " is: " << (server_ip.isV4() ? "IPv4" : "IPv6")
- << " while sender-ip: " << sender_ip.toText()
+ << " while sender-ip: " << sender_ip.toText()
<< " is: " << (sender_ip.isV4() ? "IPv4" : "IPv6")
<< " (" << getPosition("sender-ip", client_config) << ")");
}
max_queue_size,
ncr_protocol,
ncr_format));
- } catch (const std::exception& ex) {
+ } catch (const std::exception& ex) {
isc_throw(DhcpConfigError, ex.what() << " ("
<< client_config->getPosition() << ")");
}
bool check_iface_;
};
-/// @brief Parser for D2ClientConfig
+/// @brief Parser for D2ClientConfig
///
/// This class parses the configuration element "dhcp-ddns" common to the
/// config files for both dhcp4 and dhcp6. It creates an instance of a
/// D2ClientConfig.
-class D2ClientConfigParser : public isc::data::SimpleParser {
+class D2ClientConfigParser : public isc::data::SimpleParser {
public:
/// @brief Parses a given dhcp-ddns element into D2ClientConfig.
api_files += $(top_srcdir)/src/share/api/status-get.json
api_files += $(top_srcdir)/src/share/api/subnet4-add.json
api_files += $(top_srcdir)/src/share/api/subnet4-del.json
+api_files += $(top_srcdir)/src/share/api/subnet4-delta-add.json
+api_files += $(top_srcdir)/src/share/api/subnet4-delta-del.json
api_files += $(top_srcdir)/src/share/api/subnet4-get.json
api_files += $(top_srcdir)/src/share/api/subnet4-list.json
api_files += $(top_srcdir)/src/share/api/subnet4-update.json
api_files += $(top_srcdir)/src/share/api/subnet6-add.json
api_files += $(top_srcdir)/src/share/api/subnet6-del.json
+api_files += $(top_srcdir)/src/share/api/subnet6-delta-add.json
+api_files += $(top_srcdir)/src/share/api/subnet6-delta-del.json
api_files += $(top_srcdir)/src/share/api/subnet6-get.json
api_files += $(top_srcdir)/src/share/api/subnet6-list.json
api_files += $(top_srcdir)/src/share/api/subnet6-update.json
"name": "network4-del",
"resp-syntax": [
"{",
+ " \"command\": \"network4-del\",",
" \"arguments\": {",
" \"shared-networks\": [",
" {",
" {",
" \"subnet\": \"192.0.2.0/24\",",
" \"id\": 5,",
- " // many other subnet-specific details here",
+ " // many other subnet specific details here",
" },",
" {",
" \"subnet\": \"192.0.3.0/31\",",
" \"id\": 6,",
- " // many other subnet-specific details here",
+ " // many other subnet specific details here",
" }",
" ],",
" \"valid-lifetime\": 120",
"brief": [
"This command adds a new shared network."
],
- "cmd-comment": [
- "The ``network6-add`` command uses the same syntax as ``network4-add`` for both the query and the response. However, there are some parameters that are IPv4-only (e.g. match-client-id) and some that are IPv6-only (e.g. interface-id)."
- ],
"cmd-syntax": [
"{",
- " \"command\": \"network4-add\",",
+ " \"command\": \"network6-add\",",
" \"arguments\": {",
" \"shared-networks\": [ {",
" \"name\": \"floor13\",",
- " \"subnet4\": [",
+ " \"subnet6\": [",
" {",
" \"id\": 100,",
- " \"pools\": [ { \"pool\": \"192.0.2.2-192.0.2.99\" } ],",
- " \"subnet\": \"192.0.2.0/24\",",
+ " \"pools\": [ { \"pool\": \"2003:db8:1::1-2003:db8:1::ff\" } ],",
+ " \"subnet\": \"2003:db8:1::/64\",",
" \"option-data\": [",
" {",
- " \"name\": \"routers\",",
- " \"data\": \"192.0.2.1\"",
+ " \"name\": \"dns-servers\",",
+ " \"data\": \"2005:db8:1::1\"",
" }",
" ]",
" },",
" {",
" \"id\": 101,",
- " \"pools\": [ { \"pool\": \"192.0.3.2-192.0.3.99\" } ],",
- " \"subnet\": \"192.0.3.0/24\",",
+ " \"pools\": [ { \"pool\": \"2003:db8:2::1-2003:db8:2::ff\" } ],",
+ " \"subnet\": \"2003:db8:2::/64\",",
" \"option-data\": [",
" {",
- " \"name\": \"routers\",",
- " \"data\": \"192.0.3.1\"",
+ " \"name\": \"dns-servers\",",
+ " \"data\": \"2006:db8:1::1\"",
" }",
" ]",
" } ]",
" \"shared-networks\": [ { \"name\": \"floor13\" } ]",
" },",
" \"result\": 0,",
- " \"text\": \"A new IPv4 shared network 'floor13' added\"",
+ " \"text\": \"A new IPv6 shared network 'floor13' added\"",
"}"
],
"support": [
"brief": [
"This command deletes existing shared networks."
],
- "cmd-comment": [
- "The ``network6-del`` command uses exactly the same syntax as ``network4-del`` for",
- "both the query and the response."
- ],
"cmd-syntax": [
"{",
- " \"command\": \"network4-del\",",
+ " \"command\": \"network6-del\",",
" \"arguments\": {",
" \"name\": \"floor13\"",
" }",
"}"
],
- "description": "See <xref linkend=\"command-network6-del\"/>",
+ "description": "See <xref linkend=\"idp76\"/>",
"hook": "subnet_cmds",
"name": "network6-del",
"resp-syntax": [
"{",
- " \"command\": \"network4-del\",",
+ " \"command\": \"network6-del\",",
" \"arguments\": {",
- " \"name\": \"floor13\",",
- " \"subnets-action\": \"delete\"",
- " }",
+ " \"shared-networks\": [",
+ " {",
+ " \"name\": \"floor13\"",
+ " }",
+ " ]",
+ " },",
+ " \"result\": 0,",
+ " \"text\": \"IPv6 shared network 'floor13' deleted\"",
"}"
],
"support": [
"access": "read",
"avail": "1.3.0",
"brief": [
- "The network6-get command retrieves detailed information about shared networks, including subnets that are currently part of a given network."
+ "This command retrieves detailed information about shared networks, including subnets that are currently part of a given network."
],
"cmd-syntax": [
"{",
"resp-syntax": [
"{",
" \"result\": 0,",
- " \"text\": \"Info about IPv4 shared network 'floor13' returned\",",
+ " \"text\": \"Info about IPv6 shared network 'floor13' returned\",",
" \"arguments\": {",
" \"shared-networks\": [",
" {",
" \"option-data\": [ ],",
" \"rebind-timer\": 90,",
" \"relay\": {",
- " \"ip-address\": \"0.0.0.0\"",
+ " \"ip-address\": \"::\"",
" },",
" \"renew-timer\": 60,",
- " \"subnet4\": [",
+ " \"subnet6\": [",
" {",
- " \"subnet\": \"192.0.2.0/24\",",
+ " \"subnet\": \"2003:db8:1::/64\",",
" \"id\": 5,",
" // many other subnet specific details here",
" },",
" {",
- " \"subnet\": \"192.0.3.0/31\",",
+ " \"subnet\": \"2003:db8:2::/71\",",
" \"id\": 6,",
" // many other subnet specific details here",
" }",
"brief": [
"This command retrieves the full list of currently configured shared networks."
],
- "cmd-comment": [
- "The ``network6-list`` command uses exactly the same syntax as ``network4-list`` for both the query and the response."
- ],
"cmd-syntax": [
"{",
- " \"command\": \"network4-list\"",
+ " \"command\": \"network6-list\"",
"}"
],
"description": "See <xref linkend=\"command-network6-list\"/>",
" ]",
" },",
" \"result\": 0,",
- " \"text\": \"2 IPv4 network(s) found\"",
+ " \"text\": \"2 IPv6 network(s) found\"",
"}"
],
"support": [
"brief": [
"This command adds existing subnets to existing shared networks."
],
- "cmd-comment": [
- "The ``network6-subnet-add`` command uses exactly the same syntax as ``network4-subnet-add`` for both the query and the response."
- ],
"cmd-syntax": [
"{",
- " \"command\": \"network4-subnet-add\",",
+ " \"command\": \"network6-subnet-add\",",
" \"arguments\": {",
" \"name\": \"floor13\",",
" \"id\": 5",
"resp-syntax": [
"{",
" \"result\": 0,",
- " \"text\": \"IPv4 subnet 10.0.0.0/8 (id 5) is now part of shared network 'floor1'\"",
+ " \"text\": \"IPv6 subnet 2003:db8::/64 (id 5) is now part of shared network 'floor1'\"",
"}"
],
"support": [
"brief": [
"This command removes a subnet that is part of an existing shared network and demotes it to a plain, stand-alone subnet."
],
- "cmd-comment": [
- "The ``network6-subnet-del`` command uses exactly the same syntax as ``network4-subnet-del`` for both the query and the response."
- ],
"cmd-syntax": [
"{",
- " \"command\": \"network4-subnet-del\",",
+ " \"command\": \"network6-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'\"",
+ " \"text\": \"IPv6 subnet 2003:db8::/64 (id 5) is now removed from shared network 'floor13'\"",
"}"
],
"support": [
"{",
" \"command\": \"subnet4-add\",",
" \"arguments\": {",
- " \"subnets\": [ {",
+ " \"subnet4\": [ {",
" \"id\": 123,",
" \"subnet\": \"10.20.30.0/24\",",
" ...",
--- /dev/null
+{
+ "access": "write",
+ "avail": "2.1.7",
+ "brief": [
+ "This command updates (adds or overwrites) parts of a single subnet in the existing server configuration. This operation has no impact on other subnets."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet4-delta-add\",",
+ " \"arguments\": {",
+ " \"subnet4\": [ {",
+ " \"id\": 123,",
+ " \"subnet\": \"10.20.30.0/24\",",
+ " ...",
+ " } ]",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp69\"/>",
+ "hook": "subnet_cmds",
+ "name": "subnet4-delta-add",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv4 subnet updated\",",
+ " \"arguments\": {",
+ " \"subnets\": [",
+ " {",
+ " \"id\": 123,",
+ " \"subnet\": \"10.20.30.0/24\"",
+ " }",
+ " ]",
+ " }",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp4"
+ ]
+}
--- /dev/null
+{
+ "access": "write",
+ "avail": "2.1.7",
+ "brief": [
+ "This command updates (removes) parts of a single subnet in the existing server configuration. This operation has no impact on other subnets."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet4-delta-del\",",
+ " \"arguments\": {",
+ " \"subnet4\": [ {",
+ " \"id\": 123,",
+ " \"subnet\": \"10.20.30.0/24\",",
+ " ...",
+ " } ]",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp69\"/>",
+ "hook": "subnet_cmds",
+ "name": "subnet4-delta-del",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv4 subnet updated\",",
+ " \"arguments\": {",
+ " \"subnets\": [",
+ " {",
+ " \"id\": 123,",
+ " \"subnet\": \"10.20.30.0/24\"",
+ " }",
+ " ]",
+ " }",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp4"
+ ]
+}
"{",
" \"command\": \"subnet4-update\",",
" \"arguments\": {",
- " \"subnets\": [ {",
+ " \"subnet4\": [ {",
" \"id\": 123,",
" \"subnet\": \"10.20.30.0/24\",",
" ...",
" \"result\": 0,",
" \"text\": \"IPv6 subnet added\",",
" \"arguments\": {",
- " \"subnet6\": [",
+ " \"subnets\": [",
" {",
" \"id\": 234,",
" \"subnet\": \"2001:db8:1::/64\"",
--- /dev/null
+{
+ "access": "write",
+ "avail": "2.1.7",
+ "brief": [
+ "This command updates (adds or overwrites) parts of a single subnet in the existing server configuration. This operation has no impact on other subnets."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet6-delta-add\",",
+ " \"arguments\": {",
+ " \"subnet6\": [ {",
+ " \"id\": 234,",
+ " \"subnet\": \"2001:db8:1::/64\",",
+ " ...",
+ " } ]",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp70\"/>",
+ "hook": "subnet_cmds",
+ "name": "subnet6-delta-add",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv6 subnet updated\",",
+ " \"arguments\": {",
+ " \"subnets\": [",
+ " {",
+ " \"id\": 234,",
+ " \"subnet\": \"2001:db8:1::/64\"",
+ " }",
+ " ]",
+ " }",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp6"
+ ]
+}
--- /dev/null
+{
+ "access": "write",
+ "avail": "2.1.7",
+ "brief": [
+ "This command updates (removes) parts of a single subnet in the existing server configuration. This operation has no impact on other subnets."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet6-delta-del\",",
+ " \"arguments\": {",
+ " \"subnet6\": [ {",
+ " \"id\": 234,",
+ " \"subnet\": \"2001:db8:1::/64\",",
+ " ...",
+ " } ]",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp70\"/>",
+ "hook": "subnet_cmds",
+ "name": "subnet6-delta-del",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv6 subnet updated\",",
+ " \"arguments\": {",
+ " \"subnets\": [",
+ " {",
+ " \"id\": 234,",
+ " \"subnet\": \"2001:db8:1::/64\"",
+ " }",
+ " ]",
+ " }",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp6"
+ ]
+}
" \"result\": 0,",
" \"text\": \"IPv6 subnet updated\",",
" \"arguments\": {",
- " \"subnet6\": [",
+ " \"subnets\": [",
" {",
" \"id\": 234,",
" \"subnet\": \"2001:db8:1::/64\"",