Hi, There is no import utility that I am aware of, but one could imagine using the API call "reservation-get-all" (https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#the-reservation-get-all-command) to get a list of the reservations. Then the returned data could be modified to be used in a series of "reservation-add" (https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#the-reservation-add-command) API commands to put these in the database. The final step would be to remove these from the configuration file and restart. The "operation-target" parameter will allow you to control the source and destination of these API calls.
Thank you, Darren Ankney On Fri, Nov 29, 2024 at 3:16 PM fbcadmin via Kea-users <kea-users@lists.isc.org> wrote: > > Hello > > We currently have dhcp4 reservations in /etc/kea/kea-dhcp4.conf > > > in order to maintain reservations using Stork , I saw in a video that > reservations at the dhcp server need to be in a database. > > > Is there a way to import the leases from /etc/kea/kea-dhcp4.conf into the > database? > > > > -- > 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