Re: [Kea-users] KEA DHCP with DB back end

2024-01-15 Thread Nicolò Borghi
Hi Michael, as far as I know (far from me selling false hopes, so it's best if other users chime in), yes. Once you find a way to inject data into the DB, Kea will use it (provided you setup the host database correctly in the config file). In this case, i think you won't even need to load the b

Re: [Kea-users] KEA DHCP with DB back end

2024-01-15 Thread mtint hpc
Hey Nicolò, 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 man

Re: [Kea-users] KEA DHCP with DB back end

2024-01-15 Thread Nicolò Borghi
Sorry, links got messed up: * available hook libraries:  https://kea.readthedocs.io/en/kea-2.4.0/arm/hooks.html#available-hook-libraries * premium dependency:  https://kea.readthedocs.io/en/kea-2.4.0/arm/hooks.html#std-ischooklib-libdhcp_cb_cmds.so Best, Nicolò. > > Hello everyone, >

Re: [Kea-users] KEA DHCP with DB back end

2024-01-15 Thread Nicolò Borghi
Hello, 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. >From this section of the manual:  >https://kea.readthedocs.io/en/kea-