]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Add new file
authorSuzanne Goldlust <sgoldlust@isc.org>
Thu, 4 Oct 2018 20:49:55 +0000 (16:49 -0400)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 29 Oct 2019 17:57:13 +0000 (18:57 +0100)
doc/api/subnet4-add.json [new file with mode: 0644]

diff --git a/doc/api/subnet4-add.json b/doc/api/subnet4-add.json
new file mode 100644 (file)
index 0000000..580e72b
--- /dev/null
@@ -0,0 +1,30 @@
+{
+    "name": "subnet4-add",
+    "brief": "This command is used to create and add a new subnet to the existing server configuration.",
+    "description": "See <xref linkend=\"idp69\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.3.0",
+    "hook": "subnet_cmds",
+    "cmd-syntax": "{
+    \"command\": \"subnet4-add\",
+    \"arguments\": {
+        \"subnets\": [ {
+            \"id\": 123,
+            \"subnet\": \"10.20.30.0/24\",
+            ...
+        } ]
+    }
+}",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"IPv4 subnet added\",
+    \"arguments\": {
+        \"subnets\": [
+            {
+                \"id\": 123,
+                \"subnet\": \"10.20.30.0/24\"
+            }
+        ]
+    }
+}",
+}
\ No newline at end of file