Commit 85946ee1 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

removed old test script


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@721 e5f2f494-b856-4b98-b285-d166d9295462
parent 78a0005a
import isc
cc = isc.cc.Session()
cc.group_subscribe("ConfigManager")
cmd = { "command": [ "zone", "add", "vix.com" ] }
print("Sending:")
print(cmd)
cc.group_sendmsg(cmd, "ConfigManager")
data, routing = cc.group_recvmsg(False)
print("Answer:")
print(data)
cmd = { "command": [ "zone", "add", "tjeb.nl" ] }
print("Sending:")
print(cmd)
cc.group_sendmsg(cmd, "ConfigManager")
data, routing = cc.group_recvmsg(False)
print("Answer:")
print(data)
cmd = { "command": [ "zone", "add", "flame.org" ] }
print("Sending:")
print(cmd)
cc.group_sendmsg(cmd, "ConfigManager")
data, routing = cc.group_recvmsg(False)
print("Answer:")
print(data)
cmd = { "command": [ "zone", "list" ] }
print("Sending:")
print(cmd)
cc.group_sendmsg(cmd, "ConfigManager")
data, routing = cc.group_recvmsg(False)
print("Answer:")
print(data)
cmd = { "command": [ "zone", "remove", "flame.org" ] }
print("Sending:")
print(cmd)
cc.group_sendmsg(cmd, "ConfigManager")
data, routing = cc.group_recvmsg(False)
print("Answer:")
print(data)
cmd = { "command": [ "zone", "list" ] }
print("Sending:")
print(cmd)
cc.group_sendmsg(cmd, "ConfigManager")
data, routing = cc.group_recvmsg(False)
print("Answer:")
print(data)
cmd = { "command": [ "zone", "bad_command", "foo" ] }
print("Sending:")
print(cmd)
cc.group_sendmsg(cmd, "ConfigManager")
data, routing = cc.group_recvmsg(False)
print("Answer:")
print(data)
cmd = { "command": [ "bad_module", "bad_command", "foo" ] }
print("Sending:")
print(cmd)
cc.group_sendmsg(cmd, "ConfigManager")
data, routing = cc.group_recvmsg(False)
print("Answer:")
print(data)
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