[kea-dev] Expressions in option-data
fdupont at isc.org
Thu Jan 21 16:48:26 UTC 2016
Ola Thoresen writes:
> We are looking into using kea as the DHCP-server in a client environment
> to auto-provision various network equipment.
> In the "old" isc-dhcp you could use expressions in the DHCP-replies, like:
> option bootfile-name = concat((option agent.circuit-id),".",(option
> option hostname = binary-to-ascii (16, 8, "-", substring (hardware, 1, 6));
> Is there any way to replicate this behavior in kea?
> I know you can use a test to classify the clients, and match on
> different options, but defining a class for each and every host to make
> it use a certain bootfile is not really feasible...
=> Kea provides another way to do this (and portentially any) kind
of things: the hooks.
Francis Dupont <fdupont at isc.org>
More information about the kea-dev