2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-10-17 14:26:31 +00:00
Files
kea/doc/sphinx/api/cache-insert.json
2020-05-23 12:57:03 +02:00

53 lines
1.8 KiB
JSON

{
"avail": "1.4.0",
"brief": [
"This command inserts a host into the cache."
],
"cmd-syntax": [
"{",
" \"command\": \"cache-insert\",",
" \"arguments\": {",
" \"hw-address\": \"01:02:03:04:05:06\",",
" \"subnet-id4\": 4,",
" \"subnet-id6\": 0,",
" \"ip-address\": \"192.0.2.100\",",
" \"hostname\": \"somehost.example.org\",",
" \"client-classes4\": [ ],",
" \"client-classes6\": [ ],",
" \"option-data4\": [ ],",
" \"option-data6\": [ ],",
" \"next-server\": \"192.0.0.2\",",
" \"server-hostname\": \"server-hostname.example.org\",",
" \"boot-file-name\": \"bootfile.efi\",",
" \"host-id\": 0",
" }",
"},",
"{",
" \"command\": \"cache-insert\",",
" \"arguments\": {",
" \"hw-address\": \"01:02:03:04:05:06\",",
" \"subnet-id4\": 0,",
" \"subnet-id6\": 6,",
" \"ip-addresses\": [ \"2001:db8::cafe:babe\" ],",
" \"prefixes\": [ \"2001:db8:dead:beef::/64\" ],",
" \"hostname\": \"\",",
" \"client-classes4\": [ ],",
" \"client-classes6\": [ ],",
" \"option-data4\": [ ],",
" \"option-data6\": [ ],",
" \"next-server\": \"0.0.0.0\",",
" \"server-hostname\": \"\",",
" \"boot-file-name\": \"\",",
" \"host-id\": 0",
" }",
"}"
],
"description": "See <xref linkend=\"host-reservation-v4\"/>",
"hook": "host_cache",
"name": "cache-insert",
"support": [
"kea-dhcp4",
"kea-dhcp6"
]
}