Opened 4 years ago

Last modified 4 years ago

#4073 new enhancement

Document how to add new options in the developer guide

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

I think it might be useful to document how to add a new option in the developer guide - which files need to be updated, what goes into std_option_defs.h etc. Add some description of how the

I believe there are two parts to this:
1) simple options that we can describe with the current code for which I believe we update:
doc/guide/dhcp[4 6]-srv.xml, src/lib/dhcp/dhcp[4 6].h, src/lib/dhcp/std_option_defs.h, and src/lib/tests/dhcp++_unittest.cc.

2) more complicated options for which we need to add new code to process packing and unpacking (either for a general class or for a specific option class). For these we have the above files and:
new files for the class for example src/lib/dhcp/option_vendor_class.[cc h], src/lib/dhcp/option_definiton.[cc h], a new test file for example src/lib/dhcp/tests/option_vendor_class_unittest.cc, src/lib/dhcp/Makefile.am and src/lib/dhcp/tests/Makefile.am

Subtickets

Change History (2)

comment:1 Changed 4 years ago by hschempf

  • Milestone changed from Kea-proposed to DHCP Outstanding Tasks

per team meeting 7 oct, move to outstanding

comment:2 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

Note: See TracTickets for help on using tickets.