Commit Graph

616 Commits (adc2f69d5d84ecc615ca08e67716225548a5c4aa)

Author SHA1 Message Date
Julien Duponchelle bfee08459d
Test image sorting
7 years ago
Julien Duponchelle 8a6584d90f
Sort image list
7 years ago
Julien Duponchelle 930e7089db
Fix a conversion issue with some 1.3 topologies
7 years ago
Julien Duponchelle 7ba351c888
Catch timeout error when loading virtualbox VM
7 years ago
Julien Duponchelle ae3e25b03b
Handle broken compute at server startup
7 years ago
Julien Duponchelle fa1450cb24
Catch error when we can't backup the topology
7 years ago
Julien Duponchelle 8e5f7d0838
Catch error when writting the topology file on read only device
7 years ago
Julien Duponchelle a6d085bf61
Fix server startup on windows
8 years ago
Julien Duponchelle 273a711459
Merge branch '2.0' into 2.1
8 years ago
Julien Duponchelle 2962649dc8
Fix a race condition when handling error at project opening
8 years ago
Julien Duponchelle f3a87d76ef
Fix import of some old topologies
8 years ago
Julien Duponchelle 9dc6f0f486 Embed the appliances in the server. (#927)
8 years ago
Julien Duponchelle ab2af5ceab
Catch error and log them when we can't write the config
8 years ago
Julien Duponchelle 03a134af75
Catch an error at startup when the remote GNS3 VM is not a real GNS3 VM
8 years ago
Julien Duponchelle ec6fdb7324
Catch GNS3 VM loading error at startup
8 years ago
Julien Duponchelle 4f1b738ef5
Merge branch '2.0' into 2.1
8 years ago
Julien Duponchelle 815820f692
Catch some broken hostname for compute node
8 years ago
Julien Duponchelle aae37034e1
Fix conversion of project from 1.X with custom symbol for cloud
8 years ago
Julien Duponchelle 541afe9660
Support utf-8 characters in user and password for auth
8 years ago
Julien Duponchelle 9fd5e4cbc9
Handle password configuration change on remote servers
8 years ago
Julien Duponchelle 8712866489
Fix Can't connect to compute local on some computers
8 years ago
Julien Duponchelle cc6f4c0510
Add a modification uuid to settings returned by the server
8 years ago
Julien Duponchelle 55563b9808
Escape special characters from SVG text
8 years ago
Julien Duponchelle 5409d9c3f8
Fix some port short name display issues
8 years ago
Julien Duponchelle 95f864c871
Catch server disconnected errors from computes
8 years ago
Julien Duponchelle bc0e4c1174
Generate a node uuid if the uuid is missing in the .gns3
8 years ago
Julien Duponchelle 0997998064
Ensure to dump project before exporting it
8 years ago
Julien Duponchelle 490576fedc
Try to fix some 1.3 topology with corrupted data
8 years ago
Julien Duponchelle 31ed2a4c96
Fix ComputeError: Can't connect to Main server
8 years ago
Julien Duponchelle 6a015fffeb
Catch error when the server as trouble to access to itself
8 years ago
Julien Duponchelle 2c0fb0d016
Raise error if image are not avaible on main server during export
8 years ago
Julien Duponchelle 84a6ed7684
If your settings from 1.X are broken with skip them at import
8 years ago
Julien Duponchelle d60597ca0d
Catch unicode error when you try to duplicate a project with invalid characters
8 years ago
Julien Duponchelle 886329a978
Catch error when you try to put an invalid server url
8 years ago
Julien Duponchelle 99ee40df3d
Do not return broken appliances like ASA 8
8 years ago
Julien Duponchelle 5036079deb
Merge branch '2.0' into 2.1
8 years ago
Julien Duponchelle 7b642552dd
Fix GNS3VM settings are lost at startup
8 years ago
Julien Duponchelle 6017ebbd97
Merge branch '2.0' into 2.1
8 years ago
Julien Duponchelle d89ea83746
When we receive settings from the client save them on disk
8 years ago
Julien Duponchelle 94d285301a
Improve error log when you have trouble to load a topology
8 years ago
Julien Duponchelle e828c9068a
Fix an issue with some node name format
8 years ago
Julien Duponchelle 5a399b90fe
Merge branch '2.1' into embed_appliances
8 years ago
Julien Duponchelle 1ab9ca2333
Merge branch '2.0' into 2.1
8 years ago
Julien Duponchelle 39106ac36b
Do not prevent the creation of a local server on a machine named gns3vm
8 years ago
Julien Duponchelle 41d7570b24
Load local server before anything else
8 years ago
Julien Duponchelle da8811515d
Remove noise from log when VMware is not installed
8 years ago
Julien Duponchelle ec6411f730
Fix an error with some SVG
8 years ago
Julien Duponchelle 8fd59c7967
If the GNS3 VM as failed to start reset his status
8 years ago
Julien Duponchelle 8e9c480d8d
Catch some invalid node name formatting
8 years ago
Julien Duponchelle 53dd1bd6e1
Ensure we dump a .gns3 before exporting it
8 years ago
Julien Duponchelle 3fb24dd895
Avoid a crash when the connection with the server close
8 years ago
Julien Duponchelle 5bfa864f0c
Increase timeout for detecting VirtualBox GNS3 VM
8 years ago
Julien Duponchelle 0d96471f29
Fix headless startup of the GNS3 VM
8 years ago
Julien Duponchelle 8aca3c7b99
Do not crash at startup if local server as the same name as remote server
8 years ago
Julien Duponchelle 6a91804116
Catch error when you provide an invalid port name formating
8 years ago
Julien Duponchelle b132d95a04
Fix error when you delete the builtin symbols directory
8 years ago
Julien Duponchelle 7fea6f0e2e
Fix conversion issue for old IOU projects
8 years ago
Jeremy Grossmann 5672b4b748 Merge pull request #890 from GNS3/base_config_server_side
8 years ago
Julien Duponchelle e04eb44a15
Disallow export of project with VirtualBox linked clone
8 years ago
Julien Duponchelle a191029c4f
Fix linked_clone property lost during topology convert
8 years ago
Julien Duponchelle a576c57873
Catch permission error when restoring a snapshot
8 years ago
Julien Duponchelle 5639cbe860
Fix a rare crash when closing a project
8 years ago
Julien Duponchelle defcf82610
Fix a rare error when closing a project
8 years ago
Julien Duponchelle 2a840da462
Create an ApplianceTemplate class
8 years ago
Julien Duponchelle f33e470601
Fix error when you have error on your filesystem during project convertion
8 years ago
Julien Duponchelle 94fd4bcbe9
Fix stacktrace display when connecting to remote server
8 years ago
Julien Duponchelle 6ded234681
Fix an error with Python 3.4
8 years ago
Julien Duponchelle bcc71b5455
Fix a crash with Python 3.4
8 years ago
Julien Duponchelle 08c2892295
If we can't resolve compute name return 0.0.0.0
8 years ago
Julien Duponchelle 9c7d2e9915
Raise an error if you put an invalid key in node name
8 years ago
Julien Duponchelle 0d7157c295
Improve a lot project loading speed
8 years ago
Julien Duponchelle fbe26d11cf
Fix a potential crash
8 years ago
Julien Duponchelle d06af526b2
Fix the server don't start if a remote is unavailable
8 years ago
Julien Duponchelle 959c08449e
Do not crash if you pass {name} in name
8 years ago
Julien Duponchelle e892e5dfab
Manage base configuration on server
8 years ago
Julien Duponchelle 46d405c8b3
Simplify conversion process from 1.3 to 2.0
8 years ago
Julien Duponchelle dc6756d5ae
Embed the appliances in the server.
8 years ago
Julien Duponchelle 267a5ae3a8
Do not crash when you broke permission on your file system during
8 years ago
Julien Duponchelle b9bd6aa501
Do not try to start the GNS3 VM if the name is none
8 years ago
Julien Duponchelle dc40b0296e
Correct link are not connected to the correct ethernet switch port after conversion
8 years ago
Julien Duponchelle f90e6f2f5b
Fix an error if you don't have permissions on your symbols directory
8 years ago
Julien Duponchelle a1a677fcd3
Fix an error when converting some topologies from 1.3
8 years ago
Julien Duponchelle 89d98bc528
Fix sometimes you have an exception when closing GNS3
8 years ago
Julien Duponchelle d74769c824
Fix duplicate node names
8 years ago
Julien Duponchelle 3c0bdd12b5
Do not raise an error if no VM is selected for remote GNS3 VM
8 years ago
Julien Duponchelle 47c58bb400
Fix UnboundLocalError: local variable 'vmname' referenced before assignment
8 years ago
Julien Duponchelle 304d92764c
Fix capture stop with Wireshark
8 years ago
Jeremy Grossmann ec0181a5ad Merge pull request #856 from GNS3/dynamips_directory_layout
8 years ago
Julien Duponchelle b1ae884bf0
Drop NAT port from cloud from old topologies
8 years ago
Julien Duponchelle 1bf54bcaeb
Fix Port labels for docker VMs incorrect
8 years ago
Julien Duponchelle 69d8ed5636
Catch Timeout error from VirtualBox GNS3 VM
8 years ago
Julien Duponchelle e0071f5b59
Catch error when a file is deleted during the compression of project
8 years ago
Julien Duponchelle 41d32a5f71
Fix Wrong slot numbering on IOS router
8 years ago
Julien Duponchelle 58287b3638
Fix wrong short label for ethernet switch, hub & VPCS
8 years ago
Julien Duponchelle 5c8193556d
Do not dump local compute configuration when saving topology
8 years ago
Julien Duponchelle a2fdc92fcb
Change directory layout for dynamips.
8 years ago
Julien Duponchelle 955a466be5
Ensure we can't connect to occupy port
8 years ago
Julien Duponchelle 51aef2b9c7
Fix handling of UTF-8 in large SVG files
8 years ago
Julien Duponchelle c06d2e3118
Fix short label diplay instead of custom interface labels
8 years ago
Julien Duponchelle ef54367bf7
Fix crash when converting topology with broken link
8 years ago
Julien Duponchelle e53db1ed81
Replace JSONDecodeError by ValueError (Python 3.4 compatibility)
8 years ago
Julien Duponchelle 7ba7c89594
Support UDP cloud from 1.5
8 years ago
Julien Duponchelle 3259ec1220
Close project if one one the compute of the project is down
8 years ago
Julien Duponchelle 60eea1f171
Fix error when you upload an empty file
8 years ago
Julien Duponchelle b79235afb7
Fix KeyError: 'color' when converting some 1.3 topologies
8 years ago
Julien Duponchelle 74a7e630d3
Fix export of projects with docker with a / in the image name
8 years ago
Julien Duponchelle 668c479ef6
Temporary fix for tunnel binding for Daniel from SWI
8 years ago
Julien Duponchelle 89537204df
Fix delete project on remote compute server
8 years ago
Julien Duponchelle e2fd339f35
Catch auth errors when adding a compute
8 years ago
Julien Duponchelle 897a94f343
Do not block server startup if one project use non implemented conversion
8 years ago
Julien Duponchelle 063087f6fb
Fix an error when deleting a compute already deleted
8 years ago
Julien Duponchelle 4cd08c8955
Handle OSerror when listing images
8 years ago
Julien Duponchelle 4bb990bf0c
Fix JSONDecodeError
8 years ago
Julien Duponchelle 846041a59c
Fix configuration lost during save as on remote server
8 years ago
Julien Duponchelle bd1560ae50
Fix error when controller config file is corrupted
8 years ago
Julien Duponchelle 52260cba53
Fix crash if at controller loading the remote server is not a GNS3 server
8 years ago
Julien Duponchelle 95e944257a
AttributeError: 'Project' object has no attribute 'emit'
8 years ago
Julien Duponchelle e3b1eee85b
Improve autostart logging
8 years ago
Julien Duponchelle 5efc5684ba
Fix warning when vmware is not installed
8 years ago
Julien Duponchelle 49315adf79
Do not recurse scan for images in standard image directory
8 years ago
Julien Duponchelle a36fc37250
When we restore snapshot on a fail project do not crash
8 years ago
Julien Duponchelle 40263e14ca
Catch error if you export a project deleted from disk
8 years ago
Julien Duponchelle 794dac31f5
UDP tunnel debuging
8 years ago
Julien Duponchelle 875051d05e
Prevent capture on non running node
8 years ago
Julien Duponchelle a853e87fa5
IOURC is a text box instead of a file path
8 years ago
Julien Duponchelle 1beae95443
Multiple improvements around starting the GNS3 VM
8 years ago
Julien Duponchelle 40af2a35e0
Wait for the end of project loading before making new change
8 years ago
Julien Duponchelle 5ab85e5c9e
Avoid crash due to persmission error on the .backup file
8 years ago
Julien Duponchelle d2564cee9b
Add more debug informations if VM failed to start
8 years ago
Julien Duponchelle 94ceb2dda0
No connection limit / No keep alive for connection to compute
8 years ago
Julien Duponchelle 66a237628a
Return default symbol if user asked for a non existing symbol
8 years ago
Julien Duponchelle 0250547479
If server answer not found explain this could be due to the usage of 1.X server
8 years ago
Julien Duponchelle 89bbe0ef1b
Fix stack when looking for GNS3 VM with player installed
8 years ago
Julien Duponchelle 5166d894eb
Do not reload a project via /load if the project is already opened
8 years ago
Julien Duponchelle 3bc4e951b8
Fix a None error when creating link
8 years ago
Julien Duponchelle 1bb760d3f0
Make logs for searching GNS3 VM vmware IP less noisy
8 years ago
Julien Duponchelle 477091207d
Better handle compute unavailable errors
8 years ago
Julien Duponchelle f968f6616f
Fix NameError: name 'available_ram' is not define
8 years ago
Julien Duponchelle 57e2fd9943
If we can found a common subnet we return the host binding for link
8 years ago
Julien Duponchelle ca6f014207
Do not connect GNS3 to remote server via 169.254.X.X
8 years ago
Julien Duponchelle 5f988bae2f
Expose debug informations about links
8 years ago
Julien Duponchelle 15d190d911
Increase timeout for link creation
8 years ago
Julien Duponchelle 3c5cbebfb4
Fix timeout issues when starting VMware or VBox
8 years ago
Julien Duponchelle 5dee4eb052
Raise clean error when node timeout when stopped
8 years ago
Julien Duponchelle 4e15f89604
Drop console_type serial, and enable_remote_console for Vbox and VMware
8 years ago
Julien Duponchelle 1e73962e33
Do not dump iourc_content to .gns3 file
8 years ago
Julien Duponchelle 3df3aa84ff
Try to disable enable remote console for VMware to see if it's the source of timeout errors
8 years ago
Julien Duponchelle 0d022a4d33
Forward server disconnected errors
8 years ago
Julien Duponchelle ae76a4f778
Fix crash when getting font
8 years ago
Julien Duponchelle 94ebd732a8
Fix a crash when default font is missing
8 years ago
Julien Duponchelle 53e6ee1b3a
Fix crash when you import a corrupted SVG
8 years ago
Julien Duponchelle 4a5066c2a5
Fix Error while creating link: Port 0 is not allocated. when you have an invalid interface
8 years ago
Julien Duponchelle ea1c525181
Fix computes tests
8 years ago
Julien Duponchelle 0cfdde7b7e
Fix random password lost of remote GNS3VM
8 years ago
Julien Duponchelle ae1a9d9a5f
No timeout for listing images
8 years ago
Julien Duponchelle eff23eefe9
Handle 408 HTTP status code (request timeout)
8 years ago
Julien Duponchelle 620de3ff25
Move code for exposing VM ip to the VM itself. And display VM starting status
8 years ago
Julien Duponchelle fd911542f7
Fix a crash when we have error during export project
8 years ago
Julien Duponchelle eabe4eb97e
Improve remote server console host support when binding to 0.0.0.0
8 years ago
Julien Duponchelle afb7eca27a
Fix port naming for atm switch
8 years ago
Julien Duponchelle cf3ed5a329
Fix port naming for FrameRelay switch
8 years ago
Julien Duponchelle 048d2c12d0
Catch permission errors when listing images
8 years ago
Julien Duponchelle 9e861a7340
Try a different method in order to retrieve IP from VMware
8 years ago
Julien Duponchelle 1f44e08cdd
Fix naming of IOU serial interfaces
8 years ago
Julien Duponchelle 9799dabb98
Improve timeout management
8 years ago
Julien Duponchelle 59dcdcc141
When exporting debug information export GNS3 VM vmx content
8 years ago
Julien Duponchelle 597e1e618d
Fix a possible deadlock at exit
8 years ago
Julien Duponchelle acd1d95a8e
Fix import of some old dynamips topologies
8 years ago
Julien Duponchelle 786159110e
Fix conflict issue between the GNS3VM and a remote server
8 years ago
Julien Duponchelle b9e7ccc14f
Fix typo in error message about the GNS3 VM
8 years ago
Julien Duponchelle 10e7b32409
Fix an error when importing old topology without color for label
8 years ago
Julien Duponchelle 106915f419
Return md5sum and filesize in the list of images
8 years ago
Julien Duponchelle 43236746f9
Support symbol None (from old versions)
8 years ago
Julien Duponchelle 2a4b68d3b7
/duplicate support non opened projects
8 years ago
Julien Duponchelle 19be2d85b7
Fix Snapshot restore does not work with IOS routers
8 years ago
Julien Duponchelle dd849f7945
Strip space from all nodes names
8 years ago
Julien Duponchelle a8ffaa9cb5
If listen on all interface do not return localhost as console
8 years ago
Julien Duponchelle b9b0feed62
Fix IPV6 server support
8 years ago
Julien Duponchelle cb0a7c6a3f
Fix connection issue with IOU when a device as serial link
8 years ago
Julien Duponchelle 241c9b0c11
Fix Error when converting some dynamips topologies from 1.3 => 2.0
8 years ago
Julien Duponchelle b6fa14454e
After conversion from 1.X check the topology before save to disk
8 years ago
Julien Duponchelle a437760f5d
Keep forever .gns3 backup before version upgrade
8 years ago
Julien Duponchelle d60b606d5e
Fix save of topology size
8 years ago
Julien Duponchelle 04aec4619f
Fix uploads of large images
8 years ago
Julien Duponchelle 8299ce800d
Stop raising error if VMware has not enough ram. Not working on some system
8 years ago
Julien Duponchelle 4aa7a0a9df
Increase creation timeout for docker container
8 years ago
Julien Duponchelle fb8a942620
Fix errors where free port as marked as used after an error
8 years ago
Julien Duponchelle 6fa8c52482
Fix a bug when selecting a topology and deleting multiple linked device
8 years ago
Julien Duponchelle 99bdf37ec3
Prevent connect a node to himself
8 years ago
Julien Duponchelle 420168015c
Fix BadZipFile: File is not a zip file
8 years ago
Julien Duponchelle bfb82a9618
The gns3_controller.conf is located in the same directory of gns3_server.conf
8 years ago
Julien Duponchelle 4d6d0e96c6
Fix crash if you manually delete the project directory and use the delete button in interface
8 years ago
Julien Duponchelle 36175f7c26
Catch timeout error when closing project
8 years ago
Julien Duponchelle a8c32e6b8e
Fix a crash when importing some old topologies.
8 years ago
Julien Duponchelle a01b55f07b
Fix a crash if font information is missing
8 years ago
Julien Duponchelle 74dd212def
One less exit deadlock
8 years ago
Julien Duponchelle 2b1fab6742
Conversion issue for switch & hub from 1.5 to 2.0
8 years ago
Julien Duponchelle 68725778e8
Return all ports for hub & switch
8 years ago
Julien Duponchelle 8f6d24ae5e
Prevent a dead lock when closing server
8 years ago
Julien Duponchelle cfd74a8164
Fix crash when loading as GNS3 a non topology
8 years ago