1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-26 00:38:10 +00:00
Commit Graph

2352 Commits

Author SHA1 Message Date
Julien Duponchelle
1cf987a548
Fix a rare crash when writing a file on a remote server
Fix #829
2016-12-13 09:25:44 +01:00
Julien Duponchelle
8f42122702
Fix 'EthernetSwitch' object has no attribute 'hw_virtualization'
Fix #828
2016-12-13 09:21:06 +01:00
Julien Duponchelle
89537204df
Fix delete project on remote compute server
Fix https://github.com/GNS3/gns3-gui/issues/1714
2016-12-12 22:41:43 +01:00
Julien Duponchelle
1106a1af47
Typo 2016-12-12 21:34:00 +01:00
Julien Duponchelle
d2f0cddbd7
Fix trouble with builtin devices when we free ports
Fix #825
2016-12-12 19:17:06 +01:00
Julien Duponchelle
9872fc09b7
When a dynamips command failed display the full command to the user
Ref #825
2016-12-12 16:38:55 +01:00
Julien Duponchelle
35c2e2fcc4
Fix a wrong error message 2016-12-12 16:29:56 +01:00
Julien Duponchelle
922da7c90f
Raise error when we can't found VboxManage at GNS3 VM startup
Fix #824
2016-12-12 15:03:56 +01:00
Julien Duponchelle
e2fd339f35
Catch auth errors when adding a compute
Fix #813
2016-12-12 11:27:18 +01:00
Julien Duponchelle
897a94f343
Do not block server startup if one project use non implemented conversion
Ref #822
2016-12-12 11:18:17 +01:00
Julien Duponchelle
063087f6fb
Fix an error when deleting a compute already deleted
Fix #815
2016-12-12 11:09:07 +01:00
Julien Duponchelle
d16e3bb37b
Catch cancelled error when you Ctrl-C during server initalisation
Fix #820
2016-12-12 10:17:45 +01:00
Julien Duponchelle
4cd08c8955
Handle OSerror when listing images
Fix #823
2016-12-12 10:14:34 +01:00
Julien Duponchelle
4bb990bf0c
Fix JSONDecodeError
Fix #814
2016-12-12 10:03:40 +01:00
Julien Duponchelle
508edf5cc5
Fix a rare crash when stopping qemu
Fix #821
2016-12-12 09:16:29 +01:00
Julien Duponchelle
c4327ec74c
Improve docker HTTP console
Fix #816
2016-12-09 16:41:15 +01:00
Julien Duponchelle
846041a59c
Fix configuration lost during save as on remote server
Fix https://github.com/GNS3/gns3-gui/issues/1704, https://github.com/GNS3/gns3-gui/issues/1705
2016-12-08 16:55:16 +01:00
Julien Duponchelle
5ba5c62670
Add support for bios images
Ref https://github.com/GNS3/gns3-gui/issues/1700
2016-12-08 16:18:30 +01:00
Julien Duponchelle
bd1560ae50
Fix error when controller config file is corrupted
Fix #812
2016-12-08 10:52:21 +01:00
Julien Duponchelle
1d1861fe51
2.0.0dev6 2016-12-08 10:33:09 +01:00
Julien Duponchelle
d006ea0f56
2.0.0 beta 1 2016-12-07 19:41:07 +01:00
Julien Duponchelle
52260cba53
Fix crash if at controller loading the remote server is not a GNS3 server
Fix #810
2016-12-07 11:01:26 +01:00
Stephen C. Moore
d55c73bc8e Fix grammar (#808)
* Fixed small grammatical error

* Fixed small grammatical error
2016-12-05 17:30:09 +01:00
Julien Duponchelle
9a632fb823
Update the way we start controller to avoid hiding crash reports 2016-12-05 10:29:20 +01:00
Julien Duponchelle
c53201b753
Fix when you switch console from VNC to telnet it's fail
Fix #805
2016-12-01 11:47:05 +01:00
Julien Duponchelle
95e944257a
AttributeError: 'Project' object has no attribute 'emit'
Fix #804
2016-12-01 10:27:05 +01:00
Julien Duponchelle
e3b1eee85b
Improve autostart logging 2016-12-01 09:24:52 +01:00
Julien Duponchelle
5efc5684ba
Fix warning when vmware is not installed 2016-11-28 20:28:19 +01:00
Julien Duponchelle
433f620905
If a VMware command fail retry
Ref #1671
2016-11-28 20:00:20 +01:00
Julien Duponchelle
49315adf79
Do not recurse scan for images in standard image directory
Fix https://github.com/GNS3/gns3-gui/issues/1680
2016-11-28 19:49:50 +01:00
Julien Duponchelle
a36fc37250
When we restore snapshot on a fail project do not crash
Fix #800
2016-11-28 13:49:09 +01:00
Julien Duponchelle
2b15da3d19
Catch error when qemuy can't connect to his console
Fix #803
2016-11-28 13:18:04 +01:00
Julien Duponchelle
b3d83b1b0b
Catch error when no space left on disk during export
Fix #801
2016-11-28 12:53:50 +01:00
Julien Duponchelle
60a145afbb
Improve vmware error message for easier copy paste 2016-11-28 09:59:38 +01:00
Julien Duponchelle
a776b36e98
Improve vmware vmrun error error message 2016-11-28 09:51:06 +01:00
Julien Duponchelle
40263e14ca
Catch error if you export a project deleted from disk
Fix #793
2016-11-25 17:18:23 +01:00
Julien Duponchelle
9b6b989d1b
Qemu UDP listen on all ips 2016-11-25 15:21:35 +01:00
Julien Duponchelle
794dac31f5
UDP tunnel debuging
Fix #1562
2016-11-25 15:11:31 +01:00
Julien Duponchelle
2215702ae8
Ask user to refresh is user session if he just installed ubridge
Ref https://github.com/GNS3/gns3-server/issues/796
2016-11-24 15:16:25 +01:00
Julien Duponchelle
03555a3489
2.0.0dev5 2016-11-24 12:53:31 +01:00
Julien Duponchelle
abcddb99b8
2.0.0a4 2016-11-24 12:05:10 +01:00
grossmj
38d9555f72 Do not block traffic originating from an Ethernet interface in the cloud. Ref #771. 2016-11-23 22:06:44 +11:00
grossmj
7754d7f211 Revert "Make the Ethernet side the source in uBridge connection and UDP tunnel the destination. Ref #771."
This reverts commit 31c04cc95b.
2016-11-23 21:55:26 +11:00
Julien Duponchelle
875051d05e
Prevent capture on non running node
Fix https://github.com/GNS3/gns3-gui/issues/1656
2016-11-22 16:05:57 +01:00
grossmj
31c04cc95b Make the Ethernet side the source in uBridge connection and UDP tunnel the destination. Ref #771. 2016-11-22 21:57:55 +11:00
Julien Duponchelle
a853e87fa5
IOURC is a text box instead of a file path
Fix https://github.com/GNS3/gns3-gui/issues/1662
2016-11-21 18:16:50 +01:00
Julien Duponchelle
9be293909e
Use vnetlib64.exe when possible
Fix https://github.com/GNS3/gns3-gui/issues/1648
2016-11-21 17:49:40 +01:00
Julien Duponchelle
1beae95443
Multiple improvements around starting the GNS3 VM
* avoid concurrent start
* proper catching of the TimeOut error

Ref #754
2016-11-21 09:59:25 +01:00
Julien Duponchelle
40af2a35e0
Wait for the end of project loading before making new change
Fix #790
2016-11-18 17:35:28 +01:00
Julien Duponchelle
5ab85e5c9e
Avoid crash due to persmission error on the .backup file 2016-11-18 17:17:14 +01:00
Julien Duponchelle
8ad5670eeb
For security reason debug informations can only be exported from local server
Ref #1562
2016-11-18 16:38:27 +01:00
Julien Duponchelle
d2564cee9b
Add more debug informations if VM failed to start
Fix #754
2016-11-18 16:19:58 +01:00
Julien Duponchelle
a872f0328d
Fix closing console of VBox on NIX systems 2016-11-18 11:27:50 +01:00
Julien Duponchelle
11f290482d
Remove debug 2016-11-18 10:44:57 +01:00
Julien Duponchelle
e4fdfbd091
Code cleanup around ubridge 2016-11-17 18:11:56 +01:00
Julien Duponchelle
dcff51eb75
Use wait_for for waiting a process with python 3.5 2016-11-17 18:09:46 +01:00
Julien Duponchelle
14fd8104b8
Fix opening a project whith the same non linked VM as current project
Fix https://github.com/GNS3/gns3-gui/issues/1646
2016-11-17 12:21:38 +01:00
Julien Duponchelle
75890c8f5a
Prevent double start of VirtualBox VM and VMware VM
Fix https://github.com/GNS3/gns3-gui/issues/1664
2016-11-17 10:38:29 +01:00
Julien Duponchelle
81b2894658
Fix KeyError: 'linked_clone'
Fix #792
2016-11-17 10:17:23 +01:00
Julien Duponchelle
94ceb2dda0
No connection limit / No keep alive for connection to compute
Fix #779
2016-11-16 15:04:10 +01:00
Julien Duponchelle
66a237628a
Return default symbol if user asked for a non existing symbol 2016-11-16 13:17:58 +01:00
Julien Duponchelle
928d9f13f4
Do not log warning at qemu exit on windows if it's normal
Fix #777
2016-11-16 13:06:43 +01:00
Julien Duponchelle
ecfa89cba8
Speed up interfaces listening on Windows
Fix #788
2016-11-16 12:28:02 +01:00
Julien Duponchelle
6e5e9e3df9
Fix filtering special interfaces on Windows 2016-11-16 12:21:43 +01:00
Julien Duponchelle
56c580dc44
On windows filter VMware and VirtualBox adapters by default
Ref #788
2016-11-16 12:16:46 +01:00
Julien Duponchelle
0250547479
If server answer not found explain this could be due to the usage of 1.X server 2016-11-15 18:36:04 +01:00
Julien Duponchelle
89bbe0ef1b
Fix stack when looking for GNS3 VM with player installed
Fix #778
2016-11-15 18:17:34 +01:00
grossmj
3c384a7bf0 Try to fix VPCS and loobpack adapters not working together. Ref #771. 2016-11-15 17:36:51 +11:00
Julien Duponchelle
5166d894eb
Do not reload a project via /load if the project is already opened
Fix #785
2016-11-14 18:45:44 +01:00
Julien Duponchelle
e996b825c6
Fix you can not pass auto close at project creation 2016-11-14 16:10:19 +01:00
Julien Duponchelle
a8b78a9b0a
Fix traceback when sending invalid parameters to the server
Fix #783
2016-11-14 14:00:11 +01:00
grossmj
fdc9283e04 Generic code the bind an Ethernet interface with uBridge. Ref #771. 2016-11-13 20:28:14 +11:00
Julien Duponchelle
63a92c4a16
Require ubridge 0.9.7 this fix error with IOL bridge creation
Fix https://github.com/GNS3/gns3-gui/issues/1651
2016-11-11 17:07:20 +01:00
Julien Duponchelle
8dd4f63aca
Make sure IOU licence is dump in ~/
Fix #780
2016-11-11 16:18:39 +01:00
Julien Duponchelle
3bc4e951b8
Fix a None error when creating link 2016-11-11 16:08:52 +01:00
Julien Duponchelle
8db9b89318
Fix IOL bridge errors
Fix https://github.com/GNS3/gns3-gui/issues/1651
2016-11-11 15:16:46 +01:00
Julien Duponchelle
52577b55b2
Typo 2016-11-11 14:44:27 +01:00
Julien Duponchelle
3bb4f6f133
Display path of vnetlib during interface creations
Ref https://github.com/GNS3/gns3-gui/issues/1648
2016-11-11 14:26:09 +01:00
Julien Duponchelle
1bb760d3f0
Make logs for searching GNS3 VM vmware IP less noisy
Fix #765
2016-11-11 11:41:16 +01:00
Julien Duponchelle
65090c6f87
Catch errors when listing images
Fix #764
2016-11-11 11:24:41 +01:00
Julien Duponchelle
477091207d
Better handle compute unavailable errors
Fix #775
2016-11-11 10:38:59 +01:00
Julien Duponchelle
f968f6616f
Fix NameError: name 'available_ram' is not define
Fix #767
2016-11-11 10:25:37 +01:00
Julien Duponchelle
57e2fd9943
If we can found a common subnet we return the host binding for link
creation

Fix #773
2016-11-10 22:39:16 +01:00
Julien Duponchelle
ca6f014207
Do not connect GNS3 to remote server via 169.254.X.X 2016-11-10 14:46:25 +01:00
Julien Duponchelle
5f988bae2f
Expose debug informations about links 2016-11-10 14:18:24 +01:00
Julien Duponchelle
bddf9ec2ac
Qemu telnet support multiple client connected
Fix #770
2016-11-09 09:47:48 +01:00
Julien Duponchelle
69f154d9cc
Correctly initialize connection to VPCS console 2016-11-08 20:10:17 +01:00
Julien Duponchelle
db8296f548
Support multiple client connected to the same VPCS console
Ref #770
2016-11-08 19:44:12 +01:00
Julien Duponchelle
3754a49cc0
Drop IOUCON
Fix #747
2016-11-08 10:21:20 +01:00
Julien Duponchelle
15d190d911
Increase timeout for link creation 2016-11-08 09:54:59 +01:00
Julien Duponchelle
553e137a13
Support for serial console for Virtual BOX and VMware using asyncio
Ref #747
2016-11-07 23:43:20 +01:00
Julien Duponchelle
3c5cbebfb4
Fix timeout issues when starting VMware or VBox
Fix https://github.com/GNS3/gns3-gui/issues/1632
2016-11-07 17:34:51 +01:00
Julien Duponchelle
a35eaa8e60
Ask for reboot if VBoxManage is not found 2016-11-07 15:49:25 +01:00
Julien Duponchelle
7931ee01b3
Fix a crash with VirtualBox linked clone 2016-11-07 14:10:44 +01:00
grossmj
183f602fc0 Replace iouyap by ubridge to handle IOU connections. Fixes #614. 2016-11-06 21:27:49 +11:00
grossmj
c271ef8c6a Tool to add, configure and remove Windows loopback adapters.
New dependency: wmi (not added to requirements.txt).

Usage (must be running with admin rights):
gns3loopback.exe --add MY_LOOPBACK 10.0.0.1 255.0.0.0
gns3loopback.exe --remove MY_LOOPBACK
2016-11-05 15:10:05 +11:00
Julien Duponchelle
0c87d8e1bd
Lock VMware by VM instead of globally
Ref https://github.com/GNS3/gns3-gui/issues/1632
2016-11-04 19:39:17 +01:00
Julien Duponchelle
7255754fef
Bridge support in cloud is more robust
Fix #761
2016-11-04 17:40:44 +01:00
Julien Duponchelle
cf723962af
Support bridge in cloud
Nat take advantage of that and the code is more simple.

Fix #761
2016-11-04 17:32:16 +01:00
Julien Duponchelle
1b3e47ce83
Add a test of cloud raw ethernet interface
Before touching it for the bridge support a test to prevent regressions.

Ref #761
2016-11-04 16:52:29 +01:00
Julien Duponchelle
ea94731418
Fix support of IOS images outside standard directories
Fix https://github.com/GNS3/gns3-gui/issues/1630
2016-11-04 15:26:13 +01:00
Julien Duponchelle
5dee4eb052
Raise clean error when node timeout when stopped 2016-11-04 11:40:55 +01:00
Julien Duponchelle
dc26be43c2
Fix random VirtualBox creation error when using linked clone
Fix #760
2016-11-04 11:07:43 +01:00
Julien Duponchelle
4e15f89604
Drop console_type serial, and enable_remote_console for Vbox and VMware
Ref #748
2016-11-03 18:17:50 +01:00
Julien Duponchelle
0d6adb0620
Fix a rare crash when a failed node is garbage collected 2016-11-03 14:21:28 +01:00
Julien Duponchelle
1e73962e33
Do not dump iourc_content to .gns3 file
Fix #759
2016-11-03 13:35:44 +01:00
Julien Duponchelle
3df3aa84ff
Try to disable enable remote console for VMware to see if it's the source of timeout errors
Ref https://github.com/GNS3/gns3-gui/issues/1632
2016-11-03 10:40:00 +01:00
Julien Duponchelle
7c981f9322
Try to disable enable remote console for VMware to see if it's the source of timeout errors
Ref https://github.com/GNS3/gns3-gui/issues/1632
2016-11-02 18:59:09 +01:00
Julien Duponchelle
21ec2a6271
Fix No such file or directory when duplicate a project using Vbox linked clone hdd_info.json
Fix #1185
2016-11-02 12:50:53 +01:00
Julien Duponchelle
ce5ff93242
Catch FileNotFound error for builtin symbols if erase them from disk
Fix #752
2016-11-02 12:07:25 +01:00
Julien Duponchelle
0d022a4d33
Forward server disconnected errors
Fix #758
2016-11-02 11:06:45 +01:00
Julien Duponchelle
b85b4b73cc
Fix a crash when vboxmanage is not found
Fix #755
2016-11-02 10:22:36 +01:00
Julien Duponchelle
308706e3d4
Raise error if IOU image is not configured
Fix #757
2016-11-02 10:20:43 +01:00
Julien Duponchelle
ae76a4f778
Fix crash when getting font 2016-11-01 18:18:51 +01:00
Julien Duponchelle
94ebd732a8
Fix a crash when default font is missing
Fix #750
2016-10-31 11:37:39 +01:00
Julien Duponchelle
9bceaa89b7
Fix a crash when vmrun is not found
Fix #753
2016-10-31 11:20:35 +01:00
Julien Duponchelle
8150c3007e
2.0.0dev4 2016-10-28 19:38:01 +02:00
Julien Duponchelle
21c83de445
2.0.0 alpha 3 2016-10-28 19:19:29 +02:00
Julien Duponchelle
6be5b6ffad
Fix uuid of VirtualBox VM after a save as
Fix #1185
2016-10-28 16:00:26 +02:00
Julien Duponchelle
9d94c47fc8
Merge branch 'master' into 2.0 2016-10-28 11:39:16 +02:00
Julien Duponchelle
bd4de862c8
Explain that segfault on IOU is a issue with the image
Fix #739
2016-10-28 11:25:14 +02:00
Julien Duponchelle
53e6ee1b3a
Fix crash when you import a corrupted SVG
Fix #746
2016-10-28 10:06:02 +02:00
Julien Duponchelle
4a5066c2a5
Fix Error while creating link: Port 0 is not allocated. when you have an invalid interface
Fix #744
2016-10-27 19:09:27 +02:00
Julien Duponchelle
ea1c525181
Fix computes tests 2016-10-27 16:54:05 +02:00
Julien Duponchelle
0cfdde7b7e
Fix random password lost of remote GNS3VM 2016-10-27 16:50:00 +02:00
Julien Duponchelle
ae1a9d9a5f
No timeout for listing images
Fix #1617
2016-10-27 15:34:17 +02:00
Julien Duponchelle
eff23eefe9
Handle 408 HTTP status code (request timeout)
Fix #743
2016-10-27 15:32:07 +02:00
Julien Duponchelle
620de3ff25
Move code for exposing VM ip to the VM itself. And display VM starting status
Fix #1621
2016-10-26 18:32:01 +02:00
Julien Duponchelle
fd911542f7
Fix a crash when we have error during export project 2016-10-26 16:50:01 +02:00
Julien Duponchelle
eabe4eb97e
Improve remote server console host support when binding to 0.0.0.0
Fix https://github.com/GNS3/gns3-gui/issues/1574
2016-10-26 14:43:47 +02:00
Julien Duponchelle
afb7eca27a
Fix port naming for atm switch
Fix #735
2016-10-26 12:03:54 +02:00
Julien Duponchelle
cf3ed5a329
Fix port naming for FrameRelay switch
Fix #735
2016-10-26 11:59:16 +02:00
Julien Duponchelle
048d2c12d0
Catch permission errors when listing images
Fix #1608
2016-10-26 10:53:14 +02:00
Julien Duponchelle
1080147cf5
If we can't found the VMware version we use workstation
Fix #742
2016-10-26 10:36:34 +02:00
Julien Duponchelle
0f9df6a2f8
Fix crash in idlePC compute 2016-10-25 19:32:07 +02:00
Julien Duponchelle
9e861a7340
Try a different method in order to retrieve IP from VMware
Ref https://github.com/GNS3/gns3-gui/issues/1589
2016-10-25 18:44:40 +02:00
Julien Duponchelle
1f44e08cdd
Fix naming of IOU serial interfaces
Fix #737
2016-10-25 15:26:36 +02:00
Julien Duponchelle
9799dabb98
Improve timeout management
Fix #741
2016-10-25 14:41:33 +02:00
Julien Duponchelle
59dcdcc141
When exporting debug information export GNS3 VM vmx content
Fix #740
2016-10-25 11:56:24 +02:00
Julien Duponchelle
4815904737
/debug for exporting debug informations
Ref #740, https://github.com/GNS3/gns3-gui/issues/1562
2016-10-25 11:40:57 +02:00
Julien Duponchelle
ae1e027031
Raise error if using a non linked clone VM twice
Fix https://github.com/GNS3/gns3-gui/issues/1593
2016-10-24 21:39:35 +02:00
Julien Duponchelle
597e1e618d
Fix a possible deadlock at exit 2016-10-24 18:02:50 +02:00
Julien Duponchelle
acd1d95a8e
Fix import of some old dynamips topologies
Fix #734
2016-10-24 17:57:23 +02:00
Julien Duponchelle
0caf74443b
Fix a crash with some old virtualbox topologies
Fix https://github.com/GNS3/gns3-gui/issues/1605
2016-10-24 16:47:45 +02:00
Julien Duponchelle
786159110e
Fix conflict issue between the GNS3VM and a remote server 2016-10-24 15:24:45 +02:00
Julien Duponchelle
b9e7ccc14f
Fix typo in error message about the GNS3 VM 2016-10-24 15:16:53 +02:00
Julien Duponchelle
10e7b32409
Fix an error when importing old topology without color for label
Fix #736
2016-10-24 14:58:14 +02:00
Julien Duponchelle
ac1eef256f
Use tap adapter instead of veth for docker (allow usage of vlan)
Ref #716
2016-10-24 12:35:50 +02:00
Julien Duponchelle
19d184e04c
2.0.0dev3 2016-10-20 22:13:10 +02:00
Julien Duponchelle
db6485e702
2.0.0a2 2016-10-20 21:30:41 +02:00