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

518 Commits

Author SHA1 Message Date
Julien Duponchelle
8e9c480d8d
Catch some invalid node name formatting
Fix #917
2017-02-27 11:24:06 +01:00
Julien Duponchelle
53dd1bd6e1
Ensure we dump a .gns3 before exporting it
Fix #915
2017-02-27 11:10:08 +01:00
Julien Duponchelle
3fb24dd895
Avoid a crash when the connection with the server close 2017-02-23 17:54:01 +01:00
Julien Duponchelle
5bfa864f0c
Increase timeout for detecting VirtualBox GNS3 VM 2017-02-23 16:19:20 +01:00
Julien Duponchelle
0d96471f29
Fix headless startup of the GNS3 VM 2017-02-23 15:35:30 +01:00
Julien Duponchelle
8aca3c7b99
Do not crash at startup if local server as the same name as remote server
Fix #910
2017-02-23 14:34:21 +01:00
Julien Duponchelle
6a91804116
Catch error when you provide an invalid port name formating
Fix #909
2017-02-22 18:03:26 +01:00
Julien Duponchelle
b132d95a04
Fix error when you delete the builtin symbols directory
Fix #908
2017-02-20 18:28:49 +01:00
Julien Duponchelle
7fea6f0e2e
Fix conversion issue for old IOU projects
Fix https://github.com/GNS3/gns3-gui/issues/1868
2017-02-20 10:48:03 +01:00
Jeremy Grossmann
5672b4b748 Merge pull request #890 from GNS3/base_config_server_side
Manage base configuration on server
2017-02-19 22:59:06 -08:00
Julien Duponchelle
e04eb44a15
Disallow export of project with VirtualBox linked clone
Fix https://github.com/GNS3/gns3-gui/issues/1824
2017-02-14 16:41:31 +01:00
Julien Duponchelle
a191029c4f
Fix linked_clone property lost during topology convert 2017-02-14 14:45:48 +01:00
Julien Duponchelle
a576c57873
Catch permission error when restoring a snapshot
Fix #899
2017-02-13 15:30:02 +01:00
Julien Duponchelle
5639cbe860
Fix a rare crash when closing a project
Fix #900
2017-02-13 15:24:22 +01:00
Julien Duponchelle
defcf82610
Fix a rare error when closing a project
Fix #897
2017-02-13 15:18:00 +01:00
Julien Duponchelle
2a840da462
Create an ApplianceTemplate class 2017-02-08 15:40:56 +01:00
Julien Duponchelle
f33e470601
Fix error when you have error on your filesystem during project convertion
Fix #894
2017-02-07 10:36:36 +01:00
Julien Duponchelle
94fd4bcbe9
Fix stacktrace display when connecting to remote server
Fix #891
2017-02-06 17:56:08 +01:00
Julien Duponchelle
6ded234681
Fix an error with Python 3.4 2017-02-06 17:19:02 +01:00
Julien Duponchelle
bcc71b5455
Fix a crash with Python 3.4
Fix https://github.com/GNS3/gns3-server/issues/876
2017-02-06 16:52:13 +01:00
Julien Duponchelle
08c2892295
If we can't resolve compute name return 0.0.0.0
It's not perfect, but it's rare in most cases it's
handle before.

Fix #892
2017-02-06 16:47:40 +01:00
Julien Duponchelle
9c7d2e9915
Raise an error if you put an invalid key in node name
Fix https://github.com/GNS3/gns3-gui/issues/1833
2017-02-06 15:05:29 +01:00
Julien Duponchelle
0d7157c295
Improve a lot project loading speed
Fix #893
2017-02-06 11:57:56 +01:00
Julien Duponchelle
fbe26d11cf
Fix a potential crash 2017-02-06 11:07:35 +01:00
Julien Duponchelle
d06af526b2
Fix the server don't start if a remote is unavailable 2017-02-06 10:49:09 +01:00
Julien Duponchelle
959c08449e
Do not crash if you pass {name} in name 2017-02-03 14:56:55 +01:00
Julien Duponchelle
e892e5dfab
Manage base configuration on server
Fix #786
2017-02-03 13:19:14 +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
dc6756d5ae
Embed the appliances in the server.
This add a /appliances call
2017-02-01 11:30:14 +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
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
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
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
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
304d92764c
Fix capture stop with Wireshark
Fix https://github.com/GNS3/gns3-gui/issues/1763
2017-01-16 20:31:55 +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
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
69d8ed5636
Catch Timeout error from VirtualBox GNS3 VM
Fix #864
2017-01-11 15:49:36 +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
41d32a5f71
Fix Wrong slot numbering on IOS router
Fix #1762
2017-01-09 18:04:54 +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
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
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
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
7ba7c89594
Support UDP cloud from 1.5
Fix #822
2016-12-19 09:46:34 +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
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
668c479ef6
Temporary fix for tunnel binding for Daniel from SWI 2016-12-13 16:46:09 +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
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
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
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
bd1560ae50
Fix error when controller config file is corrupted
Fix #812
2016-12-08 10:52:21 +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
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
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
40263e14ca
Catch error if you export a project deleted from disk
Fix #793
2016-11-25 17:18:23 +01:00
Julien Duponchelle
794dac31f5
UDP tunnel debuging
Fix #1562
2016-11-25 15:11:31 +01: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
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
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
d2564cee9b
Add more debug informations if VM failed to start
Fix #754
2016-11-18 16:19:58 +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
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
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
3bc4e951b8
Fix a None error when creating link 2016-11-11 16:08:52 +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
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
15d190d911
Increase timeout for link creation 2016-11-08 09:54:59 +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
5dee4eb052
Raise clean error when node timeout when stopped 2016-11-04 11:40:55 +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
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
0d022a4d33
Forward server disconnected errors
Fix #758
2016-11-02 11:06:45 +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
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
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
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
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
106915f419
Return md5sum and filesize in the list of images
Ref https://github.com/GNS3/gns3-gui/issues/1590
2016-10-20 17:24:05 +02:00
Julien Duponchelle
43236746f9
Support symbol None (from old versions)
Fix #732
2016-10-20 09:44:24 +02:00
Julien Duponchelle
2a4b68d3b7
/duplicate support non opened projects
Ref https://github.com/GNS3/gns3-gui/issues/1585
2016-10-18 16:50:41 +02:00
Julien Duponchelle
19be2d85b7
Fix Snapshot restore does not work with IOS routers
Fix https://github.com/GNS3/gns3-gui/issues/1583
2016-10-18 16:19:14 +02:00
Julien Duponchelle
dd849f7945
Strip space from all nodes names
Fix #727
2016-10-18 11:11:45 +02:00
Julien Duponchelle
a8ffaa9cb5
If listen on all interface do not return localhost as console
Fix https://github.com/GNS3/gns3-gui/issues/1574
2016-10-17 18:20:29 +02:00
Julien Duponchelle
b9b0feed62
Fix IPV6 server support
Fix #717
2016-10-17 14:10:25 +02:00
Julien Duponchelle
cb0a7c6a3f
Fix connection issue with IOU when a device as serial link
Fix https://github.com/GNS3/gns3-gui/issues/1566
2016-10-17 00:06:34 +02:00
Julien Duponchelle
241c9b0c11
Fix Error when converting some dynamips topologies from 1.3 => 2.0
Fix #718
2016-10-07 12:33:46 +02:00
Julien Duponchelle
b6fa14454e
After conversion from 1.X check the topology before save to disk 2016-10-07 11:56:55 +02:00
Julien Duponchelle
a437760f5d
Keep forever .gns3 backup before version upgrade 2016-10-07 11:29:11 +02:00
Julien Duponchelle
d60b606d5e
Fix save of topology size
Fix https://github.com/GNS3/gns3-gui/issues/1561
2016-10-05 15:52:44 +02:00
Julien Duponchelle
04aec4619f
Fix uploads of large images
Fix https://github.com/GNS3/gns3-gui/issues/1552
2016-10-04 10:56:38 +02:00
Julien Duponchelle
8299ce800d
Stop raising error if VMware has not enough ram. Not working on some system
Fix #713
2016-10-04 10:15:33 +02:00
Julien Duponchelle
4aa7a0a9df
Increase creation timeout for docker container 2016-10-03 22:31:34 +02:00
Julien Duponchelle
fb8a942620
Fix errors where free port as marked as used after an error 2016-10-03 16:37:58 +02:00
Julien Duponchelle
6fa8c52482
Fix a bug when selecting a topology and deleting multiple linked device
Fix https://github.com/GNS3/gns3-gui/issues/1554
2016-10-03 16:36:16 +02:00
Julien Duponchelle
99bdf37ec3
Prevent connect a node to himself
Fix https://github.com/GNS3/gns3-gui/issues/1553
2016-10-03 12:31:01 +02:00
Julien Duponchelle
420168015c
Fix BadZipFile: File is not a zip file 2016-10-03 10:33:56 +02:00
Julien Duponchelle
bfb82a9618
The gns3_controller.conf is located in the same directory of gns3_server.conf
Fix #701
2016-09-30 17:34:28 +02:00
Julien Duponchelle
4d6d0e96c6
Fix crash if you manually delete the project directory and use the delete button in interface
Fix #697
2016-09-30 10:47:37 +02:00
Julien Duponchelle
36175f7c26
Catch timeout error when closing project
Fix #698
2016-09-30 10:40:10 +02:00
Julien Duponchelle
a8c32e6b8e
Fix a crash when importing some old topologies.
Fix #699
2016-09-30 10:36:18 +02:00
Julien Duponchelle
a01b55f07b
Fix a crash if font information is missing
Fix #700
2016-09-30 10:30:24 +02:00
Julien Duponchelle
74dd212def
One less exit deadlock 2016-09-29 15:07:17 +02:00
Julien Duponchelle
2b1fab6742
Conversion issue for switch & hub from 1.5 to 2.0
Fix #694
2016-09-29 14:59:11 +02:00
Julien Duponchelle
68725778e8
Return all ports for hub & switch 2016-09-29 14:40:56 +02:00