From: Razvan Becheriu Date: Thu, 8 Oct 2020 19:19:03 +0000 (+0300) Subject: [#1405] fixed documentation X-Git-Tag: Kea-1.9.2~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7666c4e25bfc91039bc7e5de9f2df8ceec7b31ec;p=thirdparty%2Fkea.git [#1405] fixed documentation --- diff --git a/doc/sphinx/arm/dhcp4-srv.rst b/doc/sphinx/arm/dhcp4-srv.rst index fde29ba960..1b8b8d7315 100644 --- a/doc/sphinx/arm/dhcp4-srv.rst +++ b/doc/sphinx/arm/dhcp4-srv.rst @@ -4594,6 +4594,7 @@ An example configuration that disables reservation looks as follows: ] } + An example configuration using global reservations is shown below: :: @@ -4631,43 +4632,68 @@ The correspondence of old values are: ``disabled``: +:: + + "Dhcp4": { + "reservation-modes": { "global": False, "in-subnet": False, "out-of-pool": False - }, + } + } ``global``: +:: + + "Dhcp4": { + "reservation-modes": { "global": True, "in-subnet": False, "out-of-pool": False - }, + } + } ``out-of-pool``: +:: + + "Dhcp4": { + "reservation-modes": { "global": False, "in-subnet": False, "out-of-pool": True - }, + } + } ``all``: +:: + + "Dhcp4": { + "reservation-modes": { "global": False, "in-subnet": True, "out-of-pool": True - }, + } + } To activate both ``global`` and ``all``, the following combination can be used: +:: + + "Dhcp4": { + "reservation-modes": { "global": True, "in-subnet": True, "out-of-pool": True - }, + } + } The parameter can be specified at global, subnet, and shared-network levels. @@ -4690,6 +4716,7 @@ An example configuration that disables reservation looks as follows: ] } + An example configuration using global reservations is shown below: :: diff --git a/doc/sphinx/arm/dhcp6-srv.rst b/doc/sphinx/arm/dhcp6-srv.rst index a9500e47b9..a8c0ca577c 100644 --- a/doc/sphinx/arm/dhcp6-srv.rst +++ b/doc/sphinx/arm/dhcp6-srv.rst @@ -4077,43 +4077,68 @@ The correspondence of old values are: ``disabled``: +:: + + "Dhcp6": { + "reservation-modes": { "global": False, "in-subnet": False, "out-of-pool": False - }, + } + } ``global``: +:: + + "Dhcp6": { + "reservation-modes": { "global": True, "in-subnet": False, "out-of-pool": False - }, + } + } ``out-of-pool``: +:: + + "Dhcp6": { + "reservation-modes": { "global": False, "in-subnet": False, "out-of-pool": True - }, + } + } ``all``: +:: + + "Dhcp6": { + "reservation-modes": { "global": False, "in-subnet": True, "out-of-pool": True - }, + } + } To activate both ``global`` and ``all``, the following combination can be used: +:: + + "Dhcp6": { + "reservation-modes": { "global": True, "in-subnet": True, "out-of-pool": True - }, + } + } The parameter can be specified at global, subnet, and shared-network levels.