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

diff --git a/doc/api/subnet6-add.json b/doc/api/subnet6-add.json
new file mode 100644 (file)
index 0000000..ece6ece
--- /dev/null
@@ -0,0 +1,30 @@
+{
+    "name": "subnet6-add",
+    "brief": "This command is used to create and add new subnet to the existing server configuration. This operation has no impact on other subnets.",
+    "description": "See <xref linkend=\"idp70\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.3.0",
+    "hook": "subnet_cmds",
+    "cmd-syntax": "{
+    \"command\": \"subnet6-add\",
+    \"arguments\": {
+        \"subnet6\": [ {
+            \"id\": 234,
+            \"subnet\": \"2001:db8:1::/64\",
+            ...
+        } ]
+    }
+}",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"IPv6 subnet added\",
+    \"arguments\": {
+        \"subnet6\": [
+            {
+                \"id\": 234,
+                \"subnet\": \"2001:db8:1::/64\"
+            }
+        ]
+    }
+}",
+}
\ No newline at end of file