[Kea-users] Reading host-reservation user-context from within a Hook

Hans hans at onsmail.nl
Sat Sep 28 14:33:31 UTC 2019


Hello,

I'm trying to read the user-context configured under a host-reservation from within a Hook (lease4_select) , but without success.

For example:

            "reservations": [
                {
                    "hw-address": "00:0c:29:bb:b1:da",
                    "ip-address": "192.0.2.123",
                    "user-context": { "color": "dummy" }
                },

Has someone an example on how to do this (using Kea 1.6.0)?

PS: reading the user-context configured under the subnet is working...

Thanks in advance.

BR
Hans
  



More information about the Kea-users mailing list