[Kea-users] Kea 1.6 Configuration Backend

Marc Boisis marc.boisis at univ-lr.fr
Thu Sep 5 05:57:55 UTC 2019


No in 1.6 we can declare subnet and global parameters in MYSQL : https://kea.readthedocs.io/en/v1_6_0/arm/config.html?highlight=workbench#kea-configuration-backend <https://kea.readthedocs.io/en/v1_6_0/arm/config.html?highlight=workbench#kea-configuration-backend>

But there is no doc like "INSERT new-subnet INTO ...

> On 5 Sep 2019, at 05:02, Klaus Steden <klausfiend at gmail.com> wrote:
> 
> 
> You want something like this:
> 
> {
>   "Dhcp4":
>   {
>     ...
> 
> # Use MySQL lease database backend to store leases in a database.
>   "lease-database": {
>     "type": "mysql",
>     "host": "__MYSQL_HOST__",
>     "name": "__MYSQL_DB__",
>     "user": "__MYSQL_USER__",
>     "password": "__MYSQL_PASSWORD__"
>   },
> 
> # Use MySQL hosts database backend to store reservations in a database.
>   "hosts-database": {
>     "type": "mysql",
>     "host": "__MYSQL_HOST__",
>     "name": "__MYSQL_DB__",
>     "user": "__MYSQL_USER__",
>     "password": "__MYSQL_PASSWORD__"
>   },
>   ...
>   }
> }
> 
> where the tokens are whatever your SQL credential/database parameters are.
> 
> hth,
> Klaus
> 
> On Wed, Sep 4, 2019 at 3:39 AM Marc Boisis <marc.boisis at univ-lr.fr <mailto:marc.boisis at univ-lr.fr>> wrote:
> 
> Where can I find where to put dhcp4 parameters in mysql configuration backend ? (which table ? values...).
> _______________________________________________
> Kea-users mailing list
> Kea-users at lists.isc.org <mailto:Kea-users at lists.isc.org>
> https://lists.isc.org/mailman/listinfo/kea-users <https://lists.isc.org/mailman/listinfo/kea-users>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20190905/b3864659/attachment.htm>


More information about the Kea-users mailing list