Opened 6 years ago

Closed 5 years ago

#3486 closed defect (fixed)

client classification with custom class does not work in kea6

Reported by: wlodekwencel Owned by: tomek
Priority: low Milestone: Kea0.9.1beta
Component: dhcp6 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 (last modified by wlodekwencel)

Kea6 is not able assign leases for custom created class.
Everything is working for default classes: docsis and eRouter.
For Kea4 both custom and default classes are working.

Tests in forge failing:
v6.client.classification.onesubnet.advertise.success
v6.client.classification.onesubnet.advertise.fail
v6.client.classification.onesubnet.request.success
v6.client.classification.twosubnets.request.success
v6.client.classification.twosubnets.request.fail
v6.client.classification.twoclasses.request.success

Test of default class for comparison:
v6.client.classification.onesubnet.docsis3.advertise.success

Attached tests reports. Pleas look into "log_file" in custom_class(failing tests) and docsis3(passing test) for comparison

Subtickets

Attachments (2)

docsis3.tar.gz (2.6 KB) - added by wlodekwencel 6 years ago.
custom_class.tar.gz (2.5 KB) - added by wlodekwencel 6 years ago.

Download all attachments as: .zip

Change History (12)

Changed 6 years ago by wlodekwencel

Changed 6 years ago by wlodekwencel

comment:1 Changed 6 years ago by tomek

  • Milestone changed from Kea-proposed to Kea0.9
  • Priority changed from medium to low

comment:2 Changed 6 years ago by wlodekwencel

  • Description modified (diff)

comment:3 Changed 6 years ago by tomek

  • Owner changed from UnAssigned to tomek
  • Status changed from new to assigned
  • Version set to git

comment:4 Changed 6 years ago by tomek

  • Milestone changed from Kea0.9 to Kea0.9.1

comment:5 Changed 6 years ago by tomek

  • Summary changed from client classification with custom class does not working in kea6 to client classification with custom class does not work in kea6

comment:6 Changed 5 years ago by tomek

  • Owner changed from tomek to UnAssigned
  • Status changed from assigned to reviewing

That's for writing those tests and reporting this bug.

This issue is now fixed on branch trac3486. Please review.

comment:7 Changed 5 years ago by wlodekwencel

  • Owner changed from UnAssigned to wlodekwencel

comment:8 Changed 5 years ago by wlodekwencel

  • Owner changed from wlodekwencel to UnAssigned

Code looks good, new unitest also.

unitests passed, forge tests passed
go ahead and merge.

comment:9 Changed 5 years ago by tomek

  • Owner changed from UnAssigned to tomek

comment:10 Changed 5 years ago by tomek

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

Merged, thanks for discovering and reporting this issue and reviewing the fix. Closing ticket.

Note: See TracTickets for help on using tickets.