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