summaryrefslogtreecommitdiffstats
path: root/src/share/api/subnet6-add.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/subnet6-add.json')
-rw-r--r--src/share/api/subnet6-add.json39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/share/api/subnet6-add.json b/src/share/api/subnet6-add.json
new file mode 100644
index 0000000..77418d5
--- /dev/null
+++ b/src/share/api/subnet6-add.json
@@ -0,0 +1,39 @@
+{
+ "access": "write",
+ "avail": "1.3.0",
+ "brief": [
+ "This command creates and adds a new subnet to the existing server configuration. This operation has no impact on other subnets."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet6-add\",",
+ " \"arguments\": {",
+ " \"subnet6\": [ {",
+ " \"id\": 234,",
+ " \"subnet\": \"2001:db8:1::/64\",",
+ " ...",
+ " } ]",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp70\"/>",
+ "hook": "subnet_cmds",
+ "name": "subnet6-add",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv6 subnet added\",",
+ " \"arguments\": {",
+ " \"subnets\": [",
+ " {",
+ " \"id\": 234,",
+ " \"subnet\": \"2001:db8:1::/64\"",
+ " }",
+ " ]",
+ " }",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp6"
+ ]
+}