BIND 10 #247: map config data can't be reconfigured by bindctl
BIND 10 Development
do-not-reply at isc.org
Thu Jul 22 04:09:45 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 zzchen_pku):
Replying to [comment:1 jelte]:
> I do notice some other problems, in bindctl map values aren't printed
nicely (if at all),
Below is my config data and operate steps:
config data:
...
{
"item_name": "File_Channel",
"item_type": "map",
"item_optional": false,
"item_default":{
"log_file": "@@LOCALSTATEDIR@@/@PACKAGE@/zone.sqlite3",
"log_versions" : 5
},
"map_item_spec":[
{
"item_name": "log_file",
"item_type": "string",
"item_optional": false,
"item_default": "/root/spec"
},
{
"item_name": "log_version",
"item_type": "integer",
"item_optional": false,
"item_default": 5
}
]
},
...
------------------------------------------------------------------------------------
operate steps:
> config go Xfrout
/Xfrout> config show File_Channel/log_file
log_file: /root/spec string
/Xfrout> config show File_Channel/log_version
log_version: 5 integer
/Xfrout> config set File_Channel/log_version 6
/Xfrout> config show File_Channel/log_version
log_version: 6 integer (modified)
/Xfrout> config commit
/Xfrout> config show File_Channel/log_version
log_version: 5 integer
--
Ticket URL: <http://bind10.isc.org/ticket/247#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list