From: Suzanne Goldlust Date: Wed, 3 Oct 2018 19:27:42 +0000 (-0400) Subject: Add new file X-Git-Tag: 176-update-to-sysrepo-0-7-6-release_base~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d3d7d26a20a8362922aa4dce2fb2118769726a4;p=thirdparty%2Fkea.git Add new file --- diff --git a/doc/api/config-test.json b/doc/api/config-test.json new file mode 100644 index 0000000000..dd4632b9cf --- /dev/null +++ b/doc/api/config-test.json @@ -0,0 +1,22 @@ +{ + "name": "config-test", + "brief": "The config-test command instructs the server to check whether the new configuration supplied in the command's arguments can be loaded.", + "description": "See ", + "support": [ "kea-dhcp4", "kea-dhcp6" ], + "avail": "1.2.0", + "cmd-syntax": "{ + \"command\": \"config-test\", + \"arguments\": { + \"\": { + }, + \"Logging\": { + } + } +}", + "cmd-comment": "where is the configuration element name for a given server such as \"Dhcp4\" or \"Dhcp6\"", + "resp-syntax": "{\"result\": 0, \"text\": \"Configuration seems sane...\" } + + or + + {\"result\": 1, \"text\": \"unsupported parameter: BOGUS (:16:26)\" }", +} \ No newline at end of file