[Kea-users] Dhcpv6 with mysql (revision_id)

Tomek Mrugalski tomek at isc.org
Thu Mar 11 17:53:35 UTC 2021


On 10.03.2021 15:48, João Butzke wrote:
> Hi, im trying to insert a new dhcp6_subnet on the kea database, im
> getting this error: ...
> 
> The procedures and triggers are created on the mysql server, any ideias?
The schema for config backend is complicated, because it was designed
for Kea to be able to retrieve incremental updates efficiently, e.g.
when you have 1000 subnets configured, adding another one should be
fast. The unfortunate side effect is that it's tricky if you're trying
to fiddle with the DB manually.

There's a cb_cmds hook that makes it very easy to use. Yes, it's a paid
hook. API details here:
https://kea.readthedocs.io/en/kea-1.8.2/arm/hooks.html#cb-cmds-configuration-backend-commands

Tomek


More information about the Kea-users mailing list