Opened 2 years ago

Closed 19 months ago

#5562 closed enhancement (duplicate)

make database config parsing more flexible

Reported by: fdupont Owned by:
Priority: low Milestone: Kea1.5
Component: configuration 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


Cf. #5528 comments (look for "line 125").


Change History (6)

comment:1 Changed 2 years ago by fdupont

Three problems to solve:

  • relax the syntax so we can parse configs with unexpected database. IMHO easy, the only thing to enforce is it must be a map with a type entry.
  • relax the parser (lib/dhcpsrv/parsers). In fact I think about a map of parsers so each database can check its config.
  • the only hard point: make sure a hook can install a parser before it is needed and the parser remains until it is not needed. Seems to be a work for a callout (I added a getParameterNames() for Radius, it will be critical here, cf #5525).

comment:2 Changed 2 years ago by tomek

  • Milestone changed from Kea-proposed to Kea1.5

As discussed during March 8th call, moving to 1.5.

comment:3 Changed 2 years ago by tomek

  • Milestone changed from Kea1.5 to Kea1.5 beta

Milestone renamed

comment:4 Changed 2 years ago by tomek

  • Milestone changed from Kea1.5 beta to Kea1.5

Milestone renamed

comment:5 Changed 20 months ago by tomek

  • Priority changed from medium to low

comment:6 Changed 19 months ago by tomek

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.