[svn] commit: r269 - in /branches/f2f200910/src: bin/bigtool/run_bigtool.py lib/cc/python/ISC/CC/session.py

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Oct 30 23:30:27 UTC 2009


Author: jelte
Date: Fri Oct 30 23:30:27 2009
New Revision: 269

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

Modified:
    branches/f2f200910/src/bin/bigtool/run_bigtool.py
    branches/f2f200910/src/lib/cc/python/ISC/CC/session.py

Modified: branches/f2f200910/src/bin/bigtool/run_bigtool.py
==============================================================================
--- branches/f2f200910/src/bin/bigtool/run_bigtool.py (original)
+++ branches/f2f200910/src/bin/bigtool/run_bigtool.py Fri Oct 30 23:30:27 2009
@@ -32,9 +32,9 @@
 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)   

Modified: branches/f2f200910/src/lib/cc/python/ISC/CC/session.py
==============================================================================
--- branches/f2f200910/src/lib/cc/python/ISC/CC/session.py (original)
+++ branches/f2f200910/src/lib/cc/python/ISC/CC/session.py Fri Oct 30 23:30:27 2009
@@ -103,6 +103,7 @@
         return self._sequence
 
     def group_subscribe(self, group, instance = "*", subtype = "normal"):
+        """subtype can be 'normal' or 'meonly'"""
         self.sendmsg({
             "type": "subscribe",
             "group": group,




More information about the bind10-changes mailing list