BIND 10 #2304: implement OptionDefinition class

BIND 10 Development do-not-reply at isc.org
Wed Oct 10 16:04:52 UTC 2012


#2304: implement OptionDefinition class
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  marcin                             |                Status:  reviewing
                       Type:  task   |             Milestone:  Sprint-
                   Priority:  high   |  DHCP-20121018
                  Component:  dhcp   |            Resolution:
                   Keywords:         |             Sensitive:  0
            Defect Severity:  N/A    |           Sub-Project:  DHCP
Feature Depending on Ticket:         |  Estimated Difficulty:  0
        Add Hours to Ticket:  0      |           Total Hours:  0
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by marcin):

 * owner:  marcin => UnAssigned
 * status:  accepted => reviewing


Comment:

 I have created OptionDefinition class with its basic implementation. This
 basic implementation lacks the "options encapsulation" capability which is
 aimed to be added after we implement "namespaces".
 The OptionDefinition object is making decisions which option factory
 function matches the provided option layout. The appropriate factory
 function pointer is returned and can be used to create the option instance
 corresponding to the desired definition.

 This class will be extended over time as we need to add support for
 "custom options" (which are created if none of the standard option classes
 match), namespaces and many more factory functions.

 Please review branch trac2304.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2304#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list