From 63a92c4a161decd60f2abc22b7733bc4d752ea77 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Fri, 11 Nov 2016 17:07:20 +0100 Subject: [PATCH] Require ubridge 0.9.7 this fix error with IOL bridge creation Fix https://github.com/GNS3/gns3-gui/issues/1651 --- gns3server/ubridge/hypervisor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gns3server/ubridge/hypervisor.py b/gns3server/ubridge/hypervisor.py index e54ce54b..7e706ede 100644 --- a/gns3server/ubridge/hypervisor.py +++ b/gns3server/ubridge/hypervisor.py @@ -131,15 +131,15 @@ class Hypervisor(UBridgeHypervisor): @asyncio.coroutine def _check_ubridge_version(self): """ - Checks if the ubridge executable version is >= 0.9.5 + Checks if the ubridge executable version """ try: output = yield from subprocess_check_output(self._path, "-v", cwd=self._working_dir) match = re.search("ubridge version ([0-9a-z\.]+)", output) if match: self._version = match.group(1) - if parse_version(self._version) < parse_version("0.9.6"): - raise UbridgeError("uBridge executable version must be >= 0.9.6") + if parse_version(self._version) < parse_version("0.9.7"): + raise UbridgeError("uBridge executable version must be >= 0.9.7") else: raise UbridgeError("Could not determine uBridge version for {}".format(self._path)) except (OSError, subprocess.SubprocessError) as e: