Veronique Lefebure writes:
> Is there a way to use ifelse in a host reservation ?
>
> We would like something like
>
> "reservations": [ { "hw-address": "xx:xx:xx:xx:xx:fa", "ip-address":
> "yy.yy.yy.121", "hostname": "lab-client", "client-classes": [ " ifelse (
>
Hi Veronique,
"client-classes" within a reservation definition can only contain a list of
classes:
Can you explain what you are trying to achieve here? There may be another way
of accomplishing it.
Kind Regards Peter
>From "Kea Configuration File Syntax (BNF)":
Hi,
Is there a way to use ifelse in a host reservation ?
We would like something like
"reservations": [ { "hw-address": "xx:xx:xx:xx:xx:fa", "ip-address":
"yy.yy.yy.121", "hostname": "lab-client", "client-classes": [ " ifelse (
substring(option[vendor-class-identifier].text, 0, 9) ==