1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00
Commit Graph

2440 Commits

Author SHA1 Message Date
Julien Duponchelle
63b888a57e
Drop unused code 2017-02-02 15:34:39 +01:00
Julien Duponchelle
46d405c8b3
Simplify conversion process from 1.3 to 2.0
This could avoid some corruption issue.
2017-02-02 11:52:55 +01:00
Julien Duponchelle
f0ff035c0b
Prevent corruption of VM in VirtualBox when using linked clone
Fix https://github.com/GNS3/gns3-gui/issues/1821
2017-01-31 18:58:43 +01:00
Julien Duponchelle
27a1089806
Fix creation of qemu img
Fix https://github.com/GNS3/gns3-gui/issues/1826
2017-01-31 15:16:05 +01:00
Julien Duponchelle
bfbc6ff0be
Fix rare race condition when stopping ubridge
Fix #887
2017-01-31 13:43:05 +01:00
Julien Duponchelle
580693b1ec
Prevent renaming of a running VirtualBox linked VM
Fix https://github.com/GNS3/gns3-gui/issues/1816
2017-01-30 15:19:46 +01:00
Julien Duponchelle
2da20177a2
Avoid crash when you broke your system permissions
Fix #877
2017-01-27 10:56:48 +01:00
Julien Duponchelle
267a5ae3a8
Do not crash when you broke permission on your file system during
execution

Fix #878
2017-01-27 10:52:17 +01:00
Julien Duponchelle
8ff7670031
Fix a crash when you broke permission on your file system
Fix #879
2017-01-27 10:49:57 +01:00
Julien Duponchelle
d99ec92210
Fix a rare race condition when exporting debug informations
Fix #880
2017-01-27 10:48:07 +01:00
Julien Duponchelle
b9bd6aa501
Do not try to start the GNS3 VM if the name is none
Fix #881
2017-01-27 10:41:39 +01:00
Julien Duponchelle
1ed88eda85
Fix version check for VPCS 2017-01-23 21:11:52 +01:00
Julien Duponchelle
a24490930f
Fix pcap for PPP link with IOU
Fix https://github.com/GNS3/gns3-gui/issues/1799
2017-01-23 18:28:06 +01:00
Julien Duponchelle
dc40b0296e
Correct link are not connected to the correct ethernet switch port after conversion
Fix https://github.com/GNS3/gns3-gui/issues/1797
2017-01-23 13:34:11 +01:00
Julien Duponchelle
f90e6f2f5b
Fix an error if you don't have permissions on your symbols directory
Fix #872
2017-01-23 10:23:18 +01:00
Julien Duponchelle
a1a677fcd3
Fix an error when converting some topologies from 1.3
Fix #871
2017-01-23 10:18:35 +01:00
Julien Duponchelle
1b07c31ef1
2.0.0 dev8 2017-01-19 11:17:22 +01:00
Julien Duponchelle
c5be64a44f
2.0.0b3 2017-01-19 11:16:05 +01:00
Julien Duponchelle
89d98bc528
Fix sometimes you have an exception when closing GNS3
Fix #869
2017-01-18 18:38:25 +01:00
Julien Duponchelle
d74769c824
Fix duplicate node names
Fix https://github.com/GNS3/gns3-gui/issues/1796
2017-01-18 18:28:50 +01:00
Julien Duponchelle
e5dba5e66a
Fix bug with other directory of Qemu images
Fix https://github.com/GNS3/gns3-gui/issues/1790
2017-01-18 12:39:10 +01:00
Julien Duponchelle
3c0bdd12b5
Do not raise an error if no VM is selected for remote GNS3 VM 2017-01-18 09:49:59 +01:00
Julien Duponchelle
47c58bb400
Fix UnboundLocalError: local variable 'vmname' referenced before assignment
Fix #868
2017-01-18 09:39:27 +01:00
Julien Duponchelle
c9f3ea4489
Fix some race condition in project deletion
Fix #866
2017-01-17 19:37:38 +01:00
Julien Duponchelle
82da073dd7
If qemu status change internally we mirror it 2017-01-17 16:03:12 +01:00
Julien Duponchelle
bfb23ce7a3
Fix hostname of VPCS is not changed
Fix https://github.com/GNS3/gns3-gui/issues/1780
2017-01-17 14:34:48 +01:00
Julien Duponchelle
304d92764c
Fix capture stop with Wireshark
Fix https://github.com/GNS3/gns3-gui/issues/1763
2017-01-16 20:31:55 +01:00
Julien Duponchelle
2de284ea30
Fix some tests on travis 2017-01-16 10:13:13 +01:00
Julien Duponchelle
7a0783d050
Drop a useless debug information
Fix https://github.com/GNS3/gns3-gui/issues/1778
2017-01-16 09:17:08 +01:00
Julien Duponchelle
7241063ddf
Fix sometimes VirtualBox VM are not loading
Fix  https://github.com/GNS3/gns3-server/issues/865
2017-01-16 08:57:50 +01:00
Julien Duponchelle
1527a1a4e1 Fix cloud on Linux
Fix  https://github.com/GNS3/gns3-server/issues/865
2017-01-13 17:08:40 +01:00
Jeremy Grossmann
ec0181a5ad Merge pull request #856 from GNS3/dynamips_directory_layout
Change directory layout for dynamips.
2017-01-12 20:30:10 -08:00
Julien Duponchelle
e63171c2c2
1.5.3dev1 2017-01-12 09:07:06 +01:00
Julien Duponchelle
19c4ec1867
1.5.3 2017-01-12 08:18:46 +01:00
Julien Duponchelle
b1ae884bf0
Drop NAT port from cloud from old topologies
It was almost not used (only one occurrence in the whole
beta test).

Fix #844
2017-01-11 19:20:12 +01:00
Julien Duponchelle
1bf54bcaeb
Fix Port labels for docker VMs incorrect 2017-01-11 18:38:28 +01:00
Julien Duponchelle
82c99418b4
Fix If cloud interface is down the project doesn't open
Fix https://github.com/GNS3/gns3-gui/issues/1751
2017-01-11 17:23:36 +01:00
Julien Duponchelle
69d8ed5636
Catch Timeout error from VirtualBox GNS3 VM
Fix #864
2017-01-11 15:49:36 +01:00
Julien Duponchelle
df694ca9eb
Fix export of IOU configuration
Fix https://github.com/GNS3/gns3-gui/issues/1745
2017-01-10 15:50:35 +01:00
Julien Duponchelle
720adb7721
Fix a crash with VirtualBox in some conditions
Fix #863
2017-01-10 14:23:12 +01:00
Julien Duponchelle
9480065b28 Sata disk interface support for Qemu VMs. (#862) 2017-01-10 14:11:40 +01:00
Julien Duponchelle
6150929a5b
Support conversion to dynamips new directory layout on remote
Ref https://github.com/GNS3/gns3-gui/issues/1761
2017-01-10 12:15:31 +01:00
Julien Duponchelle
e0071f5b59
Catch error when a file is deleted during the compression of project
Fix #860
2017-01-10 10:16:45 +01:00
Julien Duponchelle
666461277d
Fix a crash with some docker images
Fix #861
2017-01-10 10:09:34 +01:00
Julien Duponchelle
41d32a5f71
Fix Wrong slot numbering on IOS router
Fix #1762
2017-01-09 18:04:54 +01:00
Julien Duponchelle
f7d87f09f1
Fix VPCS configuration is overwritten on project load
Fix https://github.com/GNS3/gns3-gui/issues/1766
2017-01-09 17:07:42 +01:00
Julien Duponchelle
58287b3638
Fix wrong short label for ethernet switch, hub & VPCS
Fix https://github.com/GNS3/gns3-gui/issues/1764
2017-01-09 16:48:42 +01:00
Julien Duponchelle
2de60ba257
Drop a useless line of code in port_manager 2017-01-09 16:11:34 +01:00
Julien Duponchelle
035cbac28e
Fix binding console host for VMware and VirtualBox
Ref https://github.com/GNS3/gns3-gui/issues/1757
2017-01-09 16:05:29 +01:00
Julien Duponchelle
b63273ec97
Fix resume of dynamips routers
Fix #1754
2017-01-09 13:24:23 +01:00
Julien Duponchelle
688122c467
Fix RuntimeError: File size has increased during compressing
Fix #858
2017-01-09 10:20:14 +01:00
Julien Duponchelle
5c8193556d
Do not dump local compute configuration when saving topology
Fix #855
2017-01-09 10:14:21 +01:00
Julien Duponchelle
a2fdc92fcb
Change directory layout for dynamips.
This create a directory by node to allow feature like save as
to work when running on multiple compute. Benefits now dynamips work
like other nodes. Old topologies are migrated.

Ref https://github.com/GNS3/gns3-gui/issues/1761
2017-01-06 17:43:47 +01:00
Julien Duponchelle
955a466be5
Ensure we can't connect to occupy port
Ref https://github.com/GNS3/gns3-gui/issues/1759
2017-01-06 10:29:56 +01:00
Julien Duponchelle
51aef2b9c7
Fix handling of UTF-8 in large SVG files
Fix #854
2017-01-06 09:42:56 +01:00
Julien Duponchelle
6778b29fc0
Prevent a crash when you close a dynamips node and create a link at the same time
Fix #853
2017-01-06 09:33:10 +01:00
Julien Duponchelle
c06d2e3118
Fix short label diplay instead of custom interface labels
Fix https://github.com/GNS3/gns3-gui/issues/1742, https://github.com/GNS3/gns3-gui/issues/1752
2017-01-05 16:55:31 +01:00
Julien Duponchelle
12f09829e7
Improve error message about the netmask
Ref #1751
2017-01-05 14:51:43 +01:00
grossmj
c9fc0a0d6d Do not mark VirtualBox adapter as connected when not connected to another node in GNS3. 2017-01-05 14:30:23 +08:00
grossmj
855ab13655 Add missing 'DLT_PPP_SERIAL' PCAP link type in schemas. 2017-01-05 12:24:36 +08:00
Julien Duponchelle
ef54367bf7
Fix crash when converting topology with broken link
Fix #845
2016-12-21 14:39:44 +01:00
Julien Duponchelle
e53db1ed81
Replace JSONDecodeError by ValueError (Python 3.4 compatibility)
Fix #847
2016-12-21 09:45:24 +01:00
Julien Duponchelle
8c61ef18ba
2.0.0dev7 2016-12-21 09:40:36 +01:00
Julien Duponchelle
9a7a9f41aa
Catch an error when we can't create the IOU directory
Fix #846
2016-12-21 09:33:44 +01:00
Julien Duponchelle
2acd6ce884
2.0.0 beta 2 2016-12-20 11:57:34 +01:00
Julien Duponchelle
af530be346
1.5.3dev2 2016-12-20 11:48:55 +01:00
Julien Duponchelle
9c3cfc4f4e
1.5.3 rc1 2016-12-20 09:30:52 +01:00
Julien Duponchelle
c7d878ed9e
Fix TypeError: __init__() got multiple values for argument 'handler' with recent aiohttp
Fix #841
2016-12-20 09:21:02 +01:00
Julien Duponchelle
49f1ee2e32
Support aiohttp 1.2 (but not compatible with previous versions)
Fix #840
2016-12-20 09:17:45 +01:00
Julien Duponchelle
52adf45740
Fix an error when docker hub failed to anwser
Fix #843
2016-12-20 09:15:28 +01:00
Julien Duponchelle
2011aca43a
Fix an issue with Docker and IOU packet capture
Fix https://github.com/GNS3/gns3-gui/issues/1727
2016-12-19 12:26:34 +01:00
Julien Duponchelle
3bc78f61df
Fix TypeError: __init__() got multiple values for argument 'handler' with recent aiohttp
Fix #841
2016-12-19 11:12:15 +01:00
Julien Duponchelle
572fa08049
Support aiohttp 1.2 (but not compatible with previous versions)
Fix #840
2016-12-19 10:10:47 +01:00
Julien Duponchelle
7ba7c89594
Support UDP cloud from 1.5
Fix #822
2016-12-19 09:46:34 +01:00
Julien Duponchelle
f86358ad71
Relax permission check on OSX, it seem returning wrong info for setuid 2016-12-19 09:28:27 +01:00
Julien Duponchelle
8f6d25cc2b
Fix start all create error if a docker container is already running
Fix #839
2016-12-16 16:19:23 +01:00
Julien Duponchelle
3259ec1220
Close project if one one the compute of the project is down
Fix #836
2016-12-15 21:57:59 +01:00
Julien Duponchelle
60eea1f171
Fix error when you upload an empty file
Fix #838
2016-12-15 17:12:54 +01:00
Julien Duponchelle
b79235afb7
Fix KeyError: 'color' when converting some 1.3 topologies
Fix #837
2016-12-15 16:52:01 +01:00
Julien Duponchelle
f3e9917479
Fix move a docker restart it
Fix #832
2016-12-14 19:21:50 +01:00
Julien Duponchelle
74a7e630d3
Fix export of projects with docker with a / in the image name
Fix #834
2016-12-14 18:57:59 +01:00
Julien Duponchelle
1b6411f88e
Fix an error on Linux during export
Fix #826
2016-12-14 18:44:32 +01:00
Julien Duponchelle
46b6e7c5ee
Fix hot link issues in Docker
Fix #817
2016-12-14 16:53:20 +01:00
Julien Duponchelle
d0f65aebff
Fix Can't delete link between docker VM after they were in use
Fix #818
2016-12-14 12:01:34 +01:00
Julien Duponchelle
30f29d00c4
Fix hardware virtualization detection when an ethernet switch is running
Fix https://github.com/GNS3/gns3-gui/issues/1722
2016-12-14 11:04:13 +01:00
Julien Duponchelle
668c479ef6
Temporary fix for tunnel binding for Daniel from SWI 2016-12-13 16:46:09 +01:00
Bernhard Ehlers
a3495304ad
Code cleanup for docker interface creation
Fix #819

Signed-off-by: Julien Duponchelle <julien@gns3.net>
2016-12-13 16:07:59 +01:00
Julien Duponchelle
9f6f830418
Fix TypeError: __new__() got multiple values for argument 'node_type'
Fix #827
2016-12-13 09:36:45 +01:00
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