Opened 20 months ago

Last modified 17 months ago

#5578 new enhancement

Remove code duplication for host parsers and toElement

Reported by: tomek Owned by:
Priority: low Milestone: Outstanding Tasks
Component: host-reservations 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


  1. There is the code that does toElement conversion:
  • Host::toElement4 in src/lib/dhcpsrv/
  • Host::toElement6 in src/lib/dhcpsrv/
  • toElement in premium/src/hooks/dhcp/host_cache

This redundancy should be removed.

  1. Remove code duplication in:
  • HostDataParser? in premium/src/hooks/dhcp/host_cmds/host_data_parser.h
  • HCEntryParser in premium/src/hooks/dhcp/host_cache/
  • HostReservationParser? in src/lib/dhcpsrv/parsers/


Change History (3)

comment:1 Changed 20 months ago by tomek

  • Milestone changed from Kea-proposed to Kea1.4
  • Priority changed from medium to low

As discussed on 2018-03-29 call, moving to 1.4-final as low.

comment:2 Changed 19 months ago by tomek

  • Milestone changed from Kea1.4 to Kea1.4-final

As discussed on 2018-04-26 call, moving low and some med priority tickets to 1.4-final.

comment:3 Changed 17 months ago by tomek

  • Milestone changed from Kea1.4-final to Outstanding Tasks

As discussed on 2018-06-20 call.

Note: See TracTickets for help on using tickets.