]> git.llucax.com Git - software/pymin.git/blobdiff - config.py
Factored out a lot of common code.
[software/pymin.git] / config.py
index 2addc6823caeee0252b641511d616dd24e30cf08..a0f1c45dd1bc855ed69dc7208428da8d0c75532d 100644 (file)
--- a/config.py
+++ b/config.py
@@ -10,11 +10,26 @@ 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',
     ),
+    dns = DnsHandler(
+        pickle_dir = 'var/lib/pymin/pickle/dns',
+        config_dir = 'var/lib/pymin/config/dns',
+    ),
+    firewall = FirewallHandler(
+        pickle_dir = 'var/lib/pymin/pickle/firewall',
+        config_dir = 'var/lib/pymin/config/firewall',
+    ),
+    ip = IpHandler(
+        pickle_dir = 'var/lib/pymin/pickle/ip',
+        config_dir = 'var/lib/pymin/config/ip',
+    ),
+    proxy = ProxyHandler(
+        pickle_dir = 'var/lib/pymin/pickle/proxy',
+        config_dir = 'var/lib/pymin/config/proxy',
+    ),
 )
 
 bind_addr = \