BIND 10 #1649: Config show allows listing non-existing sub-item in list

BIND 10 Development do-not-reply at isc.org
Mon Feb 6 13:55:49 UTC 2012


#1649: Config show allows listing non-existing sub-item in list
---------------------------------+-----------------------------------------
            Reporter:  vorner    |                        Owner:
                Type:  defect    |                       Status:  new
            Priority:  major     |                    Milestone:  New Tasks
           Component:  bind-ctl  |                     Keywords:
           Sensitive:  0         |              Defect Severity:  N/A
         Sub-Project:  Core      |  Feature Depending on Ticket:
Estimated Difficulty:  0         |          Add Hours to Ticket:  0
         Total Hours:  0         |                    Internal?:  0
---------------------------------+-----------------------------------------
 From email
 https://lists.isc.org/pipermail/bind10-users/2012-February/000167.html:

 If there's a list of maps, it is possible to list an item of the map as if
 it lived directly in the list node, not in the indexed one and shows
 default value:
 {{{
 > config show Xfrout/zone_config/transfer_acl
 Xfrout/zone_config/transfer_acl[0]      {"action": "ACCEPT"}    any
 (default)
 }}}

 The zone_config is a list, so there are items like
 zone_config[0]/transfer_acl, but zone_config/transfer_acl doesn't exist in
 reality. The value is the default which would be in the new item until
 changed. This should instead say that the item doesn't exist.

-- 
Ticket URL: <http://bind10.isc.org/ticket/1649>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list