Opened 4 years ago

#4508 new enhancement

Implement test hook library to make sure all hooks are called (and in correct order)

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

In Kea 1.0.0 we had issues that some of the hook points were called twice. For example: a subnet select was called before the hook for receiving a packet. In general, we should strive to stick to some general order in which people expect hooks to be called. We should also make sure that hook points are called only once for a given packet processing step.

This ticket proposes to implement a hook library that verifies that hooks are called as expected.

Subtickets

Change History (0)

Note: See TracTickets for help on using tickets.