: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::
}
}
+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:
{"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:
" }",
"}"
],
+ "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",