Giter VIP home page Giter VIP logo

gns3-gui's People

Contributors

adriansimionov avatar arkivm avatar boenrobot avatar capncheapo avatar comet0 avatar dependabot[bot] avatar domoninic avatar etiennewan avatar grossmj avatar hrnciar avatar jseutter avatar julien-duponchelle avatar kazkansouh avatar kevinchevreuil avatar masci avatar mend-for-github-com[bot] avatar mgale avatar nasrullahs avatar omadjoudj avatar pyup-bot avatar rajpratik71 avatar rashoodkhan avatar ryanchapman avatar shmygov avatar snyk-bot avatar spikefishjohn avatar twowheeldev avatar ventaquil avatar vidvidex avatar ziajka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gns3-gui's Issues

Exception when show labels

Hi ,
in alpha7 dev2, when i press the show interfaces labels button, i get that exception raise:
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/gns3_gui-1.0a7.dev2-py3.4.egg/gns3/items/ethernet_link_item.py", line 180, in paint
destination_port_name = self._destination_port.name().replace(self._destination_port.longNameType(),
AttributeError: 'Port' object has no attribute 'longNameType'

Closing Gns3... crashes and asks to be forced quit.

Hey,

So when I open gns3 on arch and then close it.... it just hangs and then asks to force quit.

The console in the application itself gives no indication of why it hangs.

but data below is from running from the CLI.

I hope it helps.

[lachlan@Ante-lappy gns3-server-master]$ pip3 freeze
Brlapi==0.6.0
Cython==0.20.1
gns3-gui==1.0a2.dev1
gns3-server==1.0a2.dev1
ipython==2.0.0
louis==2.5.2
pygobject==3.10.2
pyxdg==0.25
pyzmq==14.1.1
tornado==3.2
ws4py==0.3.4
[lachlan@Ante-lappy gns3-server-master]$ gns3
GNS3 GUI version 1.0a2.dev1
Copyright (c) 2007-2014 GNS3 Technologies Inc.
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
INFO:gns3.modules.dynamips:Dynamips module reset
INFO:gns3.modules.iou:IOU module reset
INFO:gns3.topology:topology has been reset
INFO:gns3.main_window:creating temporary topology file: /tmp/gns3-ik6j65qp.net
INFO:gns3.main_window:creating temporary project files directory: /tmp/gns3-ik6j65qp-files
INFO:gns3.modules.dynamips:local working directory for Dynamips module: /tmp/gns3-ik6j65qp-files
INFO:gns3.servers:new local server connection ws://127.0.0.1:8000 registered
INFO:gns3.modules.iou:local working directory for IOU module: /tmp/gns3-ik6j65qp-files
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
Killed

QNativeImage: Unable to attach to shared memory segment.

If I disable DPI settings = 96 under Xubuntu 14.04 Appearance (I had it disabled until today), GNS3 gui will not start anymore.

This problem is present only after the upgrade from today.

I just complain about:

QNativeImage: Unable to attach to shared memory segment.
X Error: BadPixmap (invalid Pixmap parameter) 4
Major opcode: 56 (X_ChangeGC)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0

Traceback error in console as soon as I open GNS3-alpha on windows 8.1 pro 64bit

I have the following traceback errors in console but except this everything works (IOU and IOS images).
Well, it is not really a huge bug, but I wanted to report it.

Thanks and good work.

GNS3 management console. Running GNS3 Early Release (ER) version 1.0-alpha1.
Copyright (c) 2006-2014 GNS3 Project.

=> ---------Traceback lines (saved in exception.log)----------
Traceback (most recent call last):

File "C:\Python33-32bit\lib\site-packages\ws4py\client__init__.py", line 231, in connect

File "C:\Python33-32bit\lib\site-packages\ws4py\client__init__.py", line 284, in process_response_line

ws4py.exc.HandshakeError: Invalid response status: b'404' b'Not Found'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "c:\users\vbox\documents\gns3 build\gns3-gui\gns3\main_window.py", line 741, in startupLoading

File "C:\Python33-32bit\lib\site-packages\ws4py\client__init__.py", line 234, in connect

File "c:\users\vbox\documents\gns3 build\gns3-gui\gns3\websocket_client.py", line 238, in close_connection

AttributeError: 'WebSocketClient' object has no attribute 'fd_notifier'

Alpha3 Doesn't start from CLI or Desktop shortcut.

Hey, so im downloaded the latest packages and it doesn't start now :(
[lachlan@Ante-lappy gns3-builds]$ gns3
Traceback (most recent call last):
File "/usr/bin/gns3", line 9, in <module>
load_entry_point('gns3-gui==1.0-alpha3', 'gui_scripts', 'gns3')()
File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 2363, in load_entry_point
return ep.load()
File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 2088, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named 'gns3'

[lachlan@Ante-lappy ~]$ pip freeze Brlapi==0.6.0 Cython==0.20.1 apache-libcloud==0.14.1 gns3-gui==1.0-alpha3 gns3-server==1.0-alpha3 ipython==2.0.0 jsonschema==2.3.0 louis==2.5.2 py==1.4.20 pygobject==3.12.1 pytest==2.5.2 pyxdg==0.25 pyzmq==14.1.1 tornado==3.2 ws4py==0.3.4

Show/Hide Interface Labels button doesn't Work.

I don't know if this place or gns-server is the best place to open this issue,

I've got the 1.0Alpha1 running on Arch and Windows.

Both versions I click the Show/Hide Interface Labels button and nothing appears?

Is there some kind of logs i can provide to help fix this?

changing device hostname doesn't change "hostname configuration"

There is still one problem left with how the configs are handled...

put a device in, everything goes well, config is parsed and device hostname is the same as the one visible in the topology.

but, if you change the name of the device, (and the server knows it)

[I 140509 12:51:23 router:233] router "R2" [id=2]: renamed to "R3"
[I 140509 12:50:59 iou_device:181] IOU IOU1 [id=1]: renamed to IOU333

even if it is the first boot of the routers, they still keep the old hostname before the name was changed.

Saving Work | Button/Menu grey out.

It's interesting.... when you have made changes to a router/IOU and do the standard...

# wr mem

that the click button is greyed out to save the Config from the NVRAM of the router/IOU device.

This also effects the Save Project button as well from the File menu.

The way I get around this is to move one of the routers physically on the topology a little bit and the Save Project button "un-greys" itself.

Maybe if the button acts as a placebo button that can allow you to save at any time without the need to move a router on the topology would help fix this.

Example 1.
Before moving Topology: http://i.imgur.com/BEI5CqS.png

Example 2.
After moving Topology: http://i.imgur.com/RwF6wNM.png

I hope this makes sense.

Traceback issue on version 1.0a6.dev2.

Following install of version 1.0a6.dev2 on Debian Jessie errors when opening preferences as below:

GNS3 management console. Running GNS3 Early Release (ER) version 1.0a6.dev2.
Copyright (c) 2006-2014 GNS3 Project.

=> ****** Exception detected, traceback information saved in /home/gns3/.config/GNS3/exception.log ******

PLEASE REPORT ON http://forum.gns3.net/development-f14.html OR http://github.com/GNS3/gns3-gui/issues

Traceback (most recent call last):
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/pages/cloud_preferences_page.py", line 23, in import_from_string
module = importlib.import_module(module_path)
File "/usr/lib/python3.3/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1584, in _gcd_import
File "", line 1565, in _find_and_load
File "", line 1532, in _find_and_load_unlocked
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/cloud/rackspace_ctrl.py", line 22, in
ImportError: No module named 'requests'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/main_window.py", line 684, in _preferencesActionSlot
dialog = PreferencesDialog(self)
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/preferences_dialog.py", line 45, in init
self._loadPreferencePages()
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/preferences_dialog.py", line 75, in _loadPreferencePages
cloud_page.loadPreferences()
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/pages/cloud_preferences_page.py", line 104, in loadPreferences
self.provider_controllers[k] = import_from_string(v[1])
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/pages/cloud_preferences_page.py", line 27, in import_from_string
raise ImportError(msg)
ImportError: Could not import 'gns3.cloud.rackspace_ctrl.RackspaceCtrl'.

Gns3 Gui issue

add note , Show /hide interface label ,ATM Switch , Change the Sample of the device are not working. please when i make huge lab i wast my time to know which interface connect to which interface and add note is very important also

[BUG] gns3 console hangs when clicking start router twice ? (ios based routers)

hi all,
first of all i wanna thank the team of developers for the good work,

second, it's been a while since i am having this issue and i suppose it's global
when i start a router (IOS BASED) then enter the console every thing seems to work as expected,
but when i try to start the router a second time (start the router while it's already started)
the console becomes non interactive (can't type anything anymore)
even if i tried restart or suspend then start the router, the console keeps being non interactive.

the only solution that it seems to work. is remove the router then re-create it (but as soon as i click the start button as soon as the IOS is started the console hangs).

PS: i only get this problem in the early release which is currently (GNS3 ER 1.0a4dev2) AND i am using linux mint 32bit.

sometimes when i try to restart the router while is unresponsive i get this error:
"[I 140510 13:09:43 telnet_console:47] starting telnet console "roxterm -n R1 --tab -e telnet 127.0.0.1 2001"
[I 140510 13:09:49 base:213] ZeroMQ client (dynamips) sending JSON-RPC custom error: Lost communication with 0.0.0.0:7200 :[Errno 32] Broken pipe for call id 01d75a46-4544-4bfd-9b9e-11feebed6dce
[E 140510 13:09:49 router:416] error while starting R1: Lost communication with 0.0.0.0:7200 :[Errno 32] Broken pipe
"

[feature request] IOU path - IOU image select

I noticed that selecting the IOU image from the path does not work. It would not be easy to know exactly which file to show based on the extension of the file, as this might differ a lot.

What I noticed is that the first 18 octets of the x86 IOU images I have are always the same:
0 x 7F 45 4C 46 01 01 01 00 00 00 00 00 00 00 00 00 02 00 03 00 01 00 00

One idea would be to filter the files shown in the menu when selecting an IOU image based on the first 18 octets from the beginning of the file. This way you know you are listing only valid x86 IOU files, no matter what the extension is.

don't show "New Project" window on startup

Showing "New Project" window is a non-standard behavior. No application does it this way. A commonly accepted way is to let the user edit the project, document, image or whatever. This window should be saved once the user hits Save.

If the user wants to open an existing project, they will do that with CTRL+O or "Open project" in the toolbar.

If the user wants to open a recently used project, they will use File, Recent Files, which is a commonly accepted place for opening previous files/projects.

The Preferences window does not open anymore

I'm using the latest code and when I click the Edit -> Preferences... menu the window does not open and I receive the following traceback:
=== GNS3 1.0a3.dev2 traceback on 30 Apr 2014 07:19:28 ===
Traceback (most recent call last):

File "/usr/lib/python3.4/site-packages/gns3_gui-1.0a3.dev2-py3.4.egg/gns3/main_window.py", line 675, in _preferencesActionSlot
dialog = PreferencesDialog(self)

File "/usr/lib/python3.4/site-packages/gns3_gui-1.0a3.dev2-py3.4.egg/gns3/preferences_dialog.py", line 45, in init
self._loadPreferencePages()

File "/usr/lib/python3.4/site-packages/gns3_gui-1.0a3.dev2-py3.4.egg/gns3/preferences_dialog.py", line 57, in _loadPreferencePages
general_page.loadPreferences()

File "/usr/lib/python3.4/site-packages/gns3_gui-1.0a3.dev2-py3.4.egg/gns3/pages/general_preferences_page.py", line 183, in loadPreferences
self._populateGeneralSettingWidgets(self._general_settings)

File "/usr/lib/python3.4/site-packages/gns3_gui-1.0a3.dev2-py3.4.egg/gns3/pages/general_preferences_page.py", line 153, in _populateGeneralSettingWidgets
self.uiCheckForUpdateCheckBox.setChecked(settings["check_for_update"])

TypeError: QAbstractButton.setChecked(bool): argument 1 has unexpected type 'str'

[feature request] sniffing for IOU

It would be nice to have sniffing capabilities before the end of May, soon CCIEv5 will be released. I consider that this feature will make a difference.

Please take a look at:
https://github.com/Kveri/IOUsniffer

I do not think this could be hard to implement ... as long as we move the compiled binary to /usr/local/bin folder.

[feature request] - cloud which include another topology

It would be great if we could intergrate a "cloud" feature...

imagine for example, mpls vpns. CE routers connected trough the ISP cloud.
We could have a Main topology where the we would have CE --- CLOUD -- CE

once we click on the cloud, we would basically zoom into it , and access the cloud itself as topology, where for example we could find the ISP routers connected.

i'm not sure if i was able to explain myself ...

gns3 try to start vpcs0.5b with unsupported option

vpcs seems to be up and running in the Interface. Connect to console fails.
GNS3 try to start vpcs with the unsupported option "i".

GNS3 Output

[I 140606 14:51:19 vpcs_device:345] starting VPCS: ['/usr/bin/vpcs', '-p', '4513', '-s', '20001', '-c', '10001', '-t', '10.13.37.50', '-m', '2', '-i', '1', '-F', 'startup.vpc']
[I 140606 14:51:19 vpcs_device:347] logging to /tmp/gns3-sguh5nyz-files/vpcs/pc-2/vpcs.log
[I 140606 14:51:19 vpcs_device:357] VPCS instance 2 started PID=14906
[I 140606 14:51:19 vpcs_device:345] starting VPCS: ['/usr/bin/vpcs', '-p', '4512', '-s', '20002', '-c', '10002', '-t', '10.13.37.50', '-m', '1', '-i', '1', '-F', 'startup.vpc']
[I 140606 14:51:19 vpcs_device:347] logging to /tmp/gns3-sguh5nyz-files/vpcs/pc-1/vpcs.log
[I 140606 14:51:19 vpcs_device:357] VPCS instance 1 started PID=14907
[I 140606 14:51:19 vpcs_device:252] VPCS2 has started
[I 140606 14:51:19 vpcs_device:252] VPCS1 has started
[I 140606 14:51:19 router:370] router "R1" [id=1] has been started
[I 140606 14:51:19 router:434] R1 has started
[I 140606 14:51:22 telnet_console:47] starting telnet console "konsole --new-tab -p tabtitle=VPCS2 -e telnet 10.13.37.50 4513"
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
konsole(14909) Konsole::KeyboardTranslatorReader::readNext: Key "Space+Ctrl" , Command """" not understood.
[I 140606 14:51:51 vpcs_device:283] VPCS2 has stopped
[I 140606 14:51:51 vpcs_device:283] VPCS1 has stopped


/tmp/gns3-sguh5nyz-files/vpcs/pc-1/vpcs.log

/usr/bin/vpcs: invalid option -- 'i'

Welcome to Virtual PC Simulator, version 0.5b0
Dedicated to Daling.
Build time: May 29 2014 03:40:31
Copyright (c) 2007-2013, Paul Meng ([email protected])
All rights reserved.

VPCS is free software, distributed under the terms of the "BSD" licence.
Source code and license can be found at vpcs.sf.net.
For more information, please visit wiki.freecode.com.cn.

usage: vpcs [options] [scriptfile]
Option:
-h print this help then exit
-v print version information then exit

-p port    run as a daemon listening on the tcp 'port'
-m num     start byte of ether address, default from 0
-r file    load and execute script file
           compatible with older versions, DEPRECATED.

-e         tap mode, using /dev/tapx (linux only)
-u         udp mode, default

udp mode options:
-s port local udp base port, default from 20000
-c port remote udp base port (dynamips udp port), default from 30000
-t ip remote host IP, default 127.0.0.1

hypervisor mode option:
-H port run as the hypervisor listening on the tcp 'port'

If no 'scriptfile' specified, vpcs will read and execute the file named
'startup.vpc' if it exsits in the current directory.


Installed Versions

local/gns3-gui 1.0alpha6-1
local/gns3-launcher-icons 0.8.6-2
local/gns3-server 1.0alpha6-1
local/vpcs 0.5b0-2

DEL key on note

Please change the behaviour of DEL key on notes, it is deleting the note when all we want is to delete one character right of the cursor.

changing gns3server path in settings - 1.0a2.dev2

After changing the gns3server path and clicking apply, the server is correctly started.

After clicking OK, the gns3-gui is crashing.

USER@LP-USER:~/Downloads/GNS3-11-04-2014/gns3-server$ gns3
GNS3 GUI version 1.0a2.dev2
Copyright (c) 2007-2014 GNS3 Technologies Inc.
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
[I 140411 12:21:22 init:403] Dynamips module reset
[I 140411 12:21:22 init:385] IOU module reset
[I 140411 12:21:22 topology:136] topology has been reset
[I 140411 12:21:22 main_window:895] creating temporary topology file: /tmp/gns3-rer0n4uu.net
[I 140411 12:21:22 main_window:898] creating temporary project files directory: /tmp/gns3-rer0n4uu-files
[I 140411 12:21:22 init:155] local working directory for Dynamips module: /tmp/gns3-rer0n4uu-files
[I 140411 12:21:22 servers:200] new local server connection ws://127.0.0.1:8000 registered
[I 140411 12:21:22 init:137] local working directory for IOU module: /tmp/gns3-rer0n4uu-files
[I 140411 12:21:26 main_window:743] starting local server /home/USER/Downloads/GNS3/gns3-server/build/lib/gns3server/main.py on 127.0.0.1:8000
[I 140411 12:21:26 servers:150] starting local server process with /usr/bin/python3 /home/USER/Downloads/GNS3/gns3-server/build/lib/gns3server/main.py --host=127.0.0.1 --port=8000
/usr/bin/python3: can't open file '/home/USER/Downloads/GNS3/gns3-server/build/lib/gns3server/main.py': [Errno 2] No such file or directory

(python3:9419): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed

(python3:9419): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed
[I 140411 12:22:01 servers:150] starting local server process with /usr/bin/python3 /usr/local/bin/gns3server --host=127.0.0.1 --port=8000
GNS3 server version 1.0a2.dev2
Copyright (c) 2007-2014 GNS3 Technologies Inc.
Running with Python 3.4.0 and has PID 9437
[W 140411 12:22:01 config:82] no configuration file could be found or read
[I 140411 12:22:01 base:122] dynamips module running with PID 9440
[I 140411 12:22:01 base:75] ZeroMQ client (dynamips) connecting to 127.0.0.1:54428
[I 140411 12:22:01 server:203] ZeroMQ server listening to 127.0.0.1:54428
[I 140411 12:22:01 base:122] iou module running with PID 9441
Starting server on 127.0.0.1:8000 (Tornado 3.1.1)
[I 140411 12:22:01 base:75] ZeroMQ client (iou) connecting to 127.0.0.1:54428
[W 140411 12:22:08 server:160] Server got signal 2, exiting...
[I 140411 12:22:08 server:226] terminating dynamips
[W 140411 12:22:08 base:111] Module dynamips got signal 15, exiting...
[I 140411 12:22:08 server:226] terminating iou
[W 140411 12:22:08 base:111] Module iou got signal 15, exiting...
Killed

Windows preference settings

I Install over Ubuntu:

1 Open gns3.
2 edit preference

No found windows settings:

---------Traceback lines (saved in exception.log)----------
Traceback (most recent call last):

File "build/bdist.linux-x86_64/egg/gns3/main_window.py", line 641, in _preferencesActionSlot
dialog = PreferencesDialog(self)

File "build/bdist.linux-x86_64/egg/gns3/preferences_dialog.py", line 44, in init
self._loadPreferencePages()

File "build/bdist.linux-x86_64/egg/gns3/preferences_dialog.py", line 65, in _loadPreferencePages
servers_page.loadPreferences()

File "build/bdist.linux-x86_64/egg/gns3/pages/server_preferences_page.py", line 150, in loadPreferences
servers = Servers.instance()

File "build/bdist.linux-x86_64/egg/gns3/servers.py", line 319, in instance
Servers._instance = Servers()

File "build/bdist.linux-x86_64/egg/gns3/servers.py", line 49, in init
self._loadSettings()

File "build/bdist.linux-x86_64/egg/gns3/servers.py", line 80, in _loadSettings
self.setLocalServer(local_server_path, local_server_host, local_server_port)

File "build/bdist.linux-x86_64/egg/gns3/servers.py", line 191, in setLocalServer
self._local_server = WebSocketClient(url)

File "build/bdist.linux-x86_64/egg/gns3/websocket_client.py", line 46, in init
ssl_options, headers=headers)

TypeError: init() takes exactly 4 arguments (7 given)


Del key does not work on link between nodes

Steps to reproduce

  1. Drag two devices and link them together.
  2. Try to delete the link between them using Del key

The Del key works only on nodes.(Links between nodes can be deleted only by right click and selecting Delete)

[Feature Request] - Bouncing a link to the cloud

When I'm using tap interfaces on my host system to connect the topology to my LAN, quite often the link to the cloud will stop working and the 2-step process of deleting the link then re-creating it solves the issue. To save time, it would be best if there was an option in the link context menu to bounce it - disconnect and reconnect in one step.

add "host" option

If possible, please add the option to put the gns3 on a server different from gns3-ui. that would allow us to use the ui on a desktop and the server on a vm somewhere else.

If this is already possible, please close the issue.

HUB and Switches sort ports wrongly

  1. create an ethernet hub or switch, add a number of ports > 10 ... (for example 20)

you will see the ports are arranged as

1 - 10 - 11 - 12 ... 19 - 2 - 20 - 3 - 4 - 5 - 6 - 7- 8 - 9

instead they should be arranged as 1 - 2 ... 9 - 10 - 11 ...

Server error [-3200] from 127.0.0.1:8000: IOU1: Startup-config startup-config could not be found on this server

Hey.

Here are the logs and the pictures of the topology.

http://i.imgur.com/z04fQAE.png

Logs from gns3server running in terminal:
[lachlan@Ante-lappy ~]$ gns3server
GNS3 server version 1.0a4
Copyright (c) 2007-2014 GNS3 Technologies Inc.
Running with Python 3.4.0 and has PID 2101
[I 140515 11:34:16 main:74] current locale is en_AU.UTF-8
[W 140515 11:34:16 config:82] no configuration file could be found or read
[I 140515 11:34:16 base:126] dynamips module running with PID 2103
[I 140515 11:34:16 base:79] ZeroMQ client (dynamips) connecting to 127.0.0.1:41214
[I 140515 11:34:16 base:126] vpcs module running with PID 2106
[I 140515 11:34:16 base:79] ZeroMQ client (vpcs) connecting to 127.0.0.1:41214
[I 140515 11:34:16 server:214] ZeroMQ server listening to 127.0.0.1:41214
[I 140515 11:34:16 base:126] iou module running with PID 2107
[I 140515 11:34:16 base:79] ZeroMQ client (iou) connecting to 127.0.0.1:41214
Starting server on 0.0.0.0:8000 (Tornado v3.2, PyZMQ v14.1.1, ZMQ v4.0.4)
[I 140515 11:35:01 jsonrpc_websocket:118] Websocket client a763f146-e2eb-4e1d-b283-872ec3823859 connected
[I 140515 11:35:01 web:1728] 200 GET /version (127.0.0.1) 0.92ms
[I 140515 11:35:07 init:228] saving iourc file content to /tmp/tmpe7zwwbhl
[I 140515 11:35:07 init:236] iouyap path set to /usr/local/bin/iouyap
[I 140515 11:35:07 init:240] this server is local with working directory path to /home/lachlan/GNS3/test/test-files
[I 140515 11:35:07 iou_device:282] IOU IOU1 [id=1]: working directory changed to /home/lachlan/GNS3/test/test-files/iou/device-1
[I 140515 11:35:07 iou_device:120] IOU device IOU1 [id=1] has been created
[I 140515 11:35:07 iou_device:282] IOU IOU2 [id=2]: working directory changed to /home/lachlan/GNS3/test/test-files/iou/device-2
[I 140515 11:35:07 iou_device:120] IOU device IOU2 [id=2] has been created
[I 140515 11:35:07 init:296] this server is local
[I 140515 11:35:07 init:263] starting the hypervisor manager with Dynamips working directory set to '/home/lachlan/GNS3/test/test-files/dynamips'
[I 140515 11:35:07 hypervisor_manager:561] creating new hypervisor 0.0.0.0:7200 with working directory /home/lachlan/GNS3/test/test-files/dynamips
[I 140515 11:35:07 hypervisor:205] starting Dynamips: ['/usr/bin/dynamips', '-N1', '-l', 'dynamips_log_7200.txt', '-H', '7200']
[I 140515 11:35:07 hypervisor:208] Dynamips process logging to /tmp/tmprzjjsctr
[I 140515 11:35:07 hypervisor:213] Dynamips started PID=2131
[I 140515 11:35:07 base:213] ZeroMQ client (iou) sending JSON-RPC custom error: Startup-config startup-config could not be found on this server for call id 5024dcf3-1062-45cd-afd9-52634d688622
[I 140515 11:35:07 base:213] ZeroMQ client (iou) sending JSON-RPC custom error: Startup-config startup-config could not be found on this server for call id 9d0a53eb-761b-441c-a8d8-ca56524963b6
[I 140515 11:35:07 hypervisor_manager:542] Dynamips server ready after 0.3580 seconds
[I 140515 11:35:07 hypervisor_manager:565] hypervisor 0.0.0.0:7200 has successfully started
[I 140515 11:35:07 router:112] router c2691 "R1" [id=1] has been created
[I 140515 11:35:07 router:453] router "R1" [id=1]: has a new IOS image set: "/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image"
[I 140515 11:35:07 router:688] router "R1" [id=1]: sparse memory enabled
[I 140515 11:35:07 router:655] router "R1" [id=1]: mmap enabled
[I 140515 11:35:07 router:1068] router "R1" [id=1]: console port updated from 2001 to 2101
[I 140515 11:35:07 router:1176] router "R1" [id=1]: MAC address updated from c001.0853.0000 to c001.0b22.0000
[I 140515 11:35:07 router:70] creating a new ghost IOS file
[I 140515 11:35:07 router:453] router "Ghost" [id=0]: has a new IOS image set: "/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image"
[I 140515 11:35:07 router:923] router "Ghost" [id=0]: ghost status set to 1
[I 140515 11:35:07 router:878] router "Ghost" [id=0]: ghost file set to c2691-adventerprisek9-mz.124-23.image-128.ghost
[I 140515 11:35:07 router:335] router "Ghost" [id=0] has been started
[I 140515 11:35:08 router:344] router "Ghost" [id=0] has been stopped
[I 140515 11:35:08 router:303] router "Ghost" [id=0] has been deleted (including associated files)
[I 140515 11:35:08 router:923] router "R1" [id=1]: ghost status set to 2
[I 140515 11:35:08 router:878] router "R1" [id=1]: ghost file set to c2691-adventerprisek9-mz.124-23.image-128.ghost
[I 140515 11:35:08 hypervisor_manager:561] creating new hypervisor 0.0.0.0:7201 with working directory /home/lachlan/GNS3/test/test-files/dynamips
[I 140515 11:35:08 hypervisor:205] starting Dynamips: ['/usr/bin/dynamips', '-N1', '-l', 'dynamips_log_7201.txt', '-H', '7201']
[I 140515 11:35:08 hypervisor:208] Dynamips process logging to /tmp/tmpx0_ncryk
[I 140515 11:35:08 hypervisor:213] Dynamips started PID=2149
[I 140515 11:35:08 hypervisor_manager:542] Dynamips server ready after 0.0104 seconds
[I 140515 11:35:08 hypervisor_manager:565] hypervisor 0.0.0.0:7201 has successfully started
[I 140515 11:35:08 router:112] router c2691 "R2" [id=2] has been created
[I 140515 11:35:08 router:453] router "R2" [id=2]: has a new IOS image set: "/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image"
[I 140515 11:35:08 router:688] router "R2" [id=2]: sparse memory enabled
[I 140515 11:35:08 router:655] router "R2" [id=2]: mmap enabled
[I 140515 11:35:08 router:1068] router "R2" [id=2]: console port updated from 2001 to 2102
[I 140515 11:35:08 router:1176] router "R2" [id=2]: MAC address updated from c002.0865.0000 to c002.0b35.0000
[I 140515 11:35:08 router:923] router "R2" [id=2]: ghost status set to 2
[I 140515 11:35:08 router:878] router "R2" [id=2]: ghost file set to c2691-adventerprisek9-mz.124-23.image-128.ghost
[I 140515 11:35:08 hypervisor_manager:561] creating new hypervisor 0.0.0.0:7202 with working directory /home/lachlan/GNS3/test/test-files/dynamips
[I 140515 11:35:08 hypervisor:205] starting Dynamips: ['/usr/bin/dynamips', '-N1', '-l', 'dynamips_log_7202.txt', '-H', '7202']
[I 140515 11:35:08 hypervisor:208] Dynamips process logging to /tmp/tmpj6pe0xo0
[I 140515 11:35:08 hypervisor:213] Dynamips started PID=2165
[I 140515 11:35:08 hypervisor_manager:542] Dynamips server ready after 0.0105 seconds
[I 140515 11:35:08 hypervisor_manager:565] hypervisor 0.0.0.0:7202 has successfully started
[I 140515 11:35:08 router:112] router c2691 "R3" [id=3] has been created
[I 140515 11:35:08 router:453] router "R3" [id=3]: has a new IOS image set: "/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image"
[I 140515 11:35:08 router:688] router "R3" [id=3]: sparse memory enabled
[I 140515 11:35:08 router:655] router "R3" [id=3]: mmap enabled
[I 140515 11:35:08 router:1068] router "R3" [id=3]: console port updated from 2001 to 2103
[I 140515 11:35:08 router:1176] router "R3" [id=3]: MAC address updated from c003.0875.0000 to c003.0b46.0000
[I 140515 11:35:08 router:923] router "R3" [id=3]: ghost status set to 2
[I 140515 11:35:08 router:878] router "R3" [id=3]: ghost file set to c2691-adventerprisek9-mz.124-23.image-128.ghost
[I 140515 11:35:08 hypervisor_manager:561] creating new hypervisor 0.0.0.0:7203 with working directory /home/lachlan/GNS3/test/test-files/dynamips
[I 140515 11:35:08 hypervisor:205] starting Dynamips: ['/usr/bin/dynamips', '-N1', '-l', 'dynamips_log_7203.txt', '-H', '7203']
[I 140515 11:35:08 hypervisor:208] Dynamips process logging to /tmp/tmpvuds6qet
[I 140515 11:35:08 hypervisor:213] Dynamips started PID=2181
[I 140515 11:35:08 hypervisor_manager:542] Dynamips server ready after 0.0104 seconds
[I 140515 11:35:08 hypervisor_manager:565] hypervisor 0.0.0.0:7203 has successfully started
[I 140515 11:35:08 router:112] router c2691 "R4" [id=4] has been created
[I 140515 11:35:08 router:453] router "R4" [id=4]: has a new IOS image set: "/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image"
[I 140515 11:35:08 router:688] router "R4" [id=4]: sparse memory enabled
[I 140515 11:35:08 router:655] router "R4" [id=4]: mmap enabled
[I 140515 11:35:08 router:1068] router "R4" [id=4]: console port updated from 2001 to 2104
[I 140515 11:35:08 router:1176] router "R4" [id=4]: MAC address updated from c004.0885.0000 to c004.0b56.0000
[I 140515 11:35:08 router:923] router "R4" [id=4]: ghost status set to 2
[I 140515 11:35:08 router:878] router "R4" [id=4]: ghost file set to c2691-adventerprisek9-mz.124-23.image-128.ghost
[I 140515 11:35:08 hypervisor_manager:561] creating new hypervisor 0.0.0.0:7204 with working directory /home/lachlan/GNS3/test/test-files/dynamips
[I 140515 11:35:08 hypervisor:205] starting Dynamips: ['/usr/bin/dynamips', '-N1', '-l', 'dynamips_log_7204.txt', '-H', '7204']
[I 140515 11:35:08 hypervisor:208] Dynamips process logging to /tmp/tmpf6eac9a_
[I 140515 11:35:08 hypervisor:213] Dynamips started PID=2197
[I 140515 11:35:08 hypervisor_manager:542] Dynamips server ready after 0.0107 seconds
[I 140515 11:35:08 hypervisor_manager:565] hypervisor 0.0.0.0:7204 has successfully started
[I 140515 11:35:08 router:112] router c2691 "R5" [id=5] has been created
[I 140515 11:35:08 router:453] router "R5" [id=5]: has a new IOS image set: "/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image"
[I 140515 11:35:08 router:688] router "R5" [id=5]: sparse memory enabled
[I 140515 11:35:08 router:655] router "R5" [id=5]: mmap enabled
[I 140515 11:35:08 router:1068] router "R5" [id=5]: console port updated from 2001 to 2105
[I 140515 11:35:08 router:1176] router "R5" [id=5]: MAC address updated from c005.0895.0000 to c005.0f69.0000
[I 140515 11:35:08 router:923] router "R5" [id=5]: ghost status set to 2
[I 140515 11:35:08 router:878] router "R5" [id=5]: ghost file set to c2691-adventerprisek9-mz.124-23.image-128.ghost
[I 140515 11:35:08 hypervisor_manager:561] creating new hypervisor 0.0.0.0:7205 with working directory /home/lachlan/GNS3/test/test-files/dynamips
[I 140515 11:35:08 hypervisor:205] starting Dynamips: ['/usr/bin/dynamips', '-N1', '-l', 'dynamips_log_7205.txt', '-H', '7205']
[I 140515 11:35:08 hypervisor:208] Dynamips process logging to /tmp/tmpp9dqc2pd
[I 140515 11:35:08 hypervisor:213] Dynamips started PID=2213
[I 140515 11:35:08 hypervisor_manager:542] Dynamips server ready after 0.0107 seconds
[I 140515 11:35:08 hypervisor_manager:565] hypervisor 0.0.0.0:7205 has successfully started
[I 140515 11:35:08 router:112] router c2691 "R6" [id=6] has been created
[I 140515 11:35:08 router:453] router "R6" [id=6]: has a new IOS image set: "/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image"
[I 140515 11:35:08 router:688] router "R6" [id=6]: sparse memory enabled
[I 140515 11:35:08 router:655] router "R6" [id=6]: mmap enabled
[I 140515 11:35:08 router:1068] router "R6" [id=6]: console port updated from 2001 to 2106
[I 140515 11:35:08 router:1176] router "R6" [id=6]: MAC address updated from c006.08a5.0000 to c006.0f79.0000
[I 140515 11:35:08 router:923] router "R6" [id=6]: ghost status set to 2
[I 140515 11:35:08 router:878] router "R6" [id=6]: ghost file set to c2691-adventerprisek9-mz.124-23.image-128.ghost
[I 140515 11:35:08 router:515] router "R1" [id=1]: has a startup-config set: "configs/R1.cfg"
[I 140515 11:35:08 router:750] router "R1" [id=1]: idle-PC set to 0x60a48df4
[I 140515 11:35:08 router:515] router "R2" [id=2]: has a startup-config set: "configs/R2.cfg"
[I 140515 11:35:08 router:750] router "R2" [id=2]: idle-PC set to 0x60a48df4
[I 140515 11:35:08 router:515] router "R3" [id=3]: has a startup-config set: "configs/R3.cfg"
[I 140515 11:35:08 router:750] router "R3" [id=3]: idle-PC set to 0x60a48df4
[I 140515 11:35:08 router:1261] router "R3" [id=3]: adapter NM-1FE-TX inserted into slot 1
[I 140515 11:35:08 router:515] router "R4" [id=4]: has a startup-config set: "configs/R4.cfg"
[I 140515 11:35:08 router:750] router "R4" [id=4]: idle-PC set to 0x60a48df4
[I 140515 11:35:08 router:1261] router "R4" [id=4]: adapter NM-1FE-TX inserted into slot 1
[I 140515 11:35:08 router:515] router "R5" [id=5]: has a startup-config set: "configs/R5.cfg"
[I 140515 11:35:08 router:750] router "R5" [id=5]: idle-PC set to 0x60a48df4
[I 140515 11:35:08 router:1261] router "R5" [id=5]: adapter NM-1FE-TX inserted into slot 1
[I 140515 11:35:08 router:515] router "R6" [id=6]: has a startup-config set: "configs/R6.cfg"
[I 140515 11:35:08 router:750] router "R6" [id=6]: idle-PC set to 0x60a48df4
[I 140515 11:35:08 router:1261] router "R6" [id=6]: adapter NM-1FE-TX inserted into slot 1
[I 140515 11:35:08 nio_udp_auto:58] NIO UDP AUTO nio_udp_auto0 created with laddr=0.0.0.0, lport_start=10001, lport_end=20000
[I 140515 11:35:08 init:409] R3 [id=3] has allocated UDP port 10001 with host 0.0.0.0
[I 140515 11:35:08 nio_udp_auto:58] NIO UDP AUTO nio_udp_auto1 created with laddr=0.0.0.0, lport_start=10001, lport_end=20000
[I 140515 11:35:08 init:409] R4 [id=4] has allocated UDP port 10002 with host 0.0.0.0
[I 140515 11:35:08 nio_udp_auto:58] NIO UDP AUTO nio_udp_auto2 created with laddr=0.0.0.0, lport_start=10001, lport_end=20000
[I 140515 11:35:08 init:409] R5 [id=5] has allocated UDP port 10003 with host 0.0.0.0
[I 140515 11:35:08 nio_udp_auto:58] NIO UDP AUTO nio_udp_auto3 created with laddr=0.0.0.0, lport_start=10001, lport_end=20000
[I 140515 11:35:08 init:409] R3 [id=3] has allocated UDP port 10004 with host 0.0.0.0
[I 140515 11:35:08 nio_udp_auto:58] NIO UDP AUTO nio_udp_auto4 created with laddr=0.0.0.0, lport_start=10001, lport_end=20000
[I 140515 11:35:08 init:409] R6 [id=6] has allocated UDP port 10005 with host 0.0.0.0
[I 140515 11:35:08 nio_udp_auto:58] NIO UDP AUTO nio_udp_auto5 created with laddr=0.0.0.0, lport_start=10001, lport_end=20000
[I 140515 11:35:08 init:409] R5 [id=5] has allocated UDP port 10006 with host 0.0.0.0
[I 140515 11:35:08 nio_udp_auto:58] NIO UDP AUTO nio_udp_auto6 created with laddr=0.0.0.0, lport_start=10001, lport_end=20000
[I 140515 11:35:08 init:409] R4 [id=4] has allocated UDP port 10007 with host 0.0.0.0
[I 140515 11:35:08 nio_udp_auto:58] NIO UDP AUTO nio_udp_auto7 created with laddr=0.0.0.0, lport_start=10001, lport_end=20000
[I 140515 11:35:08 init:409] R6 [id=6] has allocated UDP port 10008 with host 0.0.0.0
[I 140515 11:35:08 nio_udp_auto:126] NIO UDP AUTO nio_udp_auto0 connected to 127.0.0.1:10002
[I 140515 11:35:08 router:1429] router "R3" [id=3]: NIO nio_udp_auto0 bound to port 0/1
[I 140515 11:35:08 nio_udp_auto:126] NIO UDP AUTO nio_udp_auto1 connected to 127.0.0.1:10001
[I 140515 11:35:08 router:1429] router "R4" [id=4]: NIO nio_udp_auto1 bound to port 0/1
[I 140515 11:35:08 nio_udp_auto:126] NIO UDP AUTO nio_udp_auto2 connected to 127.0.0.1:10004
[I 140515 11:35:08 router:1429] router "R5" [id=5]: NIO nio_udp_auto2 bound to port 1/0
[I 140515 11:35:08 nio_udp_auto:126] NIO UDP AUTO nio_udp_auto3 connected to 127.0.0.1:10003
[I 140515 11:35:08 router:1429] router "R3" [id=3]: NIO nio_udp_auto3 bound to port 1/0
[I 140515 11:35:08 nio_udp_auto:126] NIO UDP AUTO nio_udp_auto4 connected to 127.0.0.1:10006
[I 140515 11:35:08 router:1429] router "R6" [id=6]: NIO nio_udp_auto4 bound to port 0/0
[I 140515 11:35:08 nio_udp_auto:126] NIO UDP AUTO nio_udp_auto5 connected to 127.0.0.1:10005
[I 140515 11:35:08 router:1429] router "R5" [id=5]: NIO nio_udp_auto5 bound to port 0/0
[I 140515 11:35:08 nio_udp_auto:126] NIO UDP AUTO nio_udp_auto6 connected to 127.0.0.1:10008
[I 140515 11:35:08 router:1429] router "R4" [id=4]: NIO nio_udp_auto6 bound to port 1/0
[I 140515 11:35:08 nio_udp_auto:126] NIO UDP AUTO nio_udp_auto7 connected to 127.0.0.1:10007
[I 140515 11:35:08 router:1429] router "R6" [id=6]: NIO nio_udp_auto7 bound to port 1/0

Logs from gns3 running in terminal:
[lachlan@Ante-lappy ~]$ gns3
GNS3 GUI version 1.0a4
Copyright (c) 2007-2014 GNS3 Technologies Inc.
[I 140515 11:34:25 main:74] current locale is en_AU.UTF-8
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
[I 140515 11:34:26 init:424] Dynamips module reset
[I 140515 11:34:26 init:393] IOU module reset
[I 140515 11:34:26 init:263] vpcs module reset
[I 140515 11:34:26 topology:136] topology has been reset
[I 140515 11:34:26 main_window:1003] creating temporary topology file: /tmp/gns3-545yp8qr
[I 140515 11:34:26 main_window:1006] creating temporary project files directory: /tmp/gns3-545yp8qr-files
[I 140515 11:34:26 init:173] local working directory for Dynamips module: /tmp/gns3-545yp8qr-files
[I 140515 11:34:26 init:138] local working directory for IOU module: /tmp/gns3-545yp8qr-files
[I 140515 11:34:26 init:84] local working directory for VPCS module: /tmp/gns3-545yp8qr-files
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
[I 140515 11:35:01 servers:199] new local server connection ws://127.0.0.1:8000 registered
[I 140515 11:35:01 websocket_client:114] connected to 127.0.0.1:8000
[I 140515 11:35:01 main_window:785] use an already started local server on 127.0.0.1:8000
[I 140515 11:35:07 main_window:987] deleting temporary project files directory: /tmp/gns3-545yp8qr-files
[I 140515 11:35:07 main_window:990] deleting temporary topology file: /tmp/gns3-545yp8qr
[I 140515 11:35:07 init:424] Dynamips module reset
[I 140515 11:35:07 init:393] IOU module reset
[I 140515 11:35:07 init:263] vpcs module reset
[I 140515 11:35:07 topology:136] topology has been reset
[I 140515 11:35:07 main_window:962] loading project: /home/lachlan/GNS3/test/test.gns3
[I 140515 11:35:07 init:173] local working directory for Dynamips module: /home/lachlan/GNS3/test/test-files
[I 140515 11:35:07 init:138] local working directory for IOU module: /home/lachlan/GNS3/test/test-files
[I 140515 11:35:07 init:84] local working directory for VPCS module: /home/lachlan/GNS3/test/test-files
[I 140515 11:35:07 init:327] creating node <class 'gns3.modules.iou.iou_device.IOUDevice'>
[I 140515 11:35:07 init:152] adding server 127.0.0.1:8000 to IOU module
[I 140515 11:35:07 init:280] sending IOU settings to server 127.0.0.1:8000
[I 140515 11:35:07 init:233] opening iourc file: /home/lachlan/BTSync/Cisco/IOS/Cisco-IOU-L2-L3-Collection-v2/iourc
[I 140515 11:35:07 iou_device:44] IOU instance is being created
[I 140515 11:35:07 iou_device:515] iou device IOU1 is loading
[I 140515 11:35:07 init:327] creating node <class 'gns3.modules.iou.iou_device.IOUDevice'>
[I 140515 11:35:07 iou_device:44] IOU instance is being created
[I 140515 11:35:07 iou_device:515] iou device IOU2 is loading
[I 140515 11:35:07 init:331] creating node <class 'gns3.modules.dynamips.nodes.c2691.C2691'>
[I 140515 11:35:07 init:187] adding server 127.0.0.1:8000 to Dynamips module
[I 140515 11:35:07 init:290] sending Dynamips settings to server 127.0.0.1:8000
[I 140515 11:35:07 router:48] router c2691 is being created
[I 140515 11:35:07 router:839] router R1 is loading
[I 140515 11:35:07 init:331] creating node <class 'gns3.modules.dynamips.nodes.c2691.C2691'>
[I 140515 11:35:07 router:48] router c2691 is being created
[I 140515 11:35:07 router:839] router R2 is loading
[I 140515 11:35:07 init:331] creating node <class 'gns3.modules.dynamips.nodes.c2691.C2691'>
[I 140515 11:35:07 router:48] router c2691 is being created
[I 140515 11:35:07 router:839] router R3 is loading
[I 140515 11:35:07 init:331] creating node <class 'gns3.modules.dynamips.nodes.c2691.C2691'>
[I 140515 11:35:07 router:48] router c2691 is being created
[I 140515 11:35:07 router:839] router R4 is loading
[I 140515 11:35:07 init:331] creating node <class 'gns3.modules.dynamips.nodes.c2691.C2691'>
[I 140515 11:35:07 router:48] router c2691 is being created
[I 140515 11:35:07 router:839] router R5 is loading
[I 140515 11:35:07 init:331] creating node <class 'gns3.modules.dynamips.nodes.c2691.C2691'>
[I 140515 11:35:07 router:48] router c2691 is being created
[I 140515 11:35:07 router:839] router R6 is loading
[I 140515 11:35:07 iou_device:144] IOU instance setting up and updating console from 'None' to '4001'
[I 140515 11:35:07 iou_device:144] IOU instance setting up and updating path from '' to '/home/lachlan/BTSync/Cisco/IOS/Cisco-IOU-L2-L3-Collection-v2/i86bi-linux-l2-adventerprisek9-15.1.bin'
[I 140515 11:35:07 iou_device:144] IOU instance setting up and updating console from 'None' to '4002'
[I 140515 11:35:07 iou_device:144] IOU instance setting up and updating path from '' to '/home/lachlan/BTSync/Cisco/IOS/Cisco-IOU-L2-L3-Collection-v2/i86bi-linux-l2-adventerprisek9-15.1.bin'
[E 140515 11:35:07 iou_device:235] error while deleting IOU1: Startup-config startup-config could not be found on this server
[E 140515 11:35:07 iou_device:235] error while deleting IOU2: Startup-config startup-config could not be found on this server
[I 140515 11:35:08 router:282] router setting up and updating image from '' to '/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image'
[I 140515 11:35:08 router:282] router setting up and updating image from '' to '/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image'
[I 140515 11:35:08 router:282] router setting up and updating image from '' to '/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image'
[I 140515 11:35:08 router:282] router setting up and updating image from '' to '/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image'
[I 140515 11:35:08 router:282] router setting up and updating image from '' to '/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image'
[I 140515 11:35:08 router:282] router setting up and updating image from '' to '/home/lachlan/BTSync/Cisco/IOS/c2691/12.4/c2691-adventerprisek9-mz.124-23.image'
[I 140515 11:35:08 router:364] R1: updating startup_config from '' to 'configs/R1.cfg'
[I 140515 11:35:08 router:364] R1: updating idlepc from '' to '0x60a48df4'
[I 140515 11:35:08 router:396] router R1 has been updated
[I 140515 11:35:08 router:859] router R1 has been loaded
[I 140515 11:35:08 router:364] R2: updating startup_config from '' to 'configs/R2.cfg'
[I 140515 11:35:08 router:364] R2: updating idlepc from '' to '0x60a48df4'
[I 140515 11:35:08 router:396] router R2 has been updated
[I 140515 11:35:08 router:859] router R2 has been loaded
[I 140515 11:35:08 router:364] R3: updating slot1 from 'None' to 'NM-1FE-TX'
[I 140515 11:35:08 router:364] R3: updating startup_config from '' to 'configs/R3.cfg'
[I 140515 11:35:08 router:364] R3: updating idlepc from '' to '0x60a48df4'
[I 140515 11:35:08 router:396] router R3 has been updated
[I 140515 11:35:08 router:859] router R3 has been loaded
[I 140515 11:35:08 router:364] R4: updating slot1 from 'None' to 'NM-1FE-TX'
[I 140515 11:35:08 router:364] R4: updating startup_config from '' to 'configs/R4.cfg'
[I 140515 11:35:08 router:364] R4: updating idlepc from '' to '0x60a48df4'
[I 140515 11:35:08 router:396] router R4 has been updated
[I 140515 11:35:08 router:859] router R4 has been loaded
[I 140515 11:35:08 link:55] adding link from R3 FastEthernet0/1 to R4 FastEthernet0/1
[I 140515 11:35:08 router:364] R5: updating slot1 from 'None' to 'NM-1FE-TX'
[I 140515 11:35:08 router:364] R5: updating startup_config from '' to 'configs/R5.cfg'
[I 140515 11:35:08 router:364] R5: updating idlepc from '' to '0x60a48df4'
[I 140515 11:35:08 router:396] router R5 has been updated
[I 140515 11:35:08 router:859] router R5 has been loaded
[I 140515 11:35:08 link:55] adding link from R5 FastEthernet1/0 to R3 FastEthernet1/0
[I 140515 11:35:08 router:364] R6: updating slot1 from 'None' to 'NM-1FE-TX'
[I 140515 11:35:08 router:364] R6: updating startup_config from '' to 'configs/R6.cfg'
[I 140515 11:35:08 router:364] R6: updating idlepc from '' to '0x60a48df4'
[I 140515 11:35:08 router:396] router R6 has been updated
[I 140515 11:35:08 router:859] router R6 has been loaded
[I 140515 11:35:08 link:55] adding link from R6 FastEthernet0/0 to R5 FastEthernet0/0
[I 140515 11:35:08 link:55] adding link from R4 FastEthernet1/0 to R6 FastEthernet1/0

TL;DR: the iou images are not linking up for some reason.

gns3 segfaults on exit

  1. Open gns3.
  2. Close the "New Project" window.
  3. Close gnd3 main window.
  4. gnd3 closes with segfault.

This doesn't have any negative consequences (settings and project are saved), but the application shouldn't segfault anyway.

nowaker@nwkr-desktop ~ % gns3
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. please move it to /home/nowaker/.config/fontconfig/fonts.conf manually
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
QPixmap: Must construct a QApplication before a QPaintDevice
[1]    26616 abort (core dumped)  gns3

Path to GNS3 server is not saved

Apply and OK works good, the server is started, the only problem is that the path is not saved for the next application start.

Tested on latest github commit.

nvram config file not saved

I noticed that when I issue the wr mem, the nvram file is not saved anymore in the directory of the project, where my project is saved.

It was working before.

preferences are not saved if program is shut down with `kill`

Settings should be saved regardless of using kill. (Or the application segfaulting for any reason) kill is a standard way of closing any applications by desktop environment, e.g. when you log out. The application should handle such signals the same way it handles close button.

using remote server fail to load device configuration

my setup:

gns3-server : 1.0 alpha 3 running on Fedora 20 x86_64
Python 3.3.2, Tornado v3.1.1, PyZMQ v14.2.0, ZMQ v4.0.4

gns3-gui : 1.0 alpha 3

I have actually two guis installed, once is installed on the same machine as the server (Linux Fedora 20), the other guy is installed on windows 7 x86_64

here is the catch:

when using the gui on windows 7, i have those settings:

http://imageshack.com/a/img835/2162/0q1x.png

and when i start the router, this is the full log visible on the server console:

http://pastebin.com/2wkzkz4g

the result is that the router starts but the running config is not properly interpreted:

% Hostname contains one or more illegal characters.
% Hostname "%H" is not a legal LAT node name, Using "CISCO_840000"

%h#sh startup-config
Using 257 out of 57336 bytes!
hostname %h
!
no ip domain lookup
no ip icmp rate-limit unreachable
ip tcp synwait 5
!
line con 0
exec-timeout 0 0
logging synchronous
privilege level 15
no login
line aux 0
exec-timeout 0 0
logging synchronous
privilege level 15
no login
!
!
end

as you can see it seems like is not parsing the config text file properly!
if i run the gui locally, on the same machine where the server is and with the same settings:

http://imageshack.com/a/img845/6792/5bpb.png

everything is running properly. and here is the full output from the shell:

http://pastebin.com/R4JenVvt

the main difference i see is:

  1. if i run server and gui on the same machine, the startup configuration is parsed before being loaded into the router:

[I 140503 15:22:25 router:314] opening configuration file: /opt/gns3/baseconfig.txt
[I 140503 15:22:25 router:314] opening configuration file: /opt/gns3/baseconfig_private.txt
[I 140503 15:22:25 init:453] saving startup-config to /tmp/gns3-f3o83s-files/dynamips/configs/R1.cfg
[I 140503 15:22:25 router:495] router "R1" [id=1]: has a startup-config set: "configs/R1.cfg"
[I 140503 15:22:25 init:453] saving startup-config to /tmp/gns3-f3o83s-files/dynamips/configs/R1-private.cfg
[I 140503 15:22:25 router:495] router "R1" [id=1]: has a startup-config set: "configs/R1.cfg"
[I 140503 15:22:25 router:502] router "R1" [id=1]: has a private-config set: "configs/R1-private.cfg"
[I 140503 15:22:25 router:730] router "R1" [id=1]: idle-PC set to 0x60c09aa0
[I 140503 15:22:25 router:364] R1: updating idlepc from '' to '0x60c09aa0'
[I 140503 15:22:25 router:364] R1: updating private_config from '' to 'configs/R1-private.cfg'
[I 140503 15:22:25 router:364] R1: updating startup_config from '' to 'configs/R1.cfg'
[I 140503 15:22:25 router:391] router R1 has been created
[I 140503 15:22:27 router:318] router "R1" [id=1] has been started
[I 140503 15:22:27 router:419] R1 has started

  1. if the server is running remotely on a different machine this is not happening and the config is used "as is"

[I 140503 15:14:29 router:495] router "R1" [id=1]: has a startup-config set: "/opt/gns3/baseconfig.txt"
[I 140503 15:14:29 router:495] router "R1" [id=1]: has a startup-config set: "/opt/gns3/baseconfig.txt"
[I 140503 15:14:29 router:502] router "R1" [id=1]: has a private-config set: "/opt/gns3/baseconfig_private.txt"
[I 140503 15:14:29 router:730] router "R1" [id=1]: idle-PC set to 0x60c09aa0
[I 140503 15:17:30 router:318] router "R1" [id=1] has been started

Links from router to hub device disappear when opening a saved project

I created a topology with several IOU devices connected to an HUB.

i saved the project, and re-opened it after it.

All links router to router are still present and exist all, but all links to the hub are lost:

here is the topology file:

{
    "topology": {
        "links": [
            {
                "description": "Link from SW1 port Ethernet1/0 to SW2 port Ethernet1/0", 
                "destination_node_id": 3, 
                "destination_port_id": 113, 
                "id": 1, 
                "source_node_id": 2, 
                "source_port_id": 85
            }, 
            {
                "description": "Link from SW1 port Ethernet1/1 to SW2 port Ethernet1/1", 
                "destination_node_id": 3, 
                "destination_port_id": 114, 
                "id": 2, 
                "source_node_id": 2, 
                "source_port_id": 86
            }, 
            {
                "description": "Link from SW1 port Ethernet2/0 to SW3 port Ethernet2/0", 
                "destination_node_id": 4, 
                "destination_port_id": 145, 
                "id": 3, 
                "source_node_id": 2, 
                "source_port_id": 89
            }, 
            {
                "description": "Link from SW1 port Ethernet2/1 to SW3 port Ethernet2/1", 
                "destination_node_id": 4, 
                "destination_port_id": 146, 
                "id": 4, 
                "source_node_id": 2, 
                "source_port_id": 90
            }, 
            {
                "description": "Link from SW3 port Ethernet1/2 to SW2 port Ethernet1/2", 
                "destination_node_id": 3, 
                "destination_port_id": 115, 
                "id": 5, 
                "source_node_id": 4, 
                "source_port_id": 143
            }, 
            {
                "description": "Link from SW3 port Ethernet1/3 to SW2 port Ethernet1/3", 
                "destination_node_id": 3, 
                "destination_port_id": 116, 
                "id": 6, 
                "source_node_id": 4, 
                "source_port_id": 144
            }, 
            {
                "description": "Link from SW1 port Ethernet1/2 to SW4 port Ethernet1/2", 
                "destination_node_id": 5, 
                "destination_port_id": 171, 
                "id": 7, 
                "source_node_id": 2, 
                "source_port_id": 87
            }, 
            {
                "description": "Link from SW1 port Ethernet1/3 to SW4 port Ethernet1/3", 
                "destination_node_id": 5, 
                "destination_port_id": 172, 
                "id": 8, 
                "source_node_id": 2, 
                "source_port_id": 88
            }, 
            {
                "description": "Link from SW3 port Ethernet1/0 to SW4 port Ethernet1/0", 
                "destination_node_id": 5, 
                "destination_port_id": 169, 
                "id": 9, 
                "source_node_id": 4, 
                "source_port_id": 141
            }, 
            {
                "description": "Link from SW3 port Ethernet1/1 to SW4 port Ethernet1/1", 
                "destination_node_id": 5, 
                "destination_port_id": 170, 
                "id": 10, 
                "source_node_id": 4, 
                "source_port_id": 142
            }, 
            {
                "description": "Link from SW2 port Ethernet2/0 to SW4 port Ethernet2/0", 
                "destination_node_id": 5, 
                "destination_port_id": 173, 
                "id": 11, 
                "source_node_id": 3, 
                "source_port_id": 117
            }, 
            {
                "description": "Link from SW2 port Ethernet2/1 to SW4 port Ethernet2/1", 
                "destination_node_id": 5, 
                "destination_port_id": 174, 
                "id": 12, 
                "source_node_id": 3, 
                "source_port_id": 118
            }, 
            {
                "description": "Link from R1 port Ethernet0/0 to Hub1 port 1", 
                "destination_node_id": 7, 
                "destination_port_id": 65, 
                "id": 13, 
                "source_node_id": 8, 
                "source_port_id": 450
            }, 
            {
                "description": "Link from R2 port Ethernet0/0 to Hub1 port 2", 
                "destination_node_id": 7, 
                "destination_port_id": 66, 
                "id": 14, 
                "source_node_id": 9, 
                "source_port_id": 454
            }, 
            {
                "description": "Link from R3 port Ethernet0/0 to Hub1 port 3", 
                "destination_node_id": 7, 
                "destination_port_id": 67, 
                "id": 15, 
                "source_node_id": 10, 
                "source_port_id": 458
            }, 
            {
                "description": "Link from R4 port Ethernet0/0 to Hub1 port 4", 
                "destination_node_id": 7, 
                "destination_port_id": 68, 
                "id": 16, 
                "source_node_id": 11, 
                "source_port_id": 462
            }, 
            {
                "description": "Link from R5 port Ethernet0/0 to Hub1 port 5", 
                "destination_node_id": 7, 
                "destination_port_id": 69, 
                "id": 17, 
                "source_node_id": 13, 
                "source_port_id": 562
            }, 
            {
                "description": "Link from R6 port Ethernet0/0 to Hub1 port 6", 
                "destination_node_id": 7, 
                "destination_port_id": 70, 
                "id": 18, 
                "source_node_id": 14, 
                "source_port_id": 566
            }, 
            {
                "description": "Link from R7 port Ethernet0/0 to Hub1 port 7", 
                "destination_node_id": 7, 
                "destination_port_id": 71, 
                "id": 19, 
                "source_node_id": 15, 
                "source_port_id": 570
            }, 
            {
                "description": "Link from R8 port Ethernet0/0 to Hub1 port 8", 
                "destination_node_id": 7, 
                "destination_port_id": 72, 
                "id": 20, 
                "source_node_id": 16, 
                "source_port_id": 574
            }, 
            {
                "description": "Link from R9 port Ethernet0/0 to Hub1 port 9", 
                "destination_node_id": 7, 
                "destination_port_id": 73, 
                "id": 21, 
                "source_node_id": 17, 
                "source_port_id": 578
            }, 
            {
                "description": "Link from R10 port Ethernet0/0 to Hub1 port 10", 
                "destination_node_id": 7, 
                "destination_port_id": 74, 
                "id": 22, 
                "source_node_id": 12, 
                "source_port_id": 582
            }, 
            {
                "description": "Link from Hub1 port 11 to SW1 port Ethernet0/0", 
                "destination_node_id": 2, 
                "destination_port_id": 81, 
                "id": 23, 
                "source_node_id": 7, 
                "source_port_id": 75
            }
        ], 
        "nodes": [
            {
                "description": "IOU device", 
                "id": 2, 
                "ports": [
                    {
                        "description": "connected to Hub1 on port 11", 
                        "id": 81, 
                        "link_id": 23, 
                        "name": "Ethernet0/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 82, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 83, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 84, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }, 
                    {
                        "description": "connected to SW2 on port Ethernet1/0", 
                        "id": 85, 
                        "link_id": 1, 
                        "name": "Ethernet1/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW2 on port Ethernet1/1", 
                        "id": 86, 
                        "link_id": 2, 
                        "name": "Ethernet1/1", 
                        "nio": "NIO_UDP", 
                        "port_number": 1, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW4 on port Ethernet1/2", 
                        "id": 87, 
                        "link_id": 7, 
                        "name": "Ethernet1/2", 
                        "nio": "NIO_UDP", 
                        "port_number": 2, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW4 on port Ethernet1/3", 
                        "id": 88, 
                        "link_id": 8, 
                        "name": "Ethernet1/3", 
                        "nio": "NIO_UDP", 
                        "port_number": 3, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW3 on port Ethernet2/0", 
                        "id": 89, 
                        "link_id": 3, 
                        "name": "Ethernet2/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 2
                    }, 
                    {
                        "description": "connected to SW3 on port Ethernet2/1", 
                        "id": 90, 
                        "link_id": 4, 
                        "name": "Ethernet2/1", 
                        "nio": "NIO_UDP", 
                        "port_number": 1, 
                        "slot_number": 2
                    }, 
                    {
                        "id": 91, 
                        "name": "Ethernet2/2", 
                        "port_number": 2, 
                        "slot_number": 2
                    }, 
                    {
                        "id": 92, 
                        "name": "Ethernet2/3", 
                        "port_number": 3, 
                        "slot_number": 2
                    }, 
                    {
                        "id": 93, 
                        "name": "Ethernet3/0", 
                        "port_number": 0, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 94, 
                        "name": "Ethernet3/1", 
                        "port_number": 1, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 95, 
                        "name": "Ethernet3/2", 
                        "port_number": 2, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 96, 
                        "name": "Ethernet3/3", 
                        "port_number": 3, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 97, 
                        "name": "Ethernet4/0", 
                        "port_number": 0, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 98, 
                        "name": "Ethernet4/1", 
                        "port_number": 1, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 99, 
                        "name": "Ethernet4/2", 
                        "port_number": 2, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 100, 
                        "name": "Ethernet4/3", 
                        "port_number": 3, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 101, 
                        "name": "Ethernet5/0", 
                        "port_number": 0, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 102, 
                        "name": "Ethernet5/1", 
                        "port_number": 1, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 103, 
                        "name": "Ethernet5/2", 
                        "port_number": 2, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 104, 
                        "name": "Ethernet5/3", 
                        "port_number": 3, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 105, 
                        "name": "Ethernet6/0", 
                        "port_number": 0, 
                        "slot_number": 6
                    }, 
                    {
                        "id": 106, 
                        "name": "Ethernet6/1", 
                        "port_number": 1, 
                        "slot_number": 6
                    }, 
                    {
                        "id": 107, 
                        "name": "Ethernet6/2", 
                        "port_number": 2, 
                        "slot_number": 6
                    }, 
                    {
                        "id": 108, 
                        "name": "Ethernet6/3", 
                        "port_number": 3, 
                        "slot_number": 6
                    }
                ], 
                "properties": {
                    "console": 4001, 
                    "ethernet_adapters": 7, 
                    "name": "SW1", 
                    "path": "/opt/iou/bin/L2K9-15.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": -139.5, 
                "y": 33.5
            }, 
            {
                "description": "IOU device", 
                "id": 3, 
                "ports": [
                    {
                        "id": 109, 
                        "name": "Ethernet0/0", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 110, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 111, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 112, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }, 
                    {
                        "description": "connected to SW1 on port Ethernet1/0", 
                        "id": 113, 
                        "link_id": 1, 
                        "name": "Ethernet1/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW1 on port Ethernet1/1", 
                        "id": 114, 
                        "link_id": 2, 
                        "name": "Ethernet1/1", 
                        "nio": "NIO_UDP", 
                        "port_number": 1, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW3 on port Ethernet1/2", 
                        "id": 115, 
                        "link_id": 5, 
                        "name": "Ethernet1/2", 
                        "nio": "NIO_UDP", 
                        "port_number": 2, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW3 on port Ethernet1/3", 
                        "id": 116, 
                        "link_id": 6, 
                        "name": "Ethernet1/3", 
                        "nio": "NIO_UDP", 
                        "port_number": 3, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW4 on port Ethernet2/0", 
                        "id": 117, 
                        "link_id": 11, 
                        "name": "Ethernet2/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 2
                    }, 
                    {
                        "description": "connected to SW4 on port Ethernet2/1", 
                        "id": 118, 
                        "link_id": 12, 
                        "name": "Ethernet2/1", 
                        "nio": "NIO_UDP", 
                        "port_number": 1, 
                        "slot_number": 2
                    }, 
                    {
                        "id": 119, 
                        "name": "Ethernet2/2", 
                        "port_number": 2, 
                        "slot_number": 2
                    }, 
                    {
                        "id": 120, 
                        "name": "Ethernet2/3", 
                        "port_number": 3, 
                        "slot_number": 2
                    }, 
                    {
                        "id": 121, 
                        "name": "Ethernet3/0", 
                        "port_number": 0, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 122, 
                        "name": "Ethernet3/1", 
                        "port_number": 1, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 123, 
                        "name": "Ethernet3/2", 
                        "port_number": 2, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 124, 
                        "name": "Ethernet3/3", 
                        "port_number": 3, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 125, 
                        "name": "Ethernet4/0", 
                        "port_number": 0, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 126, 
                        "name": "Ethernet4/1", 
                        "port_number": 1, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 127, 
                        "name": "Ethernet4/2", 
                        "port_number": 2, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 128, 
                        "name": "Ethernet4/3", 
                        "port_number": 3, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 129, 
                        "name": "Ethernet5/0", 
                        "port_number": 0, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 130, 
                        "name": "Ethernet5/1", 
                        "port_number": 1, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 131, 
                        "name": "Ethernet5/2", 
                        "port_number": 2, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 132, 
                        "name": "Ethernet5/3", 
                        "port_number": 3, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 133, 
                        "name": "Ethernet6/0", 
                        "port_number": 0, 
                        "slot_number": 6
                    }, 
                    {
                        "id": 134, 
                        "name": "Ethernet6/1", 
                        "port_number": 1, 
                        "slot_number": 6
                    }, 
                    {
                        "id": 135, 
                        "name": "Ethernet6/2", 
                        "port_number": 2, 
                        "slot_number": 6
                    }, 
                    {
                        "id": 136, 
                        "name": "Ethernet6/3", 
                        "port_number": 3, 
                        "slot_number": 6
                    }
                ], 
                "properties": {
                    "console": 4002, 
                    "ethernet_adapters": 7, 
                    "name": "SW2", 
                    "path": "/opt/iou/bin/L2K9-15.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": 52.5, 
                "y": 34.5
            }, 
            {
                "description": "IOU device", 
                "id": 4, 
                "ports": [
                    {
                        "id": 137, 
                        "name": "Ethernet0/0", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 138, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 139, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 140, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }, 
                    {
                        "description": "connected to SW4 on port Ethernet1/0", 
                        "id": 141, 
                        "link_id": 9, 
                        "name": "Ethernet1/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW4 on port Ethernet1/1", 
                        "id": 142, 
                        "link_id": 10, 
                        "name": "Ethernet1/1", 
                        "nio": "NIO_UDP", 
                        "port_number": 1, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW2 on port Ethernet1/2", 
                        "id": 143, 
                        "link_id": 5, 
                        "name": "Ethernet1/2", 
                        "nio": "NIO_UDP", 
                        "port_number": 2, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW2 on port Ethernet1/3", 
                        "id": 144, 
                        "link_id": 6, 
                        "name": "Ethernet1/3", 
                        "nio": "NIO_UDP", 
                        "port_number": 3, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW1 on port Ethernet2/0", 
                        "id": 145, 
                        "link_id": 3, 
                        "name": "Ethernet2/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 2
                    }, 
                    {
                        "description": "connected to SW1 on port Ethernet2/1", 
                        "id": 146, 
                        "link_id": 4, 
                        "name": "Ethernet2/1", 
                        "nio": "NIO_UDP", 
                        "port_number": 1, 
                        "slot_number": 2
                    }, 
                    {
                        "id": 147, 
                        "name": "Ethernet2/2", 
                        "port_number": 2, 
                        "slot_number": 2
                    }, 
                    {
                        "id": 148, 
                        "name": "Ethernet2/3", 
                        "port_number": 3, 
                        "slot_number": 2
                    }, 
                    {
                        "id": 149, 
                        "name": "Ethernet3/0", 
                        "port_number": 0, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 150, 
                        "name": "Ethernet3/1", 
                        "port_number": 1, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 151, 
                        "name": "Ethernet3/2", 
                        "port_number": 2, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 152, 
                        "name": "Ethernet3/3", 
                        "port_number": 3, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 153, 
                        "name": "Ethernet4/0", 
                        "port_number": 0, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 154, 
                        "name": "Ethernet4/1", 
                        "port_number": 1, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 155, 
                        "name": "Ethernet4/2", 
                        "port_number": 2, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 156, 
                        "name": "Ethernet4/3", 
                        "port_number": 3, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 157, 
                        "name": "Ethernet5/0", 
                        "port_number": 0, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 158, 
                        "name": "Ethernet5/1", 
                        "port_number": 1, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 159, 
                        "name": "Ethernet5/2", 
                        "port_number": 2, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 160, 
                        "name": "Ethernet5/3", 
                        "port_number": 3, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 161, 
                        "name": "Ethernet6/0", 
                        "port_number": 0, 
                        "slot_number": 6
                    }, 
                    {
                        "id": 162, 
                        "name": "Ethernet6/1", 
                        "port_number": 1, 
                        "slot_number": 6
                    }, 
                    {
                        "id": 163, 
                        "name": "Ethernet6/2", 
                        "port_number": 2, 
                        "slot_number": 6
                    }, 
                    {
                        "id": 164, 
                        "name": "Ethernet6/3", 
                        "port_number": 3, 
                        "slot_number": 6
                    }
                ], 
                "properties": {
                    "console": 4003, 
                    "ethernet_adapters": 7, 
                    "name": "SW3", 
                    "path": "/opt/iou/bin/L2K9-15.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": -139.5, 
                "y": 167.5
            }, 
            {
                "description": "IOU device", 
                "id": 5, 
                "ports": [
                    {
                        "id": 165, 
                        "name": "Ethernet0/0", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 166, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 167, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 168, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }, 
                    {
                        "description": "connected to SW3 on port Ethernet1/0", 
                        "id": 169, 
                        "link_id": 9, 
                        "name": "Ethernet1/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW3 on port Ethernet1/1", 
                        "id": 170, 
                        "link_id": 10, 
                        "name": "Ethernet1/1", 
                        "nio": "NIO_UDP", 
                        "port_number": 1, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW1 on port Ethernet1/2", 
                        "id": 171, 
                        "link_id": 7, 
                        "name": "Ethernet1/2", 
                        "nio": "NIO_UDP", 
                        "port_number": 2, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW1 on port Ethernet1/3", 
                        "id": 172, 
                        "link_id": 8, 
                        "name": "Ethernet1/3", 
                        "nio": "NIO_UDP", 
                        "port_number": 3, 
                        "slot_number": 1
                    }, 
                    {
                        "description": "connected to SW2 on port Ethernet2/0", 
                        "id": 173, 
                        "link_id": 11, 
                        "name": "Ethernet2/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 2
                    }, 
                    {
                        "description": "connected to SW2 on port Ethernet2/1", 
                        "id": 174, 
                        "link_id": 12, 
                        "name": "Ethernet2/1", 
                        "nio": "NIO_UDP", 
                        "port_number": 1, 
                        "slot_number": 2
                    }, 
                    {
                        "id": 175, 
                        "name": "Ethernet2/2", 
                        "port_number": 2, 
                        "slot_number": 2
                    }, 
                    {
                        "id": 176, 
                        "name": "Ethernet2/3", 
                        "port_number": 3, 
                        "slot_number": 2
                    }, 
                    {
                        "id": 177, 
                        "name": "Ethernet3/0", 
                        "port_number": 0, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 178, 
                        "name": "Ethernet3/1", 
                        "port_number": 1, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 179, 
                        "name": "Ethernet3/2", 
                        "port_number": 2, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 180, 
                        "name": "Ethernet3/3", 
                        "port_number": 3, 
                        "slot_number": 3
                    }, 
                    {
                        "id": 181, 
                        "name": "Ethernet4/0", 
                        "port_number": 0, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 182, 
                        "name": "Ethernet4/1", 
                        "port_number": 1, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 183, 
                        "name": "Ethernet4/2", 
                        "port_number": 2, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 184, 
                        "name": "Ethernet4/3", 
                        "port_number": 3, 
                        "slot_number": 4
                    }, 
                    {
                        "id": 185, 
                        "name": "Ethernet5/0", 
                        "port_number": 0, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 186, 
                        "name": "Ethernet5/1", 
                        "port_number": 1, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 187, 
                        "name": "Ethernet5/2", 
                        "port_number": 2, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 188, 
                        "name": "Ethernet5/3", 
                        "port_number": 3, 
                        "slot_number": 5
                    }, 
                    {
                        "id": 189, 
                        "name": "Ethernet6/0", 
                        "port_number": 0, 
                        "slot_number": 6
                    }, 
                    {
                        "id": 190, 
                        "name": "Ethernet6/1", 
                        "port_number": 1, 
                        "slot_number": 6
                    }, 
                    {
                        "id": 191, 
                        "name": "Ethernet6/2", 
                        "port_number": 2, 
                        "slot_number": 6
                    }, 
                    {
                        "id": 192, 
                        "name": "Ethernet6/3", 
                        "port_number": 3, 
                        "slot_number": 6
                    }
                ], 
                "properties": {
                    "console": 4004, 
                    "ethernet_adapters": 7, 
                    "name": "SW4", 
                    "path": "/opt/iou/bin/L2K9-15.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": 49.5, 
                "y": 167.5
            }, 
            {
                "description": "Ethernet hub", 
                "id": 7, 
                "ports": [
                    {
                        "description": "connected to R1 on port Ethernet0/0", 
                        "id": 65, 
                        "link_id": 13, 
                        "name": "1", 
                        "nio": "NIO_UDP", 
                        "port_number": 1
                    }, 
                    {
                        "description": "connected to R2 on port Ethernet0/0", 
                        "id": 66, 
                        "link_id": 14, 
                        "name": "2", 
                        "nio": "NIO_UDP", 
                        "port_number": 2
                    }, 
                    {
                        "description": "connected to R3 on port Ethernet0/0", 
                        "id": 67, 
                        "link_id": 15, 
                        "name": "3", 
                        "nio": "NIO_UDP", 
                        "port_number": 3
                    }, 
                    {
                        "description": "connected to R4 on port Ethernet0/0", 
                        "id": 68, 
                        "link_id": 16, 
                        "name": "4", 
                        "nio": "NIO_UDP", 
                        "port_number": 4
                    }, 
                    {
                        "description": "connected to R5 on port Ethernet0/0", 
                        "id": 69, 
                        "link_id": 17, 
                        "name": "5", 
                        "nio": "NIO_UDP", 
                        "port_number": 5
                    }, 
                    {
                        "description": "connected to R6 on port Ethernet0/0", 
                        "id": 70, 
                        "link_id": 18, 
                        "name": "6", 
                        "nio": "NIO_UDP", 
                        "port_number": 6
                    }, 
                    {
                        "description": "connected to R7 on port Ethernet0/0", 
                        "id": 71, 
                        "link_id": 19, 
                        "name": "7", 
                        "nio": "NIO_UDP", 
                        "port_number": 7
                    }, 
                    {
                        "description": "connected to R8 on port Ethernet0/0", 
                        "id": 72, 
                        "link_id": 20, 
                        "name": "8", 
                        "nio": "NIO_UDP", 
                        "port_number": 8
                    }, 
                    {
                        "description": "connected to R9 on port Ethernet0/0", 
                        "id": 73, 
                        "link_id": 21, 
                        "name": "9", 
                        "nio": "NIO_UDP", 
                        "port_number": 9
                    }, 
                    {
                        "description": "connected to R10 on port Ethernet0/0", 
                        "id": 74, 
                        "link_id": 22, 
                        "name": "10", 
                        "nio": "NIO_UDP", 
                        "port_number": 10
                    }, 
                    {
                        "description": "connected to SW1 on port Ethernet0/0", 
                        "id": 75, 
                        "link_id": 23, 
                        "name": "11", 
                        "nio": "NIO_UDP", 
                        "port_number": 11
                    }, 
                    {
                        "id": 76, 
                        "name": "12", 
                        "port_number": 12
                    }, 
                    {
                        "id": 77, 
                        "name": "13", 
                        "port_number": 13
                    }, 
                    {
                        "id": 78, 
                        "name": "14", 
                        "port_number": 14
                    }, 
                    {
                        "id": 79, 
                        "name": "15", 
                        "port_number": 15
                    }, 
                    {
                        "id": 80, 
                        "name": "16", 
                        "port_number": 16
                    }, 
                    {
                        "id": 81, 
                        "name": "17", 
                        "port_number": 17
                    }, 
                    {
                        "id": 82, 
                        "name": "18", 
                        "port_number": 18
                    }, 
                    {
                        "id": 83, 
                        "name": "19", 
                        "port_number": 19
                    }, 
                    {
                        "id": 84, 
                        "name": "20", 
                        "port_number": 20
                    }, 
                    {
                        "id": 85, 
                        "name": "21", 
                        "port_number": 21
                    }, 
                    {
                        "id": 86, 
                        "name": "22", 
                        "port_number": 22
                    }
                ], 
                "properties": {
                    "name": "Hub1"
                }, 
                "server_id": 2, 
                "type": "EthernetHub", 
                "x": -147.0, 
                "y": -63.0
            }, 
            {
                "description": "IOU device", 
                "id": 8, 
                "ports": [
                    {
                        "description": "connected to Hub1 on port 1", 
                        "id": 450, 
                        "link_id": 13, 
                        "name": "Ethernet0/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 451, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 452, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 453, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }
                ], 
                "properties": {
                    "console": 4005, 
                    "ethernet_adapters": 1, 
                    "name": "R1", 
                    "path": "/opt/iou/bin/ADVk9-154.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": -367.5, 
                "y": -125.5
            }, 
            {
                "description": "IOU device", 
                "id": 9, 
                "ports": [
                    {
                        "description": "connected to Hub1 on port 2", 
                        "id": 454, 
                        "link_id": 14, 
                        "name": "Ethernet0/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 455, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 456, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 457, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }
                ], 
                "properties": {
                    "console": 4006, 
                    "ethernet_adapters": 1, 
                    "name": "R2", 
                    "path": "/opt/iou/bin/ADVk9-154.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": -312.5, 
                "y": -166.5
            }, 
            {
                "description": "IOU device", 
                "id": 10, 
                "ports": [
                    {
                        "description": "connected to Hub1 on port 3", 
                        "id": 458, 
                        "link_id": 15, 
                        "name": "Ethernet0/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 459, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 460, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 461, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }
                ], 
                "properties": {
                    "console": 4007, 
                    "ethernet_adapters": 1, 
                    "name": "R3", 
                    "path": "/opt/iou/bin/ADVk9-154.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": -259.5, 
                "y": -197.5
            }, 
            {
                "description": "IOU device", 
                "id": 11, 
                "ports": [
                    {
                        "description": "connected to Hub1 on port 4", 
                        "id": 462, 
                        "link_id": 16, 
                        "name": "Ethernet0/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 463, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 464, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 465, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }
                ], 
                "properties": {
                    "console": 4008, 
                    "ethernet_adapters": 1, 
                    "name": "R4", 
                    "path": "/opt/iou/bin/ADVk9-154.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": -204.5, 
                "y": -233.5
            }, 
            {
                "description": "IOU device", 
                "id": 12, 
                "ports": [
                    {
                        "description": "connected to Hub1 on port 10", 
                        "id": 582, 
                        "link_id": 22, 
                        "name": "Ethernet0/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 583, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 584, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 585, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }
                ], 
                "properties": {
                    "console": 4009, 
                    "ethernet_adapters": 1, 
                    "name": "R10", 
                    "path": "/opt/iou/bin/ADVk9-154.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": 123.5, 
                "y": -117.5
            }, 
            {
                "description": "IOU device", 
                "id": 13, 
                "ports": [
                    {
                        "description": "connected to Hub1 on port 5", 
                        "id": 562, 
                        "link_id": 17, 
                        "name": "Ethernet0/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 563, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 564, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 565, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }
                ], 
                "properties": {
                    "console": 4010, 
                    "ethernet_adapters": 1, 
                    "name": "R5", 
                    "path": "/opt/iou/bin/ADVk9-154.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": -144.5, 
                "y": -270.5
            }, 
            {
                "description": "IOU device", 
                "id": 14, 
                "ports": [
                    {
                        "description": "connected to Hub1 on port 6", 
                        "id": 566, 
                        "link_id": 18, 
                        "name": "Ethernet0/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 567, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 568, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 569, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }
                ], 
                "properties": {
                    "console": 4011, 
                    "ethernet_adapters": 1, 
                    "name": "R6", 
                    "path": "/opt/iou/bin/ADVk9-154.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": -87.5, 
                "y": -271.5
            }, 
            {
                "description": "IOU device", 
                "id": 15, 
                "ports": [
                    {
                        "description": "connected to Hub1 on port 7", 
                        "id": 570, 
                        "link_id": 19, 
                        "name": "Ethernet0/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 571, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 572, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 573, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }
                ], 
                "properties": {
                    "console": 4012, 
                    "ethernet_adapters": 1, 
                    "name": "R7", 
                    "path": "/opt/iou/bin/ADVk9-154.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": -25.5, 
                "y": -246.5
            }, 
            {
                "description": "IOU device", 
                "id": 16, 
                "ports": [
                    {
                        "description": "connected to Hub1 on port 8", 
                        "id": 574, 
                        "link_id": 20, 
                        "name": "Ethernet0/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 575, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 576, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 577, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }
                ], 
                "properties": {
                    "console": 4013, 
                    "ethernet_adapters": 1, 
                    "name": "R8", 
                    "path": "/opt/iou/bin/ADVk9-154.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": 28.5, 
                "y": -211.5
            }, 
            {
                "description": "IOU device", 
                "id": 17, 
                "ports": [
                    {
                        "description": "connected to Hub1 on port 9", 
                        "id": 578, 
                        "link_id": 21, 
                        "name": "Ethernet0/0", 
                        "nio": "NIO_UDP", 
                        "port_number": 0, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 579, 
                        "name": "Ethernet0/1", 
                        "port_number": 1, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 580, 
                        "name": "Ethernet0/2", 
                        "port_number": 2, 
                        "slot_number": 0
                    }, 
                    {
                        "id": 581, 
                        "name": "Ethernet0/3", 
                        "port_number": 3, 
                        "slot_number": 0
                    }
                ], 
                "properties": {
                    "console": 4014, 
                    "ethernet_adapters": 1, 
                    "name": "R9", 
                    "path": "/opt/iou/bin/ADVk9-154.bin", 
                    "serial_adapters": 0, 
                    "startup_config": "startup-config"
                }, 
                "server_id": 2, 
                "type": "IOUDevice", 
                "x": 80.5, 
                "y": -168.5
            }
        ], 
        "servers": [
            {
                "host": "192.168.184.129", 
                "id": 2, 
                "local": false, 
                "port": 8000
            }
        ]
    }, 
    "type": "topology", 
    "version": "1.0a6.dev1"
}

partial setup for KDE Konsole terminal

When I try to apply KDE Konsole terminal, the first path is set OK:

konsole --new-tab -p tabtitle=%d -e telnet %h %p >/dev/null 2>&1 &

The other is still xterm. Should be:

konsole --new-tab -p tabtitle=%d -e socat UNIX-CONNECT:"%s" stdio,raw,echo=0 >/dev/null 2>&1 &

IOU starts and then fails.

Hey, So the IOU's in the topology start and then turn off.

http://i.imgur.com/C41VA5X.png

GNS3
[lachlan@Ante-lappy ~]$ gns3
GNS3 GUI version 1.0a5.dev2
Copyright (c) 2007-2014 GNS3 Technologies Inc.
[I 140520 12:42:06 main:74] current locale is en_AU.UTF-8
...
[I 140520 12:42:21 iou_device:498] starting IOU: ['/home/lachlan/BTSync/Cisco/IOS/Cisco-IOU-L2-L3-Collection-v2/i86bi-linux-l2-adventerprisek9-15.1.bin', '-L', '-c', 'startup-config', '2']
[I 140520 12:42:21 iou_device:500] logging to /home/lachlan/GNS3/test/test-files/iou/device-2/iou.log
[I 140520 12:42:21 iou_device:507] IOU instance 2 started PID=22438
[I 140520 12:42:21 iou_device:413] starting ioucon for IOU instance IOU2 to accept Telnet connections on 0.0.0.0:4002
[I 140520 12:42:21 ioucon:358] Telnet server ready for connections on 0.0.0.0:4002
[I 140520 12:42:21 iou_device:383] IOU IOU2 [id=2]: iouyap.ini updated
[I 140520 12:42:21 iou_device:427] starting iouyap: ['/usr/local/bin/iouyap', '-q', '514']
[I 140520 12:42:21 iou_device:429] logging to /home/lachlan/GNS3/test/test-files/iou/device-2/iouyap.log
Couldn't connect to socket /tmp/netio1000/ttyS2: [Errno 111] Connection refused
[I 140520 12:42:21 iou_device:436] iouyap started PID=22440
[I 140520 12:42:21 iou_device:250] IOU IOU1 [id=1]: iouyap path set to /usr/local/bin/iouyap
[I 140520 12:42:21 iou_device:227] IOU IOU1 [id=1]: iourc file path set to /tmp/tmps6q6c2kv
[I 140520 12:42:21 iou_device:402] IOU IOU1 [id=1]: NETMAP file created
[I 140520 12:42:21 iou_device:498] starting IOU: ['/home/lachlan/BTSync/Cisco/IOS/Cisco-IOU-L2-L3-Collection-v2/i86bi-linux-l2-adventerprisek9-15.1.bin', '-L', '-c', 'startup-config', '1']
[I 140520 12:42:21 iou_device:500] logging to /home/lachlan/GNS3/test/test-files/iou/device-1/iou.log
[I 140520 12:42:21 iou_device:507] IOU instance 1 started PID=22450
[I 140520 12:42:21 iou_device:413] starting ioucon for IOU instance IOU1 to accept Telnet connections on 0.0.0.0:4001
[I 140520 12:42:21 iou_device:383] IOU IOU1 [id=1]: iouyap.ini updated
[I 140520 12:42:21 iou_device:427] starting iouyap: ['/usr/local/bin/iouyap', '-q', '513']
[I 140520 12:42:21 iou_device:429] logging to /home/lachlan/GNS3/test/test-files/iou/device-1/iouyap.log
[I 140520 12:42:21 ioucon:358] Telnet server ready for connections on 0.0.0.0:4001
Couldn't connect to socket /tmp/netio1000/ttyS1: [Errno 111] Connection refused
[I 140520 12:42:21 iou_device:436] iouyap started PID=22452
[I 140520 12:42:21 router:336] router "R6" [id=6] has been started
[I 140520 12:42:21 router:336] router "R5" [id=5] has been started
[I 140520 12:42:22 router:336] router "R4" [id=4] has been started
[I 140520 12:42:22 router:336] router "R3" [id=3] has been started
[I 140520 12:42:22 router:336] router "R2" [id=2] has been started
[I 140520 12:42:22 router:336] router "R1" [id=1] has been started
[I 140520 12:42:22 iou_device:535] stopping iouyap PID=22452 for IOU instance 1
[I 140520 12:42:22 iou_device:535] stopping iouyap PID=22440 for IOU instance 2
[I 140520 12:42:28 router:346] router "R6" [id=6] has been stopped
[I 140520 12:42:28 router:346] router "R5" [id=5] has been stopped
[I 140520 12:42:28 router:346] router "R4" [id=4] has been stopped
[I 140520 12:42:28 router:346] router "R3" [id=3] has been stopped
[I 140520 12:42:28 router:346] router "R2" [id=2] has been stopped
[I 140520 12:42:28 router:346] router "R1" [id=1] has been stopped

IOU RAM size is not propagated to the device

Even if I configure into the preferences a default value for the RAM, different from the default value of 256MB (in my case I have 512MB), I need to do a right click on the device again and change it from 256MB to 512MB, when the device is dragged to the topology, that default value is not taken into account.

I see this as a bug, just tested it on Alpha4-dev1.

Error messages while opening a previously saved project

The following error is displayed in the console of the GNS3-GUI whenever I attempt to open a previously created/saved project. I noticed it indicating to report it so that's what I'm doing, hoping that this will assist in the GNS3 devs to find the issue.

You will find the output of the exceptions.log file below;

Thanks.

=== GNS3 1.0a6.dev2 traceback on 27 May 2014 17:29:34 ===
Traceback (most recent call last):
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/main_window.py", line 286, in _openProjectActionSlot
self._loadProject(path)
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/main_window.py", line 986, in _loadProject
topology.load(json_topology)
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/topology.py", line 314, in load
self._resources_type = topology['resources_type']
KeyError: 'resources_type'
=== GNS3 1.0a6.dev2 traceback on 27 May 2014 17:30:07 ===
Traceback (most recent call last):
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/main_window.py", line 286, in _openProjectActionSlot
self._loadProject(path)
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/main_window.py", line 986, in _loadProject
topology.load(json_topology)
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/topology.py", line 314, in load
self._resources_type = topology['resources_type']
KeyError: 'resources_type'
=== GNS3 1.0a6.dev2 traceback on 27 May 2014 17:30:25 ===
Traceback (most recent call last):
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/main_window.py", line 286, in _openProjectActionSlot
self._loadProject(path)
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/main_window.py", line 986, in _loadProject
topology.load(json_topology)
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/topology.py", line 314, in load
self._resources_type = topology['resources_type']
KeyError: 'resources_type'
=== GNS3 1.0a6.dev2 traceback on 27 May 2014 17:33:27 ===
Traceback (most recent call last):
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/main_window.py", line 286, in _openProjectActionSlot
self._loadProject(path)
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/main_window.py", line 986, in _loadProject
topology.load(json_topology)
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/topology.py", line 314, in load
self._resources_type = topology['resources_type']
KeyError: 'resources_type'
=== GNS3 1.0a6.dev2 traceback on 27 May 2014 21:01:29 ===
Traceback (most recent call last):
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/main_window.py", line 286, in _openProjectActionSlot
self._loadProject(path)
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/main_window.py", line 986, in _loadProject
topology.load(json_topology)
File "/usr/local/lib/python3.3/dist-packages/gns3_gui-1.0a6.dev2-py3.3.egg/gns3/topology.py", line 314, in load
self._resources_type = topology['resources_type']
KeyError: 'resources_type'

Cannot configure and start new router in GNS3 1.0 alpha

I have dragged different router models (7200, 3745) into the topology view and cannot configure and start any of them. The label of the router is not displayed, instead a red square appears
router
Also in the console i see the following error message
Server error [-3200]: Unknown command 'set_tsg'

The full output if I start the gns3 gui from the console is:
INFO:gns3.modules.dynamips:configuring node Router c7200
[I 140401 17:31:54 init:218] starting the hypervisor manager with Dynamips working directory set to '/tmp/gns3-bz5q5g0x-files'
[I 140401 17:31:54 hypervisor_manager:155] base hypervisor port set to 7201
[I 140401 17:31:54 hypervisor_manager:320] JIT sharing support enabled
[I 140401 17:31:54 hypervisor_manager:177] base console port set to 2101
[I 140401 17:31:54 hypervisor_manager:222] base UDP port set to 10001
[I 140401 17:31:54 hypervisor_manager:199] base aux port set to 2501
[I 140401 17:31:54 hypervisor_manager:467] creating new hypervisor 127.0.0.1:7201
[I 140401 17:31:54 hypervisor:204] starting Dynamips: ['/usr/bin/dynamips', '-N1', '-H', '127.0.0.1:7201']
[I 140401 17:31:54 hypervisor:206] logging to /tmp/gns3-bz5q5g0x-files/dynamips-7201.log
[I 140401 17:31:54 hypervisor:212] Dynamips started PID=28932
[I 140401 17:31:55 hypervisor_manager:426] Dynamips server ready after 0.7403 seconds
[I 140401 17:31:55 hypervisor_manager:471] hypervisor 127.0.0.1:7201 has successfully started
[I 140401 17:31:55 dynamips_hypervisor:275] hypervisor a new base UDP 10001
[I 140401 17:31:55 router:104] router c7200 "R1" [id=1] has been created
[I 140401 17:31:55 router:1003] router "R1" [id=1]: console port updated from None to 2101
[I 140401 17:31:55 router:1033] router "R1" [id=1]: aux port updated from None to 2501
[I 140401 17:31:55 router:1181] router "R1" [id=1]: adapter C7200-IO-2FE inserted into slot 0
[I 140401 17:31:55 router:391] router "R1" [id=1]: has a new IOS image set: "/home/cioby/Documents/c7200-adventerprisek9-mz.124-9.T4.bin"
[I 140401 17:31:55 router:626] router "R1" [id=1]: sparse memory enabled
[I 140401 17:31:55 router:593] router "R1" [id=1]: mmap enabled
[I 140401 17:31:55 base:185] ZeroMQ client (dynamips) sending JSON-RPC custom error: Unknown command 'set_tsg' for call id 9d05b012-28f5-4a41-b989-cc5252ec0da9
ERROR:gns3.modules.dynamips.nodes.router:error while setting up : Unknown command 'set_tsg'

I use the Linux version of GNS3 1.0 alpha.
Thanks,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.