summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomek Mrugalski <tomek@isc.org>2023-06-22 16:22:22 +0200
committerTomek Mrugalski <tomek@isc.org>2023-06-22 16:23:38 +0200
commitc79e3f852e642165a455cc7fcc22cb4dbf6e1854 (patch)
treed3ef079aa4f225250bf3e9e47db0601decce4096
parent[#2707] parseAnswer() cleaned up (diff)
downloadkea-c79e3f852e642165a455cc7fcc22cb4dbf6e1854.tar.xz
kea-c79e3f852e642165a455cc7fcc22cb4dbf6e1854.zip
[#2707] Doc updated
Added note about config-set not returning hash for ctrl-agent
-rw-r--r--doc/sphinx/arm/ctrl-channel.rst5
-rw-r--r--src/share/api/config-set.json6
2 files changed, 6 insertions, 5 deletions
diff --git a/doc/sphinx/arm/ctrl-channel.rst b/doc/sphinx/arm/ctrl-channel.rst
index 0ad0549ad2..d1d1318431 100644
--- a/doc/sphinx/arm/ctrl-channel.rst
+++ b/doc/sphinx/arm/ctrl-channel.rst
@@ -643,8 +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.
+Starting with 2.4.0, the successful response from a DHCPv4, DHCPv6, or DHCP-DDNS daemons
+also contain 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:
diff --git a/src/share/api/config-set.json b/src/share/api/config-set.json
index 31a4b7e3ae..60b4d991e4 100644
--- a/src/share/api/config-set.json
+++ b/src/share/api/config-set.json
@@ -32,9 +32,9 @@
"{ \"result\": 1, \"text\": \"unsupported parameter: BOGUS (<string>:16:26)\" }"
],
"resp-comment": [
- "Starting with Kea 2.4.0, the successful response contains an SHA256 digest of the configuration that was ",
- "just set. It might be used to determine if a configuration has been modified or not, possibly with the ",
- "use of config-hash-get."
+ "Starting with Kea 2.4.0, the successful response from a DHCPv4, DHCPv6, or DHCP-DDNS daemons",
+ "also contain a SHA-256 digest of the newly set configuration. The digest can be used to easily",
+ "determine if a configuration has been modified or not, possibly with the use of config-hash-get."
],
"support": [
"kea-dhcp4",