Hi,

> My two questions are thus:
>
> How do I clear out known objects? I am hesitant to just delete objects from 
> the DB directly if there is a better interface.

If by objects, you mean leases, then you would can use the lease
commands API to examine and remove leases.  See here:
https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#libdhcp-lease-cmds-so-lease-commands-for-easier-lease-management

>
> And to my root issue, how do define a test that would accept anything or 
> wildcards (*) like:
>
> option[vendor-class-identifier].text == '*'
> option[vendor-class-identifier].text == 'Foo*'

You can use "substring" to match a partial string.  See here:
https://kea.readthedocs.io/en/kea-2.4.1/arm/classify.html#substring

Thank you,
Darren Ankney
-- 
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to