summaryrefslogtreecommitdiffstats
path: root/src/share/api/network6-list.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/network6-list.json')
-rw-r--r--src/share/api/network6-list.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/share/api/network6-list.json b/src/share/api/network6-list.json
new file mode 100644
index 0000000..98a64e2
--- /dev/null
+++ b/src/share/api/network6-list.json
@@ -0,0 +1,30 @@
+{
+ "access": "read",
+ "avail": "1.3.0",
+ "brief": [
+ "This command retrieves the full list of currently configured shared networks."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"network6-list\"",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-network6-list\"/>",
+ "hook": "subnet_cmds",
+ "name": "network6-list",
+ "resp-syntax": [
+ "{",
+ " \"arguments\": {",
+ " \"shared-networks\": [",
+ " { \"name\": \"floor1\" },",
+ " { \"name\": \"office\" }",
+ " ]",
+ " },",
+ " \"result\": 0,",
+ " \"text\": \"2 IPv6 network(s) found\"",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp6"
+ ]
+}