Commit f44c0e00 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

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


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@133 e5f2f494-b856-4b98-b285-d166d9295462
parent 1b1b49fa
# use build time srcdir for now
BINPATH=/home/jelte/repos/bind10/branches/f2f200910/src/lib/bind-cfgd
LIBPATH=/home/jelte/repos/bind10/branches/f2f200910/src/lib
PYTHONPATH=${LIBPATH}:${PYTHONPATH}
python ${BINPATH}/bind-cfgd.py
#!/bin/sh
# use build time srcdir for now
BINPATH=@abs_top_srcdir@/src/lib/bind-cfgd
LIBPATH=@abs_top_srcdir@/src/lib/cc/python
PYTHONPATH=${LIBPATH}:${PYTHONPATH} python ${BINPATH}/bind-cfgd.py
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?"
Markdown is supported
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