summaryrefslogtreecommitdiffstats
path: root/src/share/api/cache-remove.json
blob: ccf66747b7737fcfba73a443acf10c8e87d0e343 (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
{
    "access": "write",
    "avail": "1.4.0",
    "brief": [
        "This command removes entries from the host cache. It takes parameters similar to the ``reservation-get`` command."
    ],
    "cmd-syntax": [
        "{",
        "    \"command\": \"cache-remove\",",
        "    \"arguments\": {",
        "        \"ip-address\": \"192.0.2.1\",",
        "        \"subnet-id\": 123",
        "    }",
        "}",
        "",
        "Another example that removes the IPv6 host identifier by DUID and specific subnet-id is:",
        "{",
        "    \"command\": \"cache-remove\",",
        "    \"arguments\": {",
        "        \"duid\": \"00:01:ab:cd:f0:a1:c2:d3:e4\",",
        "        \"subnet-id\": 123",
        "    }",
        "}"
    ],
    "description": "See <xref linkend=\"command-cache-remove\"/>",
    "hook": "host_cache",
    "name": "cache-remove",
    "support": [
        "kea-dhcp4",
        "kea-dhcp6"
    ]
}