[Kea-users] New Kea hook to call external scripts: kea-hook-runscript

Eron Lloyd eron at lloydanalytics.com
Thu Aug 24 11:10:28 UTC 2017


Thank you for this, Baptiste! We're are preparing our Kea deployment now,
and will test it out.

On Thu, Aug 24, 2017 at 6:21 AM, Baptiste Jonglez <
baptiste at bitsofnetworks.org> wrote:

> Hi,
>
> I have developed a generic hook that calls an external script at all hook
> points provided by Kea.  The goal is to simplify integration with Kea: for
> many simple use-cases, it is overkill to have to write a full-blown Kea
> hook, where a simple shell script can do the job.
>
> This could be useful for several use-cases, but we currently use it to
> add/remove routes in the kernel routing table when DHCP clients connect or
> disconnect.
>
> The code and documentation are here:
>
>   https://code.ffdn.org/zorun/kea-hook-runscript
>   https://github.com/zorun/kea-hook-runscript (mirror)
>
> If you find this useful or would like more variables to be provided to the
> external script, please send feedback or pull requests!  In particular,
> feel free to provide more examples (Kea config + script).
>
> Note that the code is still a bit rough, especially for DHCPv6: see the
> TODO list at https://code.ffdn.org/zorun/kea-hook-runscript#todo
>
> Baptiste
>
> _______________________________________________
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
>
>


-- 
Eron Lloyd
President and Chief Analyst
Lloyd Analytics LLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170824/081749a1/attachment.htm>


More information about the Kea-users mailing list