summaryrefslogtreecommitdiffstats
path: root/src/share/api/config-get.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:15:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:15:43 +0000
commitf5f56e1a1c4d9e9496fcb9d81131066a964ccd23 (patch)
tree49e44c6f87febed37efb953ab5485aa49f6481a7 /src/share/api/config-get.json
parentInitial commit. (diff)
downloadisc-kea-f5f56e1a1c4d9e9496fcb9d81131066a964ccd23.tar.xz
isc-kea-f5f56e1a1c4d9e9496fcb9d81131066a964ccd23.zip
Adding upstream version 2.4.1.upstream/2.4.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/share/api/config-get.json')
-rw-r--r--src/share/api/config-get.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/share/api/config-get.json b/src/share/api/config-get.json
new file mode 100644
index 0000000..61c130e
--- /dev/null
+++ b/src/share/api/config-get.json
@@ -0,0 +1,35 @@
+{
+ "access": "read",
+ "avail": "1.2.0",
+ "brief": [
+ "This command retrieves 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."
+ ],
+ "cmd-comment": [
+ "This command takes no parameters."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"config-get\"",
+ "}"
+ ],
+ "name": "config-get",
+ "resp-syntax": [
+ "{",
+ " \"result\": <integer>,",
+ " \"arguments\": {",
+ " <Dhcp4, Dhcp6, or Control-agent object>: <JSON configuration here> ",
+ " }",
+ "}"
+ ],
+ "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",
+ "kea-dhcp-ddns",
+ "kea-ctrl-agent"
+ ]
+}