]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Add new file
authorSuzanne Goldlust <sgoldlust@isc.org>
Wed, 3 Oct 2018 19:20:45 +0000 (15:20 -0400)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 29 Oct 2019 17:57:13 +0000 (18:57 +0100)
doc/api/config-set.json [new file with mode: 0644]

diff --git a/doc/api/config-set.json b/doc/api/config-set.json
new file mode 100644 (file)
index 0000000..4528473
--- /dev/null
@@ -0,0 +1,22 @@
+{
+    "name": "config-set",
+    "brief": "The config-set command instructs the server to replace its current configuration with the new configuration supplied in the command's arguments.",
+    "description": "See <xref linkend=\"command-config-set\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.2.0",
+    "cmd-syntax": "{
+    \"command\": \"config-set\",
+    \"arguments\":  {
+        \"<server>\": {
+        },
+        \"Logging\": {
+        }
+     }
+}",
+    "cmd-comment": "where <server> is the configuration element name for a given server such as \"Dhcp4\" or \"Dhcp6\"",
+    "resp-syntax": "    {\"result\": 0, \"text\": \"Configuration successful.\" }
+
+    or
+
+    {\"result\": 1, \"text\": \"unsupported parameter: BOGUS (<string>:16:26)\" }",
+}
\ No newline at end of file