Fix bug with dhcp close
This commit is contained in:
parent
751414d2a3
commit
fc8a2e1806
|
@ -50,6 +50,8 @@ class VXNetworkInstance():
|
|||
|
||||
self.firewall_rules = {}
|
||||
|
||||
self.dhcp_server = None
|
||||
|
||||
self.createNetwork()
|
||||
|
||||
# Zookeper handlers for changed states
|
||||
|
@ -223,4 +225,5 @@ class VXNetworkInstance():
|
|||
)
|
||||
|
||||
def stopDHCPServer(self):
|
||||
if self.dhcp_server:
|
||||
self.dhcp_server.close()
|
||||
|
|
Loading…
Reference in New Issue