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

diff --git a/doc/api/subnet4-del.json b/doc/api/subnet4-del.json
new file mode 100644 (file)
index 0000000..19c6999
--- /dev/null
@@ -0,0 +1,26 @@
+{
+    "name": "subnet4-del",
+    "brief": "This command is used to remove a subnet from the server\'s configuration. This command has no effect on other configured subnets but removing a subnet has certain implications which the server\'s administrator should be aware of.",
+    "description": "See <xref linkend=\"idp71\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.3.0",
+    "hook": "subnet_cmds",
+    "cmd-syntax": "{
+    \"command\": \"subnet4-del\",
+    \"arguments\": {
+        \"id\": 123
+    }
+}",
+    "resp-syntax": "{
+    \"result\": 0,
+    \"text\": \"IPv4 subnet 192.0.2.0/24 (id 123) deleted\",
+    \"arguments\": {
+        \"subnets\": [
+            {
+                \"id\": 123,
+                \"subnet\": \"192.0.2.0/24\"
+            }
+        ]
+    }
+}",
+}
\ No newline at end of file