[svn] commit: r133 - in /branches/f2f200910/src: bin/bind-cfgd bin/bind-cfgd.in lib/bind-cfgd/bind-cfgd.py

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Oct 27 23:59:15 UTC 2009


Author: jelte
Date: Tue Oct 27 23:59:15 2009
New Revision: 133

Log:
oops, added bind-cfgd instead of bind-cfgd.in

Added:
    branches/f2f200910/src/bin/bind-cfgd.in
Removed:
    branches/f2f200910/src/bin/bind-cfgd
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 Tue Oct 27 23:59:15 2009
@@ -1,2 +1,24 @@
+import ISC
 
-print "Hello, BIND10 world!"
+class ConfigManager:
+    def __init__(self):
+        self.cc = ISC.CC.Session()
+
+    def read_config(self, filename):
+        pass
+
+    def write_config(self, filename):
+        pass
+
+    def run(self):
+        while (True):
+            pass
+
+if __name__ == "__main__":
+    print "Hello, BIND10 world!"
+    try:
+        cm = ConfigManager()
+        cm.run()
+    except socket.error:
+        print "Error creating config manager, "\
+              "is the command channel daemon running?"




More information about the bind10-changes mailing list