Import project on the GNS3VM should work

This commit is contained in:
Julien Duponchelle committed 2016-07-22 16:05:22 +02:00
1 parent 19b035d7e4
commit fec3694710
4 files changed
+67 -2

No files matched your search

+2
View File
@@ -240,6 +240,8 @@ class Controller:
server_config = Config.instance().get_section_config("Server")
if compute_id == "local" and server_config.getboolean("local", False) is False:
raise aiohttp.web.HTTPNotFound(text="You try to use a node on the local server but the controller is not started with --local")
elif compute_id == "vm":
raise aiohttp.web.HTTPNotFound(text="You try to use a node on the GNS3 VM server but the GNS3 is not configured")
raise aiohttp.web.HTTPNotFound(text="Compute ID {} doesn't exist".format(compute_id))
@asyncio.coroutine