[bind10-dev] Draft message format between bigtool and command & control
张立坤
zhanglikun at cnnic.cn
Wed Oct 28 22:46:56 UTC 2009
Hi all,
I have defined a draft message format between bigtool and command & control
(configure manager??), maybe it¡¯s not suitable for the demo.
<module name = '' dsec = '' instance_name = '' instance_type = '' instance_desc
= '' >
<command name = '' desc = '' need_instance_name = ''>
<param name = '' value = '' default_value = '' desc = '' type = ''
optional = '' />
<param name = '' value = '' default_value = '' desc = '' type = ''
optional = '' />
</command>
</module>
See the example:
When bigtool starts, the message from command&control and bigtool
<module name = 'zone' dsec = 'zone module' instance_name = 'zone_name'
instance_type = 'string' instance_desc = 'the name to specify one zone' >
<command name = 'set' desc = 'set zone\'s attribute' need_instance_name =
'yes'>
<param name = 'master' value = '' default_value = '127.0.0.1' desc =
'specify zone\'s master' type = 'IP' optional = 'yes' />
</command>
</module>
Message from bigtool to command%control
<module name = 'zone'>
<command name = 'set'>
<param name = 'master' value = '1.1.1.1'/>
<param name = 'allow_update' value = '1.1.1.1, 2.2.2.2'/>
</command>
</module>
More information about the bind10-dev
mailing list