summaryrefslogtreecommitdiffstats
path: root/src/share/api/subnet4-delta-add.json
blob: fb66313cc92c7e5052de87e2f8424303033fefee (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": "2.1.7",
    "brief": [
        "This command updates (adds or overwrites) parts of a single subnet in the existing server configuration. This operation has no impact on other subnets."
    ],
    "cmd-syntax": [
        "{",
        "    \"command\": \"subnet4-delta-add\",",
        "    \"arguments\": {",
        "        \"subnet4\": [ {",
        "            \"id\": 123,",
        "            \"subnet\": \"10.20.30.0/24\",",
        "            ...",
        "        } ]",
        "    }",
        "}"
    ],
    "description": "See <xref linkend=\"idp69\"/>",
    "hook": "subnet_cmds",
    "name": "subnet4-delta-add",
    "resp-syntax": [
        "{",
        "    \"result\": 0,",
        "    \"text\": \"IPv4 subnet updated\",",
        "    \"arguments\": {",
        "        \"subnets\": [",
        "            {",
        "                \"id\": 123,",
        "                \"subnet\": \"10.20.30.0/24\"",
        "            }",
        "        ]",
        "    }",
        "}"
    ],
    "support": [
        "kea-dhcp4"
    ]
}