Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.0.0b4] Unable to open projects with IOU created in 1.5.3 #1868

Closed
bpozdena opened this issue Feb 19, 2017 · 8 comments
Closed

[2.0.0b4] Unable to open projects with IOU created in 1.5.3 #1868

bpozdena opened this issue Feb 19, 2017 · 8 comments
Assignees
Labels
Milestone

Comments

@bpozdena
Copy link

Hi,

when I open projects from 1.5.3 on 2.0.0b4, the file is converted with no errors. However all IOU devices change icons to PC (null) and all interfaces change names incorrectly.

I tried to manually edit the file, but I could not make it work properly. I just started the project from scratch. But I wanted to report it...

Windows 10/GNS3 2.0.0b4
Sairus

After conversion:
},
"name": "IOU1",
"node_id": "99399dc5-33ba-44d7-b506-edd78fb6fbe2",
"node_type": "iou",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"properties": {
"ethernet_adapters": 4,
"l1_keepalives": false,
"md5sum": "3020c63259dd3fc7b8eaf66855ebf2a1",
"nvram": 128,
"path": "image.bin",
"ram": 256,
"serial_adapters": 0,
"startup_config": "startup-config.cfg",
"use_default_iou_values": true
},
"symbol": null,
"x": -165,
"y": -77,
"z": 1
},

WHen I create a new project with IOU the format is correct:
},
"name": "IOU1",
"node_id": "bf9b43f0-c001-4462-b2f1-51fa4b11327b",
"node_type": "iou",
"port_name_format": "Ethernet{segment0}/{port0}",
"port_segment_size": 4,
"properties": {
"ethernet_adapters": 4,
"l1_keepalives": false,
"md5sum": "3020c63259dd3fc7b8eaf66855ebf2a1",
"nvram": 128,
"path": "image.bin",
"private_config": null,
"private_config_content": null,
"ram": 256,
"serial_adapters": 0,
"startup_config": "startup-config.cfg",
"startup_config_content": "removed",
"use_default_iou_values": true
},
"symbol": ":/symbols/multilayer_switch.svg",
"width": 51,
"x": 124,
"y": 276,
"z": 1
},

@grossmj grossmj added this to the 2.0 milestone Feb 20, 2017
@julien-duponchelle
Copy link
Contributor

Can you share your .gns3 before conversion?

Thanks

@bpozdena
Copy link
Author

project.gns3.txt
Here it is as I saved it in 153.

@julien-duponchelle julien-duponchelle self-assigned this Feb 20, 2017
@julien-duponchelle
Copy link
Contributor

I think the syntax for the port name format is Ethernet{segment0}/{port0}. I will fix the conversion process

@bpozdena
Copy link
Author

When I manually edited the IOU devices with "port_name_format": "Ethernet{segment0}/{port0}" , the interfaces were named as Ethernet0/0, Ethernet1/1, Ethernet2/2 and so on. While these IOU devices actually have modules installed, each with four interfaces. The interface names should be Ethernet0/0, Ethernet0/1, Ethernet0/2...Ethernet4/0, Ethernet4/1 and so no depending on the number of modules.

It works great in new projects created in 2.0.0b4 but not after conversion from 153.

@julien-duponchelle
Copy link
Contributor

port_segment_size should be 4

@julien-duponchelle
Copy link
Contributor

The original file was created with which version of GNS3?

julien-duponchelle added a commit to GNS3/gns3-server that referenced this issue Feb 20, 2017
@julien-duponchelle
Copy link
Contributor

Thanks for the report I fixed the conversions issues.

@bpozdena
Copy link
Author

Yes, I missed that. port_segment_size should be 4 - Thanks.
The original was created in 1.5.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants