summaryrefslogtreecommitdiffstats
path: root/src/share/api/subnet6-get.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/subnet6-get.json')
-rw-r--r--src/share/api/subnet6-get.json39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/share/api/subnet6-get.json b/src/share/api/subnet6-get.json
new file mode 100644
index 0000000..956e401
--- /dev/null
+++ b/src/share/api/subnet6-get.json
@@ -0,0 +1,39 @@
+{
+ "access": "read",
+ "avail": "1.3.0",
+ "brief": [
+ "This command retrieves detailed information about the specified subnet. This command usually follows ``subnet6-list``, which discovers available subnets with their respective subnet identifiers and prefixes."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet6-get\",",
+ " \"arguments\": {",
+ " \"id\": 11",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp68\"/>",
+ "hook": "subnet_cmds",
+ "name": "subnet6-get",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"Info about IPv6 subnet 2001:db8:1::/64 (id 11) returned\",",
+ " \"arguments\": {",
+ " \"subnets\": [",
+ " {",
+ " \"subnet\": \"2001:db8:1::/64\",",
+ " \"id\": 1,",
+ " \"option-data\": [",
+ " ...",
+ " ],",
+ " ...",
+ " }",
+ " ]",
+ " }",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp6"
+ ]
+}