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

move 'lib' part of bind-cfgd into src/lib/bind-cfgd/python/

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent f70b2d9f
#!/bin/sh #!/bin/sh
# use build time srcdir for now # use build time srcdir for now
BINPATH=@abs_top_srcdir@/src/lib/bind-cfgd BINPATH=@abs_top_srcdir@/src/lib/bind-cfgd/python
LIBPATH=@abs_top_srcdir@/src/lib/cc/python LIBPATH=@abs_top_srcdir@/src/lib/cc/python
import ISC import ISC
class ConfigData:
def __init__(self):
self.zones = {}
def add_zone(self, zone_name, zone_file):
self.zones[zone_name] = zone_file
def remove_zone(self, zone_name):
del self.zones[zone_name]
class ConfigManager: class ConfigManager:
def __init__(self): def __init__(self): = ISC.CC.Session() = ISC.CC.Session()"ConfigManager")"ConfigManager")
def read_config(self, filename): def read_config(self, filename):
pass pass
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