Opened 3 years ago

Closed 21 months ago

#3571 closed enhancement (complete)

Extend host to allow storing options (specific options for a given host)

Reported by: tomek Owned by: marcin
Priority: medium Milestone: Kea1.1
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

Description

We need to extend host definitions to allow storing options specific to that host.

Subtickets

Change History (17)

comment:1 Changed 3 years ago by hschempf

  • Priority changed from medium to low

comment:2 Changed 3 years ago by tomek

  • Milestone changed from Kea0.9.1beta to Kea0.9.1

Moving from 0.9.1beta to 0.9.1.

comment:3 Changed 3 years ago by hschempf

  • Priority changed from low to very low

comment:4 Changed 3 years ago by hschempf

  • Milestone changed from Kea0.9.1 to Kea0.9.2

comment:5 Changed 3 years ago by hschempf

  • Milestone changed from Kea0.9.2 to Kea1.0
  • Priority changed from very low to medium

comment:6 Changed 2 years ago by hschempf

  • Priority changed from medium to high

Per decision during ticket estimates, changed to High

comment:7 Changed 2 years ago by stephen

  • Milestone changed from Kea1.0 to DHCP Outstanding Tasks

Per the Kea planning meeting in October, remove from 1.0.

comment:8 Changed 2 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

comment:9 Changed 2 years ago by tomek

  • Milestone changed from Outstanding Tasks to Kea1.1

comment:10 Changed 22 months ago by tomek

  • Component changed from dhcpconf to host-reservations

comment:11 Changed 22 months ago by tomek

  • Priority changed from high to medium

comment:12 Changed 21 months ago by marcin

  • Owner set to marcin
  • Status changed from new to accepted

comment:13 Changed 21 months ago by marcin

  • Owner changed from marcin to UnAssigned
  • Status changed from accepted to reviewing

This was a short ticket which adds new data structures to a !Host object. Parsing options and actually adding them to this data structures will be implemented in other tickets.

Proposed ChangeLog entry:

XXXX.	[func]		marcin
	The Host class has been extended to store DHCP options to
	be assigned to a client.
	(Trac #3571, git abcd)

comment:14 Changed 21 months ago by fdupont

  • Owner changed from UnAssigned to fdupont

comment:15 Changed 21 months ago by fdupont

src/lib/dhcpsrv/tests/host_unittest.cc: addOptions4 in comments s/added to dhcp6 option space/added to dhcp4 option space/g (g for twice) and s/dhcp6 option space no DHCPv4/dhcp4 option space no DHCPv6/

in addOptions6 s/retrieve DHCPv6/retrieve DHCPv4/

in general I recommend a second look on 4/6 issues in host_unittest.cc even they are in comments.

and after that please merge.

comment:16 Changed 21 months ago by fdupont

  • Owner changed from fdupont to marcin

comment:17 Changed 21 months ago by marcin

  • Resolution set to complete
  • Status changed from reviewing to closed

Merged with commit 9d434f28cc4683eccbcca1ba0d1e45bceb5230d2

Note: See TracTickets for help on using tickets.