summaryrefslogtreecommitdiffstats
path: root/src/share/api/network4-subnet-del.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/network4-subnet-del.json')
-rw-r--r--src/share/api/network4-subnet-del.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/share/api/network4-subnet-del.json b/src/share/api/network4-subnet-del.json
new file mode 100644
index 0000000..fd1c7e3
--- /dev/null
+++ b/src/share/api/network4-subnet-del.json
@@ -0,0 +1,28 @@
+{
+ "access": "write",
+ "avail": "1.3.0",
+ "brief": [
+ "This command removes a subnet that is part of an existing shared network and demotes it to a plain, stand-alone subnet."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"network4-subnet-del\",",
+ " \"arguments\": {",
+ " \"name\": \"floor13\",",
+ " \"id\": 5",
+ " }",
+ " }"
+ ],
+ "description": "See <xref linkend=\"idp78\"/>",
+ "hook": "subnet_cmds",
+ "name": "network4-subnet-del",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv4 subnet 10.0.0.0/8 (id 5) is now removed from shared network 'floor13'\"",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp4"
+ ]
+}