mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[#3773] updated documentation about delta-add commands
This commit is contained in:
@@ -620,6 +620,11 @@ that static host reservations cannot be specified within
|
||||
:isccmd:`subnet4-delta-add`. The commands described in :ref:`hooks-host-cmds` should
|
||||
be used to update, remove, and modify static reservations.
|
||||
|
||||
The command uses keys to identify the respective object. The keys can not be updated.
|
||||
Objects must first be deleted in order to add other objects with conflicting keys.
|
||||
The address pools are identified by the 'pool' parameter, the options are identified
|
||||
by the 'name' or 'code', and 'space' parameters.
|
||||
|
||||
::
|
||||
|
||||
{
|
||||
@@ -677,8 +682,8 @@ The response to this command has the following structure:
|
||||
|
||||
The command updates subnet "10.20.30.0/24" with id 123 by changing the valid
|
||||
lifetime, adding or changing the subnet level option 3 ("routers"), by adding
|
||||
or changing the pool "10.20.30.1-10.20.30.10" and by adding or changing the pool
|
||||
level option 4 ("time-servers").
|
||||
or changing parameters of the pool "10.20.30.1-10.20.30.10" and by adding or
|
||||
changing the pool level option 4 ("time-servers").
|
||||
|
||||
.. isccmd:: subnet6-delta-add
|
||||
.. _command-subnet6-delta-add:
|
||||
@@ -698,6 +703,12 @@ that static host reservations cannot be specified within
|
||||
:isccmd:`subnet6-delta-add`. The commands described in :ref:`hooks-host-cmds` should
|
||||
be used to update, remove, and modify static reservations.
|
||||
|
||||
The command uses keys to identify the respective object. The keys can not be updated.
|
||||
Objects must first be deleted in order to add other objects with conflicting keys.
|
||||
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.
|
||||
|
||||
::
|
||||
|
||||
{
|
||||
@@ -772,10 +783,10 @@ The response to this command has the following structure:
|
||||
|
||||
The command updates subnet "2001:db8:1::/64" with id 243 by changing the valid
|
||||
lifetime, adding or changing the subnet level option 23 ("dns-servers"), by
|
||||
adding or changing the pool "2001:db8:1::1-2001:db8:1::10", by adding or
|
||||
changing the pool level option 31 ("sntp-servers"), by adding or changing the
|
||||
pd-pool "2001:db8:2::" with prefix-len 48 and by adding or changing the pd-pool
|
||||
level option 22 ("sip-server-addr").
|
||||
adding or changing parameters of the pool "2001:db8:1::1-2001:db8:1::10", by
|
||||
adding or changing the pool level option 31 ("sntp-servers"), by adding or
|
||||
changing parameters of the pd-pool "2001:db8:2::" with prefix-len 48 and by adding
|
||||
or changing the pd-pool level option 22 ("sip-server-addr").
|
||||
|
||||
.. isccmd:: subnet4-delta-del
|
||||
.. _command-subnet4-delta-del:
|
||||
@@ -798,7 +809,7 @@ 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
|
||||
'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.
|
||||
|
||||
@@ -875,9 +886,9 @@ 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
|
||||
'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.
|
||||
|
||||
.. code-block:: json
|
||||
|
Reference in New Issue
Block a user