]> git.llucax.com Git - software/pymin.git/blobdiff - config.py
DhcpHandler documentation and improvements.
[software/pymin.git] / config.py
index 93a6b7b380b0d35cf5eb68d71f001461f4f7a002..f433170dae6664ee393ad2e20a2f7bc232a33bcf 100644 (file)
--- a/config.py
+++ b/config.py
@@ -1,5 +1,7 @@
 # vim: set et sts=4 sw=4 encoding=utf-8 :
 
+from services import *
+
 # XXX for testing only
 def test_func(*args):
     print 'func:', args
@@ -7,6 +9,10 @@ def test_func(*args):
 routes = dict \
 (
     test = test_func,
+    dhcp = DhcpHandler(
+        pickle_dir = 'var/lib/pymin/pickle/dhcp',
+        config_dir = 'var/lib/pymin/config/dhcp',
+    ),
 )
 
 bind_addr = \