@@ -352,9 +352,9 @@ returned is roughly equal to the configuration that was loaded using the
352
352
:isccmd: `config-set ` command. However, there may be certain differences, as
353
353
comments are not retained. If the original configuration used file
354
354
inclusion, the returned configuration includes all parameters from
355
- all included files. Starting with 2.4.0, the successful response also
356
- contains a SHA-256 digest that can be used to easily determine if a
357
- configuration has changed or not .
355
+ all included files. In Kea 2.4.0 and later , the successful response also
356
+ contains a SHA-256 digest that can be used to easily determine whether a
357
+ configuration has changed.
358
358
359
359
.. warning ::
360
360
@@ -400,9 +400,9 @@ And the server's response:
400
400
}
401
401
}
402
402
403
- Starting with 2.4.0, also ``config-set `` and ``config-get `` return the SHA-256 hash
404
- of the new or current configuration. This may be used to later determine if a configuration
405
- has changed or not .
403
+ In Kea 2.4.0 and later, ``config-set `` and ``config-get `` also return the SHA-256 hash
404
+ of the new or current configuration. This may be used to determine whether a configuration
405
+ has changed.
406
406
407
407
.. isccmd :: config-reload
408
408
.. _command-config-reload :
@@ -414,9 +414,9 @@ The :isccmd:`config-reload` command instructs Kea to load again the
414
414
configuration file that was used previously. This operation is useful if
415
415
the configuration file has been changed by some external source; for
416
416
example, a system administrator can tweak the configuration file and use this
417
- command to force Kea pick up the changes.
417
+ command to force Kea to pick up the changes.
418
418
419
- Caution should be taken when mixing this with the :isccmd: `config-set ` command. Kea
419
+ Care should be taken when using this in conjunction with the :isccmd: `config-set ` command. Kea
420
420
remembers the location of the configuration file it was started with,
421
421
and this configuration can be significantly changed using the :isccmd: `config-set `
422
422
command. When :isccmd: `config-reload ` is issued after :isccmd: `config-set `, Kea attempts
@@ -550,7 +550,7 @@ loaded hook libraries. This is primarily intended to allow one or more
550
550
hook libraries to be replaced with newer versions, without requiring Kea
551
551
servers to be reconfigured or restarted. The hook libraries
552
552
are passed the same parameter values (if any) that were passed when they
553
- originally loaded.
553
+ were originally loaded.
554
554
555
555
::
556
556
@@ -643,9 +643,9 @@ string, ``text``, describing the outcome:
643
643
644
644
{"result": 1, "text": "unsupported parameter: BOGUS (<string>:16:26)" }
645
645
646
- Starting with 2.4.0, the successful response from a DHCPv4, DHCPv6, or DHCP-DDNS daemons
647
- also contain a SHA-256 digest of the newly set configuration. The digest can be used to easily
648
- determine if a configuration has changed or not .
646
+ In Kea 2.4.0 and later , the successful response from a DHCPv4, DHCPv6, or DHCP-DDNS daemon
647
+ also contains a SHA-256 digest of the newly set configuration. The digest can be used to easily
648
+ determine whether a configuration has changed.
649
649
650
650
.. isccmd :: shutdown
651
651
.. _command-shutdown :
@@ -654,7 +654,7 @@ The ``shutdown`` Command
654
654
------------------------
655
655
656
656
The :isccmd: `shutdown ` command instructs the server to initiate its shutdown
657
- procedure. It is the equivalent of sending a ``SIGTERM `` signal to the
657
+ procedure; it is the equivalent of sending a ``SIGTERM `` signal to the
658
658
process. This command does not take any arguments. An example command
659
659
may look like this:
660
660
@@ -714,24 +714,24 @@ if the :isccmd:`dhcp-enable` command is not sent before this time elapses.
714
714
Since Kea 1.9.4, there is an additional ``origin `` parameter that specifies the
715
715
command source. A server administrator should typically omit this parameter
716
716
because the default value "user" indicates that the administrator sent the
717
- command. In Kea 2.5.5 thru 2.5.7 this parameter was also used in communication
717
+ command. In Kea 2.5.5 through 2.5.7, this parameter was also used in communication
718
718
between the HA partners to specify the identifier of an HA service sending the command
719
- in a numeric format. However, due to the compatibility issues with the older
720
- Kea versions that did not properly parse the numeric values, it was necessary
719
+ in a numeric format. However, due to compatibility issues with older
720
+ Kea versions that did not properly parse numeric values, it was necessary
721
721
to introduce the new parameter, ``origin-id ``, in Kea 2.5.8.
722
722
723
723
It holds a numeric value representing the origin of the command. The same value
724
724
can still be passed using the ``origin `` parameter, but it can cause the
725
- aforementioned compatibility issues between the HA partners running different
726
- Kea versions. Therefore, new Kea versions favor using ``origin-id `` in communication
727
- between the HA partners. The ``origin `` parameter can still be used , but the
728
- `` origin-id `` takes precedence. Overall , it is recommended that both parameters be
729
- omitted from the user commands .
725
+ aforementioned compatibility issues between HA partners running different
726
+ Kea versions; if both are used, ``origin-id `` takes precedence. New Kea versions
727
+ favor using ``origin-id `` in communication between the HA partners , but
728
+ overall , it is recommended that both parameters be
729
+ omitted and the default value used .
730
730
731
731
The following codes represent the supported origins in numeric format:
732
732
733
- - ``1 `` - a user command, same as specifying ``"origin": "user" ``,
734
- - ``2000 ``, ``2001 ``, ``2002 `` etc. - origins specified by HA partners where
733
+ - ``1 `` - a user command; the same as specifying ``"origin": "user" ``.
734
+ - ``2000 ``, ``2001 ``, ``2002 ``, etc. - origins specified by HA partners where
735
735
the increments above ``2000 `` are distinct HA service identifiers used when
736
736
the partners have many relationships.
737
737
@@ -748,7 +748,7 @@ In the following example:
748
748
}
749
749
}
750
750
751
- the effective origin will be ``2002 `` which indicates it is an HA partner
751
+ the effective origin is ``2002 ``, which indicates it is an HA partner
752
752
sending the command for the service with ID of ``2 ``. The ``origin ``
753
753
parameter will be ignored in this case.
754
754
@@ -763,24 +763,23 @@ The :isccmd:`dhcp-enable` command globally enables the DHCP service.
763
763
Since Kea 1.9.4, there is an additional ``origin `` parameter that specifies the
764
764
command source. A server administrator should typically omit this parameter
765
765
because the default value "user" indicates that the administrator sent the
766
- command. In Kea 2.5.5 thru 2.5.7 this parameter was also used in communication
766
+ command. In Kea 2.5.5 through 2.5.7, this parameter was also used in communication
767
767
between the HA partners to specify the identifier of an HA service sending the command
768
- in a numeric format. However, due to the compatibility issues with the older
769
- Kea versions that did not properly parse the numeric values, it was necessary
768
+ in a numeric format. However, due to compatibility issues with older
769
+ Kea versions that did not properly parse numeric values, it was necessary
770
770
to introduce the new parameter, ``origin-id ``, in Kea 2.5.8.
771
771
772
772
It holds a numeric value representing the origin of the command. The same value
773
773
can still be passed using the ``origin `` parameter, but it can cause the
774
- aforementioned compatibility issues between the HA partners running different
775
- Kea versions. Therefore, new Kea versions favor using ``origin-id `` in communication
776
- between the HA partners. The ``origin `` parameter can still be used, but the
777
- ``origin-id `` takes precedence. Overall, it is recommended that both parameters be
778
- omitted from the user commands.
774
+ aforementioned compatibility issues between HA partners running different
775
+ Kea versions.; if both are used, ``origin-id `` takes precedence. New Kea versions
776
+ favor using ``origin-id `` in communication between the HA partners, but
777
+ overall, it is recommended that both
779
778
780
779
The following codes represent the supported origins in numeric format:
781
780
782
- - ``1 `` - a user command, same as specifying ``"origin": "user" ``,
783
- - ``2000 ``, ``2001 ``, ``2002 `` etc. - origins specified by HA partners where
781
+ - ``1 `` - a user command; the same as specifying ``"origin": "user" ``.
782
+ - ``2000 ``, ``2001 ``, ``2002 ``, etc. - origins specified by HA partners where
784
783
the increments above ``2000 `` are distinct HA service identifiers used when
785
784
the partners have many relationships.
786
785
@@ -796,7 +795,7 @@ In the following example:
796
795
}
797
796
}
798
797
799
- the effective origin will be ``2002 `` which indicates it is an HA partner
798
+ the effective origin is ``2002 ``, which indicates it is an HA partner
800
799
sending the command for the service with ID of ``2 ``. The ``origin ``
801
800
parameter will be ignored in this case.
802
801
@@ -880,7 +879,7 @@ The ``version-get`` Command
880
879
---------------------------
881
880
882
881
The :isccmd: `version-get ` command returns extended information about the Kea
883
- version. It is the same information available via the ``-V ``
882
+ version; it is the same information available via the ``-V ``
884
883
command-line argument. This command does not take any parameters.
885
884
886
885
::
0 commit comments