BIND 10 #2419: ConfigData::getFullConfig() should return child elements content

BIND 10 Development do-not-reply at isc.org
Sat Nov 3 22:21:54 UTC 2012


#2419: ConfigData::getFullConfig() should return child elements content
-------------------------------------+-------------------------------------
                   Reporter:  tomek  |                 Owner:  UnAssigned
                       Type:         |                Status:  assigned
  defect                             |             Milestone:  Sprint-
                   Priority:         |  DHCP-20121101
  medium                             |            Resolution:
                  Component:         |             Sensitive:  0
  configuration                      |           Sub-Project:  Core
                   Keywords:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by tomek):

 * owner:  tomek => UnAssigned
 * status:  accepted => assigned


Comment:

 Config as seen from bindctl:
 {{{
 > config show Dhcp6
 Dhcp6/interface/        list    (default)
 Dhcp6/renew-timer       1001    integer
 Dhcp6/rebind-timer      2000    integer (default)
 Dhcp6/preferred-lifetime        3000    integer (default)
 Dhcp6/valid-lifetime    4000    integer (default)
 Dhcp6/option-data       []      list    (default)
 Dhcp6/subnet6/  list
 > config show Dhcp6/subnet6[0]
 Dhcp6/subnet6[0]/subnet "2001:db8:1::/64"       string
 Dhcp6/subnet6[0]/renew-timer    1000    integer (default)
 Dhcp6/subnet6[0]/rebind-timer   2000    integer (default)
 Dhcp6/subnet6[0]/preferred-lifetime     3000    integer (default)
 Dhcp6/subnet6[0]/valid-lifetime 7200    integer (default)
 Dhcp6/subnet6[0]/pool/  list
 Dhcp6/subnet6[0]/option-data    []      list    (default)
 > config show Dhcp6/subnet6[0]/pool[0]
 Dhcp6/subnet6[0]/pool[0]        "2001:db8:1::0 - 2001:db8:1::ffff"
 string
 }}}

 Config as returned by getFullConfig():
 {{{
 2012-11-03 23:16:03.391 DEBUG [b10-dhcp6.dhcp6] DHCP6_CONFIG_START DHCPv6
 server is processing the following configuration: { "interface": [ "all"
 ], "option-data": [  ], "preferred-lifetime": 3000, "rebind-timer": 2000,
 "renew-timer": 1000, "subnet6": [  ], "valid-lifetime": 4000 }
 }}}

 Note that subnet6 actually has some content, but getFullConfig() shows it
 as being empty.

 Useful code point to start debugging:
 configureDhcp6Server() call in ControlledDhcpv6Srv::establishSession() in
 src/bin/dhcp6/ctrl_dhcp6_srv.cc.

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


More information about the bind10-tickets mailing list