<div dir="ltr"><div>Hey Nicolò,<br><br>I wanted to discuss something about my organization. We don't allocate any funds for software on our platforms, which are primarily used for research purposes. I was considering directly writing to the database tables, but you've advised against it due to the potential risks. If we manually insert IP addresses and subnets into the database, will KEA automatically detect them? I came across this resource [<a href="https://gitlab.isc.org/isc-projects/kea/-/wikis/docs/editing-host-reservations">https://gitlab.isc.org/isc-projects/kea/-/wikis/docs/editing-host-reservations</a>], and I've been working on this project for a few months now, so I need a solution.<br></div><div><br></div><div>Kind Regards,</div><div><br></div><div>Michael</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 15 Jan 2024 at 11:29, Nicolò Borghi <<a href="mailto:borghi.nicolo@gmail.com">borghi.nicolo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u><div><div>Hello,</div><div><br></div><div>unfortunately, the DB backend is not supposed to be edited manually. Instead, you'd need to load either the MySQL or PostgreSQL Configuration Backend hook library. This exposes a convenient API to interact with the DB.</div><div>From this section of the manual: <a href="https://kea.readthedocs.io/en/kea-2.4.0/arm/hooks.html#available-hook-libraries" target="_blank">https://kea.readthedocs.io/en/kea-2.4.0/arm/hooks.html#available-hook-libraries</a> you'll find that both hook libs are open source. However, they have an inevitable dependency on this other hook: <a href="https://kea.readthedocs.io/en/kea-2.4.0/arm/hooks.html#std-ischooklib-libdhcp_cb_cmds.so" target="_blank">https://kea.readthedocs.io/en/kea-2.4.0/arm/hooks.html#std-ischooklib-libdhcp_cb_cmds.so</a> which is only available after paying a recurring subscription.</div><div><br></div><div>The structure of the DB is rather intuitive, but manually inserting rows into it has been made rather difficult on purpose and I don't suggest trying to bypass all the obstacles, otherwise the integrity of the DB may not be fully guaranteed.</div><div><br></div><div>Best,</div><div>Nicolò.</div><div><br></div><div><br></div><div><br></div><div><br></div><p>January 15, 2024 at 12:10 PM, "mtint hpc" <<a href="mailto:hpcmtint@gmail.com?to=%22mtint%20hpc%22%20%3Chpcmtint%40gmail.com%3E" target="_blank">hpcmtint@gmail.com</a>> wrote:</p><blockquote><div dir="ltr"><div><div>Hello everyone, </div><div><br></div><div>We are in the process of transitioning from our previous DDI solution to phpIPAM, KEA DHCP with a database backend, and PowerDNS. Currently, KEA is operational without a database backend for DHCP reservations. In our setup, there won't be any DHCP pools, and IP addresses will be allocated via the DHCP reservation. We have a total of 10 subnets. Can anyone provide guidance on how to proceed with this migration and which tables in the Kea schema should be edited? </div><div><br></div><div>Thank you, </div><div><br></div><div>Michael</div></div></div></blockquote><div><br></div></div>-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>