BIND 10 #947: bindctl allows setting value before adding

BIND 10 Development do-not-reply at isc.org
Thu May 19 17:03:58 UTC 2011


#947: bindctl allows setting value before adding
---------------------------------+-----------------------------------------
            Reporter:  jreed     |                        Owner:
                Type:  defect    |                       Status:  new
            Priority:  trivial   |                    Milestone:  New Tasks
           Component:  bind-ctl  |                     Keywords:
           Sensitive:  0         |              Defect Severity:  N/A
         Sub-Project:  DNS       |  Feature Depending on Ticket:
Estimated Difficulty:  0         |          Add Hours to Ticket:  0
         Total Hours:  0         |                    Internal?:  0
---------------------------------+-----------------------------------------
 See example:

 {{{
 > config set Xfrin/zones[0]/name foo
 > config set Xfrin/zones[0]/master_addr 192.168.1.1
 > config diff
 {'Xfrin': {'zones': [], 'zones[0]': {'master_addr': '192.168.1.1'}}}
 > config commit
 Error: unknown item zones[0]
 Configuration not committed

 }}}

 Notice I skipped the "config add Xfrin/zones"

 I overlooked that the diff didn't show the zone name.

 The first one should have failed then. I think it did but just didn't tell
 me anything.

 Even if I do that add now it is not good enough, so I "revert".

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


More information about the bind10-tickets mailing list