BIND 10 #2955: DHCP-DDNS : Create DHCP-DDNS server class

BIND 10 Development do-not-reply at isc.org
Thu May 23 16:28:35 UTC 2013


#2955: DHCP-DDNS : Create DHCP-DDNS server class
-------------------------------------+-------------------------------------
            Reporter:  stephen       |                        Owner:
                Type:  enhancement   |  UnAssigned
            Priority:  medium        |                       Status:
           Component:  dhcp          |  reviewing
            Keywords:                |                    Milestone:
           Sensitive:  0             |  Sprint-DHCP-20130523
         Sub-Project:  DHCP          |                   Resolution:
Estimated Difficulty:  0             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by tmark):

 * owner:  tmark => UnAssigned
 * status:  assigned => reviewing


Comment:

 I've created the initial, bare-bones implementation DHCP-DDNS service
 process class, D2Process.  In the original design this was referred to as
 !DhcpDdnsSrv.  Since there
 was some disagreement over whether this represented a "server" or not and
 becaue "!DhcpDdns" is
 a chore to work with, I've named it D2Process.   It plays the same role as
 designed: It is the top-level object of the "application" providing the
 event processing and business logic specific to processing DNS name change
 requests.  It is intended to be "controlled" by a managing object (aka
 D2Controller, being constructed under trac2956) that is responsible for
 providing D2Process with its runtime environment, either as BIND10 module
 or stand-alone.

 D2Process implements an interface defined in new abstract class DProcess.
 This abstraction was a natural byproduct of my effort to understand and
 mimic the DHCP servers controller-server dynamic.  It could serve as the
 basis for refactoring, should we decide to pursue it.


 The following new files have been added:

        src/bin/d2/d_process.h - defines the DProcess base class
        src/bin/d2/d2_process.h - defines the D2Process class
        src/bin/d2/d2_process.cc - implements the D2Process class
        src/bin/d2/tests/d2_process_unittests.cc - initial unit tests

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


More information about the bind10-tickets mailing list