mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
Merge pull request #1092 from GNS3/fix_vpcs_name
Fix the initial startup for VPCS is not used
This commit is contained in:
commit
799a2d376e
6 files changed
+29
-6
No files matched your search
@@ -325,11 +325,12 @@ class Project:
|
||||
Create a node from an appliance
|
||||
"""
|
||||
try:
|
||||
template = copy.copy(self.controller.appliances[appliance_id].data)
|
||||
template = self.controller.appliances[appliance_id].data
|
||||
except KeyError:
|
||||
msg = "Appliance {} doesn't exist".format(appliance_id)
|
||||
log.error(msg)
|
||||
raise aiohttp.web.HTTPNotFound(text=msg)
|
||||
print(template)
|
||||
template["x"] = x
|
||||
template["y"] = y
|
||||
node_type = template.pop("node_type")
|
||||
|
||||
Reference in new issue
Block a user