[Kea-users] Missing features from dhcp-eval

2023-10-13 Thread Vladimir Nikolic via Kea-users

Hi,

We are struggling with the migration from DHCPD to KEA.
Is there any easy alternative to this dhcp-eval feature:

config-option option-name
 The config-option operator returns the value for the specified 
option that the DHCP client or server has been configured to send.


In DHCPD, we define an option, and then set it up on particular subnets.
It can then be used during class evaluation, by config-option feature.
In that way, different classes (with e.g. different next-server and/or 
filename defined) can be assigned to similar clients, just based on the 
option value set in a subnet definition.


From what we've seen so far, something like that is not possible with 
KEA.

Looks like we'll have to find an alternative solution.

Thanks
--
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


Re: [Kea-users] Logger not found in Stork

2023-10-13 Thread Marcin Siodelski

Ronald,

Kea 2.5.2 introduced an alias for output_options. When you configure the 
Kea server you can now use "output-options" or "output_options" in the 
logger configuration. However, no matter which parameter name you use in 
your configuration file, Kea will return the default (i.e., 
"output-options") when you issue a config-get commanad. Stork uses this 
command to collect Kea configurations.


Unfortunately, we neglected to update Stork to recognize the parameter 
name with a hyphen, resulting in a behavior you're seeing.


I will create a new Stork ticket to address this issue in 1.14. I don't 
see any workaround for it other than use an older Kea version that 
doesn't use the new alias.


Marcin Siodelski
Sr. Software Engineer,
ISC

On 13.10.2023 08:28, DDFR | Ronald Blaas wrote:

Hi all,

I already asked a question about this on the sstork userlist but perhaps 
someone on kea already has seen this behaviour.


I recently upgraded Stork to version 1.13 and now the log file is not 
displayed in stork. This is as well for DHCPv4 and CA.

Would love to get the logfile back in stork.

Using kea version 2.5.2
and in the kea conf i use the output_options (with underscore and not 
with dash)


"loggers": [
     {
         "name": "kea-dhcp4",
         "output_options": [
             {
                 "output": "/var/log/kea/kea-dhcp4.log"
             }
         ],
         "severity": "INFO",

         "debuglevel": 0
     }

Any idea?

regards,

Ronald



--
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


[Kea-users] Logger not found in Stork

2023-10-13 Thread DDFR | Ronald Blaas
Hi all,

I already asked a question about this on the sstork userlist but perhaps 
someone on kea already has seen this behaviour.

I recently upgraded Stork to version 1.13 and now the log file is not displayed 
in stork. This is as well for DHCPv4 and CA.
Would love to get the logfile back in stork.

Using kea version 2.5.2
and in the kea conf i use the output_options (with underscore and not with dash)

"loggers": [
{
"name": "kea-dhcp4",
"output_options": [
{
"output": "/var/log/kea/kea-dhcp4.log"
}
],
"severity": "INFO",

"debuglevel": 0
}

Any idea?

regards,

Ronald
-- 
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