BIND 10 #2472: Integrate MySQL Backend into DHCPv6 Server

BIND 10 Development do-not-reply at isc.org
Tue Nov 13 15:45:15 UTC 2012


#2472: Integrate MySQL Backend into DHCPv6 Server
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  marcin
  stephen                            |                Status:  reviewing
                       Type:  task   |             Milestone:  Sprint-
                   Priority:  high   |  DHCP-20121115
                  Component:  dhcp6  |            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 stephen):

 * owner:  stephen => marcin


Comment:

 '''memfile_lease_mgr.h'''
 > There is inconsistency between various methods in Memfile_LeaseMgr with
 respect to use of the virtual keyword: some methods have this keyword,
 other methods don't.
 Fixed.  All relevant methods are prefixed "virtual".

 > What is the purpose of the using declaration:
 > using LeaseMgr::getParameter
 That was a hangover from when Tomek was using this code as a test
 database.  Removed.

 '''memfile_lease_mgr_unittest.cc'''
 > !GetTypeAndName: I believe that most of the BIND10 unit test name start
 with lower case.
 Changed.

 '''mysql_lease_mgr_unittest.cc'''
 > !GetType: same as a above
 Changed.

 > General suggestion: I think it is a good practice to put a brief
 description of the test's purpose. We don't follow this in many tests but
 we could at least do it for new tests. You have added two unit tests, I
 suggest that you add brief description.
 Agreed.  Some additional documentation has been added.

 '''memfile_lease_mgr.cc'''
 > There are multiple methods with empty body. I suggest that their
 implementation is moved to header file as it will improve code's
 readability.
 Disagree.  The intention is to implement more methods as the code
 develops, so placeholders in the .cc file is most convenient.

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


More information about the bind10-tickets mailing list