2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[#2707] Changes after review:

- config-get API docs updated
 - ctrl-channel section not mentions hashes
This commit is contained in:
Tomek Mrugalski
2023-06-21 22:37:05 +02:00
parent 4d3ede2b25
commit fd3d1df33e
2 changed files with 15 additions and 1 deletions

View File

@@ -352,7 +352,9 @@ returned is roughly equal to the configuration that was loaded using the
:isccmd:`config-set` command. However, there may be certain differences, as
comments are not retained. If the original configuration used file
inclusion, the returned configuration includes all parameters from
all included files.
all included files. Starting with 2.4.0, the successful response also
contains a SHA-256 digest that can be used to easily determine if a
configuration has changed or not.
.. warning::
@@ -398,6 +400,10 @@ And the server's response:
}
}
Starting with 2.4.0, also ``config-set`` and ``config-get`` return the SHA-256 hash
of the new or current configuration. This may be used to later determine if a configuration
has changed or not.
.. isccmd:: config-reload
.. _command-config-reload:
@@ -637,6 +643,9 @@ string, ``text``, describing the outcome:
{"result": 1, "text": "unsupported parameter: BOGUS (<string>:16:26)" }
Starting with 2.4.0, the successful response also contains a SHA-256 digest of the newly set configuration.
The digest can be used to easily determine if a configuration has changed or not.
.. isccmd:: shutdown
.. _command-shutdown:

View File

@@ -21,6 +21,11 @@
" }",
"}"
],
"resp-comment": [
"Starting with Kea 2.4.0, the successful response contains an SHA256 digest of the configuration that was ",
"just retrieved. It might be used to determine if a configuration has been modified or not, possibly with the ",
"use of config-hash-get."
],
"support": [
"kea-dhcp4",
"kea-dhcp6",