def _destroyExternalAccess(self): if not self.getExternalAccess(): return if not self.getExternalAccessPort(): return vtun.destroy(self.getExternalAccessHost(), self.getExternalAccessPort()) self._unassignVtunData()
def _destroyExternalAccess(self): if not self.getExternalAccess(): return host = self.getExternalAccessHost() if not host: return port = self.getExternalAccessPort() if port: vtun.destroy(host, port) self._unassignVtunData()