X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dhcp.git/blobdiff_plain/4ac9701f4fd2847f00970f3b1447de95a8a6d655..fa982c0f1c3339e86ed4a69b3e9c735d0df66519:/code/dhcpserver.py diff --git a/code/dhcpserver.py b/code/dhcpserver.py index 3133643..439a6f2 100755 --- a/code/dhcpserver.py +++ b/code/dhcpserver.py @@ -32,6 +32,7 @@ class DhcpBackend: self.database = database sipb_xen_database.connect(create_engine(database)) def findNIC(self, mac): + sipb_xen_database.clear_cache() for i in range(3): try: value = sipb_xen_database.NIC.get_by(mac_addr=mac)