summaryrefslogtreecommitdiffstats
path: root/src/share/api/network6-add.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/share/api/network6-add.json55
1 files changed, 55 insertions, 0 deletions
diff --git a/src/share/api/network6-add.json b/src/share/api/network6-add.json
new file mode 100644
index 0000000..aa74f75
--- /dev/null
+++ b/src/share/api/network6-add.json
@@ -0,0 +1,55 @@
+{
+ "access": "write",
+ "avail": "1.3.0",
+ "brief": [
+ "This command adds a new shared network."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"network6-add\",",
+ " \"arguments\": {",
+ " \"shared-networks\": [ {",
+ " \"name\": \"floor13\",",
+ " \"subnet6\": [",
+ " {",
+ " \"id\": 100,",
+ " \"pools\": [ { \"pool\": \"2003:db8:1::1-2003:db8:1::ff\" } ],",
+ " \"subnet\": \"2003:db8:1::/64\",",
+ " \"option-data\": [",
+ " {",
+ " \"name\": \"dns-servers\",",
+ " \"data\": \"2005:db8:1::1\"",
+ " }",
+ " ]",
+ " },",
+ " {",
+ " \"id\": 101,",
+ " \"pools\": [ { \"pool\": \"2003:db8:2::1-2003:db8:2::ff\" } ],",
+ " \"subnet\": \"2003:db8:2::/64\",",
+ " \"option-data\": [",
+ " {",
+ " \"name\": \"dns-servers\",",
+ " \"data\": \"2006:db8:1::1\"",
+ " }",
+ " ]",
+ " } ]",
+ " } ]",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp75\"/>",
+ "hook": "subnet_cmds",
+ "name": "network6-add",
+ "resp-syntax": [
+ "{",
+ " \"arguments\": {",
+ " \"shared-networks\": [ { \"name\": \"floor13\" } ]",
+ " },",
+ " \"result\": 0,",
+ " \"text\": \"A new IPv6 shared network 'floor13' added\"",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp6"
+ ]
+}