Fix conflict issue between the GNS3VM and a remote server

pull/774/head
Julien Duponchelle 8 years ago
parent b9e7ccc14f
commit 786159110e
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -241,6 +241,11 @@ class Controller:
if (compute_id == 'local' or compute_id == 'vm') and not force:
return None
# It seem we have error with a gns3vm imported as a remote server and conflict
# with GNS3 VM settings. That's why we ignore server name gns3vm
if name == 'gns3vm':
return None
for compute in self._computes.values():
if name and compute.name == name:
raise aiohttp.web.HTTPConflict(text='Compute name "{}" already exists'.format(name))

Loading…
Cancel
Save