mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
parent
93fe66a253
commit
fb6a95f7bb
@ -327,13 +327,15 @@ def _convert_1_3_later(topo, topo_path):
|
|||||||
node["node_type"] = "frame_relay_switch"
|
node["node_type"] = "frame_relay_switch"
|
||||||
node["symbol"] = ":/symbols/frame_relay_switch.svg"
|
node["symbol"] = ":/symbols/frame_relay_switch.svg"
|
||||||
node["console_type"] = None
|
node["console_type"] = None
|
||||||
elif old_node["type"] in ["C1700", "C2600", "C2691", "C3600", "C3725", "C3745", "C7200", "EtherSwitchRouter"]:
|
elif old_node["type"] in ["C1700", "C2600", "C2691", "C3600", "C3620", "C3640", "C3660", "C3725", "C3745", "C7200", "EtherSwitchRouter"]:
|
||||||
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.get("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 node["properties"]["platform"].startswith("c36"):
|
||||||
|
node["properties"]["platform"] = "c3600"
|
||||||
if "ram" not in node["properties"] and old_node["type"].startswith("C"):
|
if "ram" not in node["properties"] and old_node["type"].startswith("C"):
|
||||||
node["properties"]["ram"] = PLATFORMS_DEFAULT_RAM[old_node["type"].lower()]
|
node["properties"]["ram"] = PLATFORMS_DEFAULT_RAM[old_node["type"].lower()]
|
||||||
elif old_node["type"] == "VMwareVM":
|
elif old_node["type"] == "VMwareVM":
|
||||||
|
Loading…
Reference in New Issue
Block a user