BIND 10 #247: map config data can't be reconfigured by bindctl

BIND 10 Development do-not-reply at isc.org
Thu Jul 22 16:10:26 UTC 2010


#247: map config data can't be reconfigured by bindctl
--------------------------------+-------------------------------------------
      Reporter:  zzchen_pku     |        Owner:  jelte
          Type:  defect         |       Status:  new  
      Priority:  major          |    Milestone:       
     Component:  configuration  |   Resolution:       
      Keywords:  map            |    Sensitive:  0    
Estimatedhours:                 |        Hours:       
      Billable:  1              |   Totalhours:       
      Internal:  0              |  
--------------------------------+-------------------------------------------

Comment(by jelte):

 Ah, I see. The command does not have the keys "File_Channel/log_file" and
 "File_Channel/log_version" in its dict, but a new dict named by the key
 "File_Channel".

 Which does not match the output gotten from get_full_config earlier.
 get_full_config was not designed for this purpose (which points to a lack
 of documentation there). But we could certainly add something that would
 return it as a nested dict.

 Or we could do it the other way around and provide a helper function that
 'flattens' a dict (because with the first option, you'd have to
 recursively go through the data in the check routine that returns the
 error).

 Any preference?

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


More information about the bind10-tickets mailing list