Commit bd2ec1db authored by Likun Zhang's avatar Likun Zhang
Browse files

Remove the print_message and print_settings from the Xfrin spec and the...

Remove the print_message and print_settings from the Xfrin spec and the handlers from the code. (As request in ticket 136)

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1682 e5f2f494-b856-4b98-b285-d166d9295462
parent 96f1c6dc
......@@ -329,13 +329,6 @@ class Xfrin():
# TODO, process new config data
return create_answer(0)
def _print_settings(self):
full_config = self._cc.get_full_config()
for item in full_config:
print(item + ":" + str(full_config[item]))
def shutdown(self):
''' shutdown the xfrin process. the thread which is doing xfrin should be
terminated.
......@@ -352,13 +345,7 @@ class Xfrin():
answer = create_answer(0)
cmd = command
try:
if cmd == 'print_message':
print(args)
elif cmd == 'print_settings':
self._print_settings()
elif cmd == 'shutdown':
if cmd == 'shutdown':
self._shutdown_event.set()
elif cmd == 'retransfer':
......
......@@ -10,22 +10,7 @@
}
],
"commands": [
{
"command_name": "print_message",
"command_description": "Print the given message to stdout",
"command_args": [ {
"item_name": "message",
"item_type": "string",
"item_optional": False,
"item_default": ""
} ]
},
{
"command_name": "print_settings",
"command_description": "Print some_string and some_int to stdout",
"command_args": []
},
{
{
'command_name': 'retransfer',
"command_description": 'retransfer a single zone without checking zone serial number',
'command_args': [ {
......
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