summaryrefslogtreecommitdiffstats
path: root/src/share/api/subnet6-get.json
blob: 956e40135fb6e29259b13841e23f8a867f18d452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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"
    ]
}