2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 04:57:52 +00:00

[#2707] Doc updated

This commit is contained in:
Tomek Mrugalski 2023-06-21 13:04:04 +02:00
parent abe38a4e5c
commit a7166db6dd
No known key found for this signature in database
GPG Key ID: 5F418202F1F80482
2 changed files with 16 additions and 2 deletions

View File

@ -2,7 +2,10 @@
"access": "read",
"avail": "2.4.0",
"brief": [
"This command retrieves the hash of the current configuration used by the server. The configuration is essentially the same as the contents of the configuration file, but includes additional changes made by other commands and due to parameters' inheritance."
"This command retrieves the hash of the current configuration used by the server. The ",
"configuration is essentially the same as the contents of the configuration file, but ",
"includes additional changes made by other commands and due to parameters' inheritance.",
"Currently it is SHA256, but the algorithm may change in the future."
],
"cmd-comment": [
"This command takes no parameters."

View File

@ -19,12 +19,23 @@
"description": "See <xref linkend=\"command-config-set\"/>",
"name": "config-set",
"resp-syntax": [
"{ \"result\": 0, \"text\": \"Configuration successful.\" }",
"{",
" \"arguments\": {",
" \"hash\": \"8B5F5822E93178B65CE658304C37EA511BDE7D29F792AA5E88012FC741F2BE32\"",
" },",
" \"result\": 0,",
" \"text\": \"Configuration successful.\"",
"}",
"",
"or",
"",
"{ \"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."
],
"support": [
"kea-dhcp4",
"kea-dhcp6",