From 8f9a4c381f8bf8d829611d606d25e3bff9ac63df Mon Sep 17 00:00:00 2001 From: Jelte Jansen Date: Fri, 30 Oct 2009 23:30:27 +0000 Subject: [PATCH] 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 --- src/bin/bigtool/run_bigtool.py | 6 +++--- src/lib/cc/python/ISC/CC/session.py | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bin/bigtool/run_bigtool.py b/src/bin/bigtool/run_bigtool.py index e5c436454d..c15310d120 100644 --- a/src/bin/bigtool/run_bigtool.py +++ b/src/bin/bigtool/run_bigtool.py @@ -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) diff --git a/src/lib/cc/python/ISC/CC/session.py b/src/lib/cc/python/ISC/CC/session.py index 80d1f6d78e..b285127c74 100644 --- a/src/lib/cc/python/ISC/CC/session.py +++ b/src/lib/cc/python/ISC/CC/session.py @@ -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,