and this too
This commit is contained in:
parent
ca594b09dd
commit
8cb29762a7
@ -151,6 +151,7 @@ class Tunnel(object):
|
|||||||
self.client = None
|
self.client = None
|
||||||
self.server = None
|
self.server = None
|
||||||
self.endpoint = None
|
self.endpoint = None
|
||||||
|
self.ra = None
|
||||||
self.ra_provider = None
|
self.ra_provider = None
|
||||||
self.allocations = {} # This is a dict of {}[alloc.id] = Allocation obj (as provided by HE)
|
self.allocations = {} # This is a dict of {}[alloc.id] = Allocation obj (as provided by HE)
|
||||||
self.assignments = [] # This is a list of Assignment objs
|
self.assignments = [] # This is a list of Assignment objs
|
||||||
|
@ -168,9 +168,9 @@ class TunnelBroker(object):
|
|||||||
ipr.close()
|
ipr.close()
|
||||||
raise e
|
raise e
|
||||||
ipr.close()
|
ipr.close()
|
||||||
if self.tun.ra_provider:
|
if self.tun.ra:
|
||||||
self.tun.radvd.conf.write()
|
self.tun.ra.conf.write()
|
||||||
self.tun.radvd.svc.restart()
|
self.tun.ra.svc.restart()
|
||||||
return(None)
|
return(None)
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user