summaryrefslogtreecommitdiffstats
path: root/src/share/api/reservation-get-by-hostname.json
blob: f1f7aa3e2653df696609abf12ea05afdb1cbc382 (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
{
    "access": "read",
    "avail": "1.7.1",
    "brief": [
        "This command retrieves all host reservations for a specified hostname and optionally a specified subnet."
    ],
    "cmd-comment": [
        "Operation-target is optional; default is 'all'."
    ],
    "cmd-syntax": [
        "{",
        "    \"command\": \"reservation-get-by-hostname\",",
        "    \"arguments\": {",
        "        \"hostname\": <hostname>,",
        "        \"subnet-id\": <integer>,",
        "        \"operation-target\": <string (memory, database, all, default)>",
        "    }",
        "}"
    ],
    "hook": "host_cmds",
    "name": "reservation-get-by-hostname",
    "resp-comment": [
        "The reservation-get-by-hostname command may result in large responses."
    ],
    "support": [
        "kea-dhcp4",
        "kea-dhcp6"
    ]
}