Commit 8f9a4c38 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

use subtype=meonly for channel subscriptions in bigtool (i think it currently...

use subtype=meonly for channel subscriptions in bigtool (i think it currently only wants responses, not other chatter)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@269 e5f2f494-b856-4b98-b285-d166d9295462
parent d7827f22
......@@ -32,9 +32,9 @@ def _prepare_fake_data(bigtool):
if __name__ == '__main__':
try:
cc = ISC.CC.Session()
cc.group_subscribe("BigTool")
cc.group_subscribe("ConfigManager")
cc.group_subscribe("Boss")
cc.group_subscribe("BigTool", "*", "meonly")
cc.group_subscribe("ConfigManager", "*", "meonly")
cc.group_subscribe("Boss", "*", "meonly")
tool = BigTool(cc)
_prepare_fake_data(tool)
......
......@@ -103,6 +103,7 @@ class Session:
return self._sequence
def group_subscribe(self, group, instance = "*", subtype = "normal"):
"""subtype can be 'normal' or 'meonly'"""
self.sendmsg({
"type": "subscribe",
"group": group,
......
Supports Markdown
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