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.ple...@cs.tu-dortmund.de>
To: "Kea-users@lists.isc.org" <kea-users@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@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users
-- 
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to