From f5f56e1a1c4d9e9496fcb9d81131066a964ccd23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:15:43 +0200 Subject: Adding upstream version 2.4.1. Signed-off-by: Daniel Baumann --- src/share/api/config-test.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/share/api/config-test.json (limited to 'src/share/api/config-test.json') diff --git a/src/share/api/config-test.json b/src/share/api/config-test.json new file mode 100644 index 0000000..39aa367 --- /dev/null +++ b/src/share/api/config-test.json @@ -0,0 +1,34 @@ +{ + "access": "write", + "avail": "1.2.0", + "brief": [ + "This command instructs the server to check whether the new configuration supplied in the command's arguments can be loaded." + ], + "cmd-comment": [ + "In the example below, '' is the configuration element name for a given server such as \"Dhcp4\" or \"Dhcp6\"." + ], + "cmd-syntax": [ + "{", + " \"command\": \"config-test\",", + " \"arguments\": {", + " \"''\": {", + " }", + " }", + "}" + ], + "description": "See ", + "name": "config-test", + "resp-syntax": [ + "{ \"result\": 0, \"text\": \"Configuration seems sane.\" }", + "", + "or", + "", + "{ \"result\": 1, \"text\": \"unsupported parameter: BOGUS (:16:26)\" }" + ], + "support": [ + "kea-dhcp4", + "kea-dhcp6", + "kea-dhcp-ddns", + "kea-ctrl-agent" + ] +} -- cgit v1.2.3