summaryrefslogtreecommitdiffstats
path: root/src/share/api/subnet4-add.json
blob: 7b1ea8b0b54871b86920a4db9f9d8526cd9c90c6 (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": "write",
    "avail": "1.3.0",
    "brief": [
        "This command creates and adds a new subnet to the existing server configuration. This operation has no impact on other subnets."
    ],
    "cmd-syntax": [
        "{",
        "    \"command\": \"subnet4-add\",",
        "    \"arguments\": {",
        "        \"subnet4\": [ {",
        "            \"id\": 123,",
        "            \"subnet\": \"10.20.30.0/24\",",
        "            ...",
        "        } ]",
        "    }",
        "}"
    ],
    "description": "See <xref linkend=\"idp69\"/>",
    "hook": "subnet_cmds",
    "name": "subnet4-add",
    "resp-syntax": [
        "{",
        "    \"result\": 0,",
        "    \"text\": \"IPv4 subnet added\",",
        "    \"arguments\": {",
        "        \"subnets\": [",
        "            {",
        "                \"id\": 123,",
        "                \"subnet\": \"10.20.30.0/24\"",
        "            }",
        "        ]",
        "    }",
        "}"
    ],
    "support": [
        "kea-dhcp4"
    ]
}