Opened 5 years ago

Last modified 4 years ago

#3494 new enhancement

Custom Lease Allocator (contributed patch)

Reported by: tomek Owned by: UnAssigned
Priority: medium Milestone: Outstanding Tasks
Component: dhcp Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no


This is a fourth ticket created for a patch contributed by Shawn Lewis.

In KEA 0.8, three lease allocators have been declared: iterative, random and hash lease allocators. And
only the iterative lease allocator has been implemented. In practice, network managers may have
different preferences in allocating IP addresses. For example, it may be desired to allocate the same IP
address for long-term clients, while random IP addresses for visitors. Thus, we would like to implement a
custom lease allocator, which mainly overrides the pickAddress() virtual function. We also think it is better
to place the implementation of this custom allocator in a separate file, so any helper functions defined by
other developers for this custom allocator will not pollute the isc::dhcp namespace.


Change History (6)

comment:1 Changed 5 years ago by tomek

  • Milestone changed from Kea-proposed to Kea1.0

As discussed on Kea meeting (2014-07-16) we not include this ticket in 0.9, due to lack of available processing time. Therefore moving to 1.0.

comment:2 Changed 5 years ago by tomek

  • Version set to git

See ticket #3491 for the original patch.

comment:3 Changed 5 years ago by tomek

  • Milestone changed from Kea1.0 to Kea0.9.1

We haven't managed to address this one, moving to 0.9.1.

comment:4 Changed 5 years ago by tomek

  • Milestone changed from Kea0.9.1 to Kea0.9.2

Moving to 0.9.2 as discussed on Kea weekly call today (2014-10-08).

If we hear back from the contributor and receive updated patch, we'll move it back to 0.9.1.

comment:5 Changed 5 years ago by hschempf

  • Milestone changed from Kea0.9.2 to DHCP Outstanding Tasks

comment:6 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

Note: See TracTickets for help on using tickets.