[Kea-users] Host Reservation in Kea 1.5.0
mathiasAichinger
mathias.aichinger at easysol.at
Fri May 31 20:24:26 UTC 2019
Hi Jeronimo,
to use the API, I think you need to buy the Premium hook library. An
alternative would be to do all the inserts manually via SQL.
https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#host-cmds
The command would be:
https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#reference-reservation-add
An example:
{
"command": "reservation-add",
"arguments": {
"reservation": {
"subnet-id": 3,
"hw-address": "AAbe9b864392",
"ip-address": "192.168.225.56",
"next-server": "192.168.203.7",
"boot-file-name": "dynamic_bootfiles/AA-be-9b-86-43-92.bin"
}
},
"service": [
"dhcp4"
]
}
Best Regards,
Mathias Aichinger
Jeronimo wrote
> Hi,
>
> I have installed Kea 1.5.0 and configured it to store leases on a local
> PostgreSQL backend.
> I have searchin how to create reservations but on Kea Guide
> https://ftp.isc.org/isc/kea/1.5.0/doc/kea-guide.html only have mentions
> about creating reservation on config file.
>
> How can I create reservation on PostgreSQL database? What is the command
> to
> do it?
>
> ...
>
> Regards,
>
> Jeronimo Menezes
>
> _______________________________________________
> Kea-users mailing list
> Kea-users at .isc
> https://lists.isc.org/mailman/listinfo/kea-users
--
Sent from: http://kea-users.7364.n8.nabble.com/
More information about the Kea-users
mailing list