pvl/verkko/dhcp.py
changeset 184 eef756d892e9
parent 178 f9f5e669bace
child 207 c985d2c788ea
--- a/pvl/verkko/dhcp.py	Sat Jan 26 22:18:16 2013 +0200
+++ b/pvl/verkko/dhcp.py	Sat Jan 26 22:18:40 2013 +0200
@@ -3,7 +3,7 @@
 import pvl.verkko.web
 
 from pvl.web import html, urls
-from pvl.verkko import hosts
+from pvl.verkko import hosts, leases
 
 import logging; log = logging.getLogger('pvl.verkko.dhcp')
 
@@ -68,5 +68,6 @@
         urls.rule('/hosts/',                 hosts.ListHandler),
         urls.rule('/hosts/<int:id>',         hosts.ItemHandler),
         urls.rule('/hosts/realtime',         hosts.RealtimeHandler),
+        urls.rule('/leases/',                leases.ListHandler),
     ))