GNS3
http://forum.gns3.net/

*NEW* GNS3 Topology Converter
http://forum.gns3.net/topic11562.html
Page 1 of 4

Author:  claydon_dan [ Mon Aug 11, 2014 11:40 am ]
Post subject:  *NEW* GNS3 Topology Converter

I am pleased to announce that I've finally managed to release the first version of gns3-converter.

Current Version: Image
License: Image

What is gns3-converter
GNS3 Converter is designed to convert old ini-style GNS3 topologies (<=0.8.7) to the newer version v1+ JSON format for use in GNS3 v1+

How do I get it?
If you are on Linux... the easiest way to install gns3-converter is to use the pip command.
Code:
pip3 install gns3-converter


If you are on Windows... https://github.com/dlintott/gns3-converter/releases

If you are on Mac... Thankyou to ddarby for these instruction:
ddarby wrote:
Installing Python 3.4+ from https://www.python.org/downloads/ will also install pip and then gns3-converter can be installed in the same way as on Linux.

How do I use it
Rather than retyping it all here I'd suggest taking a look at the documentation here: http://gns3-converter.readthedocs.org/en/latest/

I've found a bug
Well done! I expect there will be lots more! Bugs can reported over at GitHub: https://github.com/dlintott/gns3-converter/issues

Author:  taurus8 [ Sat Aug 16, 2014 10:54 am ]
Post subject:  Re: *NEW* GNS3 Topology Converter

Hi sir ,
How can i install it in my Linux LMDE , should i compile it ?

Author:  taurus8 [ Sat Aug 16, 2014 11:00 am ]
Post subject:  Re: *NEW* GNS3 Topology Converter

well , i have downloaded source link from here https://github.com/dlintott/gns3-conver ... 1.0.tar.gz
then extracted it , then i typed python3.3 setup.py install
it looks it is being installed

Author:  taurus8 [ Sat Aug 16, 2014 11:03 am ]
Post subject:  Re: *NEW* GNS3 Topology Converter

i do not know how can i lunch it ?
what should i type ?

Author:  taurus8 [ Sat Aug 16, 2014 11:17 am ]
Post subject:  Re: *NEW* GNS3 Topology Converter

can you show me an example to covert ?

Attachments:
converter.png
converter.png [ 101.64 KiB | Viewed 23054 times ]

Author:  claydon_dan [ Sat Aug 16, 2014 11:55 am ]
Post subject:  Re: *NEW* GNS3 Topology Converter

See the following page: http://gns3-converter.readthedocs.org/e ... usage.html

Author:  taurus8 [ Sun Aug 17, 2014 1:34 pm ]
Post subject:  Re: *NEW* GNS3 Topology Converter

hi Sir
when i want to covert .net file i receive following error

Attachments:
converter error.png
converter error.png [ 99 KiB | Viewed 23007 times ]

Author:  ddarby [ Sun Aug 17, 2014 6:14 pm ]
Post subject:  Re: *NEW* GNS3 Topology Converter

taurus8 wrote:
when i want to covert .net file i receive following error

This also happened to me, the converter seems to be trying to process 'NOTE' and 'SHAPE' elements from the old topology as devices. A quick fix is to change line 70 of topology.py, found in the gns3-converter package folder, to:
Code:
        if instance != 'GNS3-DATA' and 'NOTE' and 'SHAPE' and \

This makes the converter ignore these elements and continue as 'normal' ('NOTE' and 'SHAPE' elements are just annotation and are not needed for the topology to function). Alternatively you could delete them from the old topologies topology.net file before attempting conversion.

claydon_dan wrote:
If you are on Mac... Suggestions gratefully received!

Installing Python 3.4+ from https://www.python.org/downloads/ will also install pip and then gns3-converter can be installed in the same way as on Linux.

Author:  claydon_dan [ Sun Aug 17, 2014 7:55 pm ]
Post subject:  Re: *NEW* GNS3 Topology Converter

Thanks for the report! I knew there would something that I'd missed (very difficult to imagine all the combinations that might appear in a topology!)

I shall endeavour to get the 'NOTE' and 'SHAPE' bug fixed in the next few days (https://github.com/dlintott/gns3-converter/issues/1)

Thank you for the feedback!

Author:  ddarby [ Sun Aug 17, 2014 8:57 pm ]
Post subject:  Re: *NEW* GNS3 Topology Converter

No problem! Many thanks for the converter, it's a massive time saver.

Page 1 of 4 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/