Send kea-dev mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/kea-dev
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of kea-dev digest..."


Today's Topics:

   1. Re:  configuring prefix delegation behavior of kea dhcpv6
      (Tomek Mrugalski)


----------------------------------------------------------------------

Message: 1
Date: Wed, 26 Apr 2017 00:18:58 +0200
From: Tomek Mrugalski <[email protected]>
To: [email protected]
Subject: Re: [kea-dev] configuring prefix delegation behavior of kea
        dhcpv6
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252

On 25/04/17 10:16, tianxiang li wrote:
> I'm trying to make use of the available Hook Interfaces, but I did not
> find the hook point for the server to select an matching prefix from its
> prefix pool, and record this lease in the database. Could some one point
> out which part of the KEA code should be modified to achieve this
> function? Really appreciate your advice.
Take a look at lease6_select. It should have all the information you
need. It has a lease that was selected by the server, just before it's
actually being used. You can override it with whatever you want. Just
keep in mind that the lease you return from the hook is not sanity
checked in any way, it will be used as is.

Here's the documentation for it.
https://jenkins.isc.org/job/Kea_doc/doxygen/d1/d02/dhcpv6Hooks.html

Tomek



------------------------------

Subject: Digest Footer

_______________________________________________
kea-dev mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-dev

------------------------------

End of kea-dev Digest, Vol 37, Issue 5
**************************************

Reply via email to