summaryrefslogtreecommitdiffstats
path: root/src/share/api/network6-add.json
blob: aa74f758345219b4bf1c8ac3eef8f297cc32858e (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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"
    ]
}