It is currently Sun Nov 19, 2017 7:56 pm


All times are UTC




Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: *NEW* GNS3 Topology Converter
PostPosted: Mon Aug 11, 2014 11:40 am 
Offline

Joined: Sun Sep 16, 2012 9:55 pm
Posts: 541
Location: England
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



_________________
Daniel
Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS.
Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!


Top
 Profile  
 
 Post subject: Re: *NEW* GNS3 Topology Converter
PostPosted: Sat Aug 16, 2014 10:54 am 
Offline

Joined: Mon Jun 02, 2014 12:14 pm
Posts: 49
Hi sir ,
How can i install it in my Linux LMDE , should i compile it ?


Top
 Profile  
 
 Post subject: Re: *NEW* GNS3 Topology Converter
PostPosted: Sat Aug 16, 2014 11:00 am 
Offline

Joined: Mon Jun 02, 2014 12:14 pm
Posts: 49
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


Top
 Profile  
 
 Post subject: Re: *NEW* GNS3 Topology Converter
PostPosted: Sat Aug 16, 2014 11:03 am 
Offline

Joined: Mon Jun 02, 2014 12:14 pm
Posts: 49
i do not know how can i lunch it ?
what should i type ?


Top
 Profile  
 
 Post subject: Re: *NEW* GNS3 Topology Converter
PostPosted: Sat Aug 16, 2014 11:17 am 
Offline

Joined: Mon Jun 02, 2014 12:14 pm
Posts: 49
can you show me an example to covert ?


Attachments:
converter.png
converter.png [ 101.64 KiB | Viewed 20281 times ]
Top
 Profile  
 
 Post subject: Re: *NEW* GNS3 Topology Converter
PostPosted: Sat Aug 16, 2014 11:55 am 
Offline

Joined: Sun Sep 16, 2012 9:55 pm
Posts: 541
Location: England
See the following page: http://gns3-converter.readthedocs.org/e ... usage.html

_________________
Daniel
Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS.
Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!


Top
 Profile  
 
 Post subject: Re: *NEW* GNS3 Topology Converter
PostPosted: Sun Aug 17, 2014 1:34 pm 
Offline

Joined: Mon Jun 02, 2014 12:14 pm
Posts: 49
hi Sir
when i want to covert .net file i receive following error


Attachments:
converter error.png
converter error.png [ 99 KiB | Viewed 20234 times ]
Top
 Profile  
 
 Post subject: Re: *NEW* GNS3 Topology Converter
PostPosted: Sun Aug 17, 2014 6:14 pm 
Offline

Joined: Sun Aug 17, 2014 4:02 pm
Posts: 2
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.


Top
 Profile  
 
 Post subject: Re: *NEW* GNS3 Topology Converter
PostPosted: Sun Aug 17, 2014 7:55 pm 
Offline

Joined: Sun Sep 16, 2012 9:55 pm
Posts: 541
Location: England
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!

_________________
Daniel
Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS.
Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!


Top
 Profile  
 
 Post subject: Re: *NEW* GNS3 Topology Converter
PostPosted: Sun Aug 17, 2014 8:57 pm 
Offline

Joined: Sun Aug 17, 2014 4:02 pm
Posts: 2
No problem! Many thanks for the converter, it's a massive time saver.




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO