[Kea-users] Client Class Name as variable?

Peter Davies peterd at isc.org
Fri May 30 11:45:47 UTC 2025


Hi Christoph,
   No, I'm afraid you cannot use variables in this manner in Kea.

You can, however, assign a value to the "boot-file-name" field directly within 
the client class definition as:

       "client-classes": [ {
          "name": "PXEClient",
          "test": "option[vendor-class-identifier].text == 'PXEClient'",
          "boot-file-name": "pxebootfile" }],


/Peter

----- Original Message -----
From: "Christoph Pleger" <Christoph.Pleger at cs.tu-dortmund.de>
To: "Kea-users at lists.isc.org" <kea-users at lists.isc.org>
Sent: Friday, 30 May, 2025 12:59:51
Subject: [Kea-users] Client Class Name as variable?

Hello,

in KEA, is it possible to use a client class name as variable? So that
the variable can be used by later options, something like this:

"boot-file-name": "/tmp/$ClientClass",


???

Regards
  Christoph

-- 
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


More information about the Kea-users mailing list