1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00

Ignore console_hsot when loading topologie

This commit is contained in:
Julien Duponchelle 2017-05-22 11:42:50 +02:00
parent 624a2c02c5
commit bdd980d6a2
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -400,7 +400,7 @@ def _convert_1_3_later(topo, topo_path):
raise NotImplementedError("Conversion of {} is not supported".format(old_node["type"])) raise NotImplementedError("Conversion of {} is not supported".format(old_node["type"]))
for prop in old_node.get("properties", {}): for prop in old_node.get("properties", {}):
if prop not in ["console", "name", "console_type", "use_ubridge"]: if prop not in ["console", "name", "console_type", "console_host", "use_ubridge"]:
node["properties"][prop] = old_node["properties"][prop] node["properties"][prop] = old_node["properties"][prop]
node_id_to_node_uuid[old_node["id"]] = node["node_id"] node_id_to_node_uuid[old_node["id"]] = node["node_id"]