Opened 6 years ago

Last modified 3 years ago

#3297 new defect

b10-dhcp4/6: Extend config_parser unit tests to cover different data types configuration.

Reported by: marcin Owned by:
Priority: low Milestone: Outstanding Tasks
Component: configuration Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: Low
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by tomek)

Option values may be set in different formats. The csv-format allows to specify values for option fields as a list of comma separated strings. The configuration parser is using libdhcp++ to parse these values and the libdhcp++ functions are now sufficiently unit tested (This ticket makes them sufficiently unit tested as before this ticket it they had lacked tests for boolean values). However, it may be worth to extend configuration parser tests for dhcp6_srv and dhcp4_srv as well, to test setting option values through configuration mechanism.


Change History (3)

comment:1 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

comment:2 Changed 3 years ago by tomek

  • Description modified (diff)
  • Priority changed from medium to low

comment:3 Changed 3 years ago by tomek

  • Component changed from dhcpconf to configuration
Note: See TracTickets for help on using tickets.