BIND 10 #2342: MySQL lease database access functions

BIND 10 Development do-not-reply at isc.org
Mon Oct 22 20:29:54 UTC 2012


#2342: MySQL lease database access functions
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  stephen                            |                Status:  assigned
                       Type:  task   |             Milestone:  Sprint-
                   Priority:         |  DHCP-20121101
  medium                             |            Resolution:
                  Component:         |             Sensitive:  0
  dhcpdb                             |           Sub-Project:  DHCP
                   Keywords:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by stephen):

 * owner:  stephen => UnAssigned


Comment:

 This is in for an intermediate review:
 * for synchronising with working being done on the allocation engine (for
 which a backend database is needed).
 * preventing the amount of unreviewed code getting too large.

 Notes:

 * The database creation script of #2142 is included as part of this ticket
 (although it has been somewhat edited).  It turns out to be less work to
 include it here than to merge #2142.
 * The Lease6.address field is a string for the moment - this simplified
 debugging.  It will be converted back to a byte array before this ticket
 is merged.
 * Building the code requires that configure be run with the --with-mysql-
 config flag pointing to the mysql_config program (default
 /usr/bin/mysql_config).  Without this flag, the build of the DHCP server
 will omit all MySQL code and tests.
 * The test programs assume that a database "keatest" (user: keatest,
 password: keatest) be present.  This database must have been created using
 the dhcpdb_create.mysql script, and the lease6 table should be empty.

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


More information about the bind10-tickets mailing list