mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-18 14:00:15 +00:00
25 lines
658 B
JSON
25 lines
658 B
JSON
{
|
|
"name": "cache-remove",
|
|
"brief": "The cache-remove command works similarly to reservation-get command.",
|
|
"description": "See <xref linkend=\"command-cache-remove\"/>",
|
|
"support": [ "kea-dhcp4", "kea-dhcp6" ],
|
|
"avail": "1.4.0",
|
|
"hook": "host_cache",
|
|
"cmd-syntax": "{
|
|
\"command\": \"cache-remove\",
|
|
\"arguments\": {
|
|
\"ip-address\": \"192.0.2.1\",
|
|
\"subnet-id\": 123
|
|
}
|
|
}
|
|
|
|
Another example that removes 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
|
|
}
|
|
}"
|
|
}
|