[svn] commit: r135 - /branches/f2f200910/src/lib/bind-cfgd/bind-cfgd.py
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Oct 28 00:19:53 UTC 2009
Author: jelte
Date: Wed Oct 28 00:19:53 2009
New Revision: 135
Log:
listen to ConfigManager channel for commands
Modified:
branches/f2f200910/src/lib/bind-cfgd/bind-cfgd.py
Modified: branches/f2f200910/src/lib/bind-cfgd/bind-cfgd.py
==============================================================================
--- branches/f2f200910/src/lib/bind-cfgd/bind-cfgd.py (original)
+++ branches/f2f200910/src/lib/bind-cfgd/bind-cfgd.py Wed Oct 28 00:19:53 2009
@@ -3,6 +3,7 @@
class ConfigManager:
def __init__(self):
self.cc = ISC.CC.Session()
+ self.cc.group_subscribe("ConfigManager")
def read_config(self, filename):
pass
@@ -12,6 +13,9 @@
def run(self):
while (True):
+ env, msg = self.cc.group_recvmsg(False)
+ print "message: "
+ print msg
pass
if __name__ == "__main__":
More information about the bind10-changes
mailing list