Opened 2 years ago

Last modified 2 years ago

#5347 new enhancement

Implement delete all leases from a subnet for MySQL, PostgreSQL

Reported by: tomek Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: database-all 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

Description

Ticket #5315 covers deleting subnets. One of the envisaged parameters is lease-action that would allow the user to delete all leases from a given subnet.

This has been partially implemented in #5280: the interface is there and there is an implementation for memfile. However, other backends were not extended and they throw NotImplemented? if the call is called.

This ticket is about implementing the missing pieces in MySQL and PostgreSQL. Optionally, Cassandra could also be extended, but that is left up to the implementor.

Subtickets

Change History (1)

comment:1 Changed 2 years ago by tomek

  • Milestone changed from Kea-proposed to Outstanding Tasks

As discussed on 2017-08-31, moving to outstanding. This is a nice thing to have, but sadly we're under tight schedule for 1.3 and this is not an essential functionality.

Note: See TracTickets for help on using tickets.