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