summaryrefslogtreecommitdiffstats
path: root/src/share/api/cache-get-by-id.json
blob: 64bb8fd964d84372e5f71e12033f27d51a36d4d8 (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
{
    "access": "read",
    "avail": "1.6.0",
    "brief": [
        "This command returns entries matching the given identifier from the host cache."
    ],
    "cmd-syntax": [
        "{",
        "    \"command\": \"cache-get-by-id\",",
        "    \"arguments\": {",
        "        \"hw-address\": \"01:02:03:04:05:06\"",
        "    }",
        "}"
    ],
    "hook": "host_cache",
    "name": "cache-get-by-id",
    "resp-syntax": [
        "{",
        "    \"result\": 0,",
        "    \"text\": \"2 entries returned.\",",
        "    \"arguments\": <list of host reservations>",
        "}"
    ],
    "support": [
        "kea-dhcp4",
        "kea-dhcp6"
    ]
}