Re: [Kea-users] AllocationEngine instance from Hooks

2019-05-01 Thread Rajdip Patel
Thanks you so much Francis, My requirement is as below. Once Kea assigns a IPv4 lease, I want to confirm it operating system's MAC Table and if it is already present in Mac table I want Kea AllocationEngine to assign new lease. So for requesting new lease I need AllocationEngine's instance from h

Re: [Kea-users] AllocationEngine instance from Hooks

2019-05-01 Thread Francis Dupont
Rajdip Patel writes: > I want to write custom Kea hook as per hook developer guide. > > How can I get access AllocationEngine instance from hooks callback function > ? => I do not believe you can: it is a private member of the exchange context which is not passed to hooks. It is a protected membe

[Kea-users] AllocationEngine instance from Hooks

2019-05-01 Thread Rajdip Patel
Hello Kea Users, I want to write custom Kea hook as per hook developer guide. How can I get access AllocationEngine instance from hooks callback function ? Thanks, Rajdip Patel ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/ma