Opened 7 years ago

Closed 7 years ago

#2415 closed enhancement (fixed)

Config Parser: Combine uintX configuration storages into single template storage.

Reported by: marcin Owned by: tmark
Priority: medium Milestone: Sprint-DHCP-20130523
Component: ~dhcpconf(obsolete) Version:
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

The DHCPv6 configuration parser define Uint32Storage container which is used to either hold uint32 or uint16 types of data. This container can be turned into template which will hold any uintX type of data. The template parameter will specify this type.

This also applies to DHCPv4.

Subtickets

Change History (7)

comment:1 Changed 7 years ago by stephen

  • Milestone changed from DHCP Outstanding Tasks to Sprint-DHCP-20130509
  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 7 years ago by stephen

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:3 Changed 7 years ago by tmark

  • Owner set to tmark
  • Status changed from reopened to accepted

comment:4 Changed 7 years ago by tmark

  • Status changed from accepted to assigned

comment:5 Changed 7 years ago by tmark

This effort has been completed under trac2355, which created new template class lib/dhcpsrv/ValueStore<>, a type-based class template providing data storage. This class is used by another new class template, lib/dhcpsrv/ValueParser<> which implements a type-based configuration parser for simple data types.

comment:6 Changed 7 years ago by stephen

  • Milestone changed from Sprint-DHCP-20130509 to Sprint-DHCP-20130523

comment:7 Changed 7 years ago by tmark

  • Resolution set to fixed
  • Status changed from assigned to closed

Corrected under 2355 which has been completed and merged into master.

Note: See TracTickets for help on using tickets.