Commit 4429acb9 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[1843] clean up comments

parent 9a76caec
......@@ -14,16 +14,19 @@
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# This file provides a built-in set of 'execute' commands, for common
# functions, such as adding an initial auth server
# These sets must have an associated CommandInfo defined in
# bindctl_main.py.in, in prepare_execute_commands, and
# a handler in
# functions, such as adding an initial auth server.
# By calling the function prepare_execute_commands, the
# commands in the command_sets map are added to the virtual
# component called 'execute'. This is done in bindctl_main.
from bindctl.moduleinfo import *
# The name of the 'virtual' command set execution module in bindctl
EXECUTE_MODULE_NAME = 'execute'
# This is a map of command names to lists
# Each element in the set should itself be a dict containing:
# 'description': A string with a description of the command set
# 'commands': A list of bindctl commands
command_sets = {
'init_authoritative_server': {
'description':
......@@ -47,8 +50,8 @@ command_sets = {
'config add /Boss/components b10-zonemgr',
'config set /Boss/components/b10-zonemgr/address Zonemgr',
'config set /Boss/components/b10-zonemgr/kind dispensable',
'!echo Components added. Please enter "config commit" to finalize'+
'initial setup and run the components.'
'!echo Components added. Please enter "config commit" to',
'!echo finalize initial setup and run the components.'
]
}
}
......
......@@ -101,7 +101,8 @@ Feature: control with bindctl
last bindctl output should contain shouldshow
last bindctl output should contain Error
last bindctl output should not contain shouldnotshow
# This would fail if the entire list was passed, or the configuratio
# This would fail if the entire list was passed, or the configuration
# was committed
send bind10 the command config show Boss/components
last bindctl output should not contain b10-auth
......@@ -153,4 +154,3 @@ Feature: control with bindctl
bind10 module Xfrout should be running
bind10 module Xfrin should be running
bind10 module Zonemgr should be running
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment