Send kea-dev mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/kea-dev
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of kea-dev digest..."


Today's Topics:

   1. Re:  kea-dhcp4 -t kea.json too strong on interface checking
      (Gregor Kling)


----------------------------------------------------------------------

Message: 1
Date: Mon, 18 Aug 2025 13:01:55 +0200
From: Gregor Kling <[email protected]>
To: Chad Catlett <[email protected]>, [email protected]
Subject: Re: [kea-dev] kea-dhcp4 -t kea.json too strong on interface
        checking
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed

Hello Chad,

Thanks for the response.

I can work around that.


gg

On 8/17/25 4:44 AM, Chad Catlett wrote:
>
> On 8/16/25 05:32, Gregor Kling wrote:
>> Hello,
>>
>> Say, you want to generate the config files for the dhcp servers on a 
>> specific machine
>>
>> and test that them there.
>>
>> Now as one can imagine the interface names are possibly not the ones 
>> that are
>>
>> on the target machines.
>>
>> So, it would be nice if one could lift the strictness on same checks, 
>> for example
>>
>> the test on the existence of the concrete interface.
>>
>> I don't know yet if there are other form of too strict checks - i 
>> will find out.
>>
>> gg
>>
> gg,
>
> My suggestion would be have the machine that generates the 
> configuration use something like json patch to set the 
> interfaces-config.interfaces to an acceptable value just for the 
> testing procedure.
>
> It has been a few years since I've looked at the configuration parsing 
> code, but I don't expect it to have some way to relax the checks. It 
> doesn't just check the validity of the syntax, it also checks that the 
> config is valid for the machine executing the config checks.
>
> Chad
>
-- 
Gregor Kling

Abteilung ITS, Sachgebiet ITS-N
Technische Hochschule Mittelhessen
University of Applied Sciences
Tel: 0641/309-1292
E-Mail: [email protected]



------------------------------

Subject: Digest Footer

_______________________________________________
kea-dev mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-dev


------------------------------

End of kea-dev Digest, Vol 95, Issue 3
**************************************

Reply via email to