Problem with flex-id using option 79
I'm having problems configuring the following ISC DHCP host reservation in Kea.
host TEST {
host-identifier v6relopt 1 dhcp6.client-linklayer-addr AA:BB:CC:DD:EE:FF;
fixed-address6 808e:100::e;
option host-name "test"; }
I tried using flex-id as follows, but the client didn't get a lease. Could you please check if I'm missing anything in my configuration or if there's a bug in Kea? Thanks.
"reservations": [
{
"flex-id": "aa:bb:cc:dd:ee:ff",
"ip-addresses": [
"808e:100::e"
],
"hostname": "test"
}
]
"host-reservation-identifiers": [
"flex-id"
],
"hooks-libraries": [
{
"library": "/usr/local/lib/kea/hooks/libdhcp_flex_id.so",
"parameters": {
"identifier-expression": "relay6[-1].option[79].hex"
}
}
]