BIND 10 #810: TSIG: Create non-module config location support
BIND 10 Development
do-not-reply at isc.org
Fri Apr 15 14:57:58 UTC 2011
#810: TSIG: Create non-module config location support
-------------------------------------+-------------------------------------
Reporter: stephen | Owner: vorner
Type: | Status: reviewing
enhancement | Milestone:
Priority: blocker | Sprint-20110419
Component: | Resolution:
Unclassified | Sensitive: 0
Keywords: | Add Hours to Ticket: 0
Estimated Number of Hours: 2.0 | Total Hours: 0
Billable?: 1 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Changes (by stephen):
* owner: stephen => vorner
Comment:
'''src/bin/cfgmgr/b10-cfgmsg.py.in'''
{{{
PLUGIN_PATH = [] #FIXME Where should plugins come from? And how to find
it?
}}}
I suggest $B10_FROM_BUILD/src/bin/cfgmgr/plugins
'''src/lib/python/isc/config/cfgmgr.py'''[[BR]]
Comment: rather than use an array of virtual modules and an array of real
modules, and branching on which one contains the module being considered,
can't we encapsulate a module in a class and use different derived classes
for "real" and "virtual" modules? It would aid future extensibility.
Some documentation on how to create a plugin would be helpful - either on
the wiki or as a README in the configuration manager directory. The
comments in "testplugin.py" are a bit sparse, and it is not the most
obvious place for documentation.
--
Ticket URL: <http://bind10.isc.org/ticket/810#comment:10>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list