mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 06:21:15 +02:00
If we don't have a GNS3 VM on linux don't move file to it
This commit is contained in:
4 files changed
+61
-5
No files matched your search
@@ -244,6 +244,12 @@ class Controller:
|
||||
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))
|
||||
|
||||
def has_compute(self, compute_id):
|
||||
"""
|
||||
Return True if the compute exist in the controller
|
||||
"""
|
||||
return compute_id in self._computes
|
||||
|
||||
@asyncio.coroutine
|
||||
def add_project(self, project_id=None, name=None, **kwargs):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user