Skip to content

Commit 53f571b

Browse files
author
Razvan Becheriu
committed
[#2959] addressed comments
1 parent 6671e30 commit 53f571b

File tree

3 files changed

+24
-20
lines changed

3 files changed

+24
-20
lines changed

Diff for: ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2239. [func]* razvan
2+
Removed deprecated parameter: "reservation-mode".
3+
(Gitlab #2959)
4+
15
2238. [func]* razvan
26
Removed the following deprecated parameters from "dhcp-ddns"
37
global element: "generated-prefix", "qualifying-suffix",

Diff for: doc/sphinx/arm/dhcp4-srv.rst

+10-10
Original file line numberDiff line numberDiff line change
@@ -5324,32 +5324,32 @@ allocating or renewing a lease for the client.
53245324

53255325
Configuration flags are:
53265326

5327-
- ``reservations-in-subnet`` - when set to true, it enables in-pool host
5327+
- ``reservations-in-subnet`` - when set to ``true``, it enables in-pool host
53285328
reservation types. This setting is the default value, and is the safest and
53295329
most flexible. However, as all checks are conducted, it is also the slowest.
5330-
It does not check against global reservations. This flag defaults to true.
5330+
It does not check against global reservations. This flag defaults to ``true``.
53315331

5332-
- ``reservations-out-of-pool`` - when set to true, it allows only out-of-pool
5332+
- ``reservations-out-of-pool`` - when set to ``true``, it allows only out-of-pool
53335333
host reservations. In this case the server assumes that all host reservations
53345334
are for addresses that do not belong to the dynamic pool. Therefore, it can
53355335
skip the reservation checks when dealing with in-pool addresses, thus
53365336
improving performance. Do not use this mode if any reservations use in-pool
53375337
addresses. Caution is advised when using this setting; Kea does not
53385338
sanity-check the reservations against ``reservations-out-of-pool`` and
5339-
misconfiguration may cause problems. This flag defaults to false.
5339+
misconfiguration may cause problems. This flag defaults to ``false``.
53405340

53415341
- ``reservations-global`` - allows global host reservations. With this setting
53425342
in place, the server searches for reservations for a client among the defined
53435343
global reservations. If an address is specified, the server skips the
53445344
reservation checks carried out in other modes, thus improving performance.
53455345
Caution is advised when using this setting; Kea does not sanity-check the
5346-
reservations when ``reservations-global`` is set, and misconfiguration may
5347-
cause problems. This flag defaults to false.
5346+
reservations when ``reservations-global`` is set to ``true``, and
5347+
misconfiguration may cause problems. This flag defaults to ``false``.
53485348

5349-
Note: disabling all flags disables host reservation support. As there are no
5350-
reservations, the server skips all checks. Any reservations defined are
5351-
completely ignored. As checks are skipped, the server may operate faster in
5352-
this mode.
5349+
Note: setting all flags to ``false`` disables host reservation support.
5350+
As there are no reservations, the server skips all checks. Any reservations
5351+
defined are completely ignored. As checks are skipped, the server may operate
5352+
faster in this mode.
53535353

53545354
Since Kea 1.9.1 the ``reservations-global``, ``reservations-in-subnet`` and
53555355
``reservations-out-of-pool`` flags are suported.

Diff for: doc/sphinx/arm/dhcp6-srv.rst

+10-10
Original file line numberDiff line numberDiff line change
@@ -4622,32 +4622,32 @@ allocating or renewing a lease for the client.
46224622

46234623
Configuration flags are:
46244624

4625-
- ``reservations-in-subnet`` - when set to true, it enables in-pool host
4625+
- ``reservations-in-subnet`` - when set to ``true``, it enables in-pool host
46264626
reservation types. This setting is the default value, and is the safest and
46274627
most flexible. However, as all checks are conducted, it is also the slowest.
4628-
It does not check against global reservations. This flag defaults to true.
4628+
It does not check against global reservations. This flag defaults to ``true``.
46294629

4630-
- ``reservations-out-of-pool`` - when set to true, it allows only out-of-pool
4630+
- ``reservations-out-of-pool`` - when set to ``true``, it allows only out-of-pool
46314631
host reservations. In this case the server assumes that all host reservations
46324632
are for addresses that do not belong to the dynamic pool. Therefore, it can
46334633
skip the reservation checks when dealing with in-pool addresses, thus
46344634
improving performance. Do not use this mode if any reservations use in-pool
46354635
addresses. Caution is advised when using this setting; Kea does not
46364636
sanity-check the reservations against ``reservations-out-of-pool`` and
4637-
misconfiguration may cause problems. This flag defaults to false.
4637+
misconfiguration may cause problems. This flag defaults to ``false``.
46384638

46394639
- ``reservations-global`` - allows global host reservations. With this setting
46404640
in place, the server searches for reservations for a client among the defined
46414641
global reservations. If an address is specified, the server skips the
46424642
reservation checks carried out in other modes, thus improving performance.
46434643
Caution is advised when using this setting; Kea does not sanity-check the
4644-
reservations when ``reservations-global`` is set, and misconfiguration may
4645-
cause problems. This flag defaults to false.
4644+
reservations when ``reservations-global`` is set to ``true``, and
4645+
misconfiguration may cause problems. This flag defaults to ``false``.
46464646

4647-
Note: disabling all flags disables host reservation support. As there are no
4648-
reservations, the server skips all checks. Any reservations defined are
4649-
completely ignored. As checks are skipped, the server may operate faster in
4650-
this mode.
4647+
Note: setting all flags to ``false`` disables host reservation support.
4648+
As there are no reservations, the server skips all checks. Any reservations
4649+
defined are completely ignored. As checks are skipped, the server may operate
4650+
faster in this mode.
46514651

46524652
Since Kea 1.9.1 the ``reservations-global``, ``reservations-in-subnet`` and
46534653
``reservations-out-of-pool`` flags are suported.

0 commit comments

Comments
 (0)