mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-19 12:57:56 +00:00
parent
0caf74443b
commit
acd1d95a8e
@ -248,7 +248,7 @@ def _convert_1_3_later(topo, topo_path):
|
|||||||
if node["symbol"] is None:
|
if node["symbol"] is None:
|
||||||
node["symbol"] = ":/symbols/router.svg"
|
node["symbol"] = ":/symbols/router.svg"
|
||||||
node["node_type"] = "dynamips"
|
node["node_type"] = "dynamips"
|
||||||
node["properties"]["dynamips_id"] = old_node["dynamips_id"]
|
node["properties"]["dynamips_id"] = old_node.get("dynamips_id")
|
||||||
if "platform" not in node["properties"] and old_node["type"].startswith("C"):
|
if "platform" not in node["properties"] and old_node["type"].startswith("C"):
|
||||||
node["properties"]["platform"] = old_node["type"].lower()
|
node["properties"]["platform"] = old_node["type"].lower()
|
||||||
if "ram" not in node["properties"] and old_node["type"].startswith("C"):
|
if "ram" not in node["properties"] and old_node["type"].startswith("C"):
|
||||||
|
Loading…
Reference in New Issue
Block a user