Opened 3 years ago

Last modified 3 years ago

#4538 new enhancement

update kea-admin to handle reservations in MySQL and PostgreSQL

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

With #3682 we added support for storing host reservations in MySQL.
with #4277 we're about to add the same for PostgreSQL.
kea-admin has to be updated to reflect the changes.

  1. lease-init should be renamed to database-init
  2. lease-version should be renamed to database-version
  3. lease-upgrade should be renamed to database-upgrade
  4. reservations-dump should be implemented, similar to lease-dump

One idea to consider would be to dump reservations in JSON format, so it could be copy-pasted into the config file.

Thomas proposed to deprecate the old command, so kea-admin lease-init should print something like "lease-init has been deprecated, please use database-init"

Subtickets

Change History (1)

comment:1 Changed 3 years ago by hschempf

  • Milestone changed from Kea-proposed to Outstanding Tasks

Per July 7 meeting, move to outstanding

Note: See TracTickets for help on using tickets.