Commit Graph

521 Commits (03af9bd62168e33fcf355795b780f664e62adb7d)

Author SHA1 Message Date
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
Julien Duponchelle be5d543f20
Fix some bugs on windows
8 years ago
Julien Duponchelle 3a8ca1071e
Support 0.0.0.0 as host when creating local compute
8 years ago
Julien Duponchelle c91999c532
Disallow running IOU on multiple server
8 years ago
Julien Duponchelle dc798dafd0
Cloud support multiple interfaces
8 years ago
Julien Duponchelle 87e2326363
Fix cannot recreate a deleted project
8 years ago
Julien Duponchelle 286112ced4
Fix port name in the cloud
8 years ago
Julien Duponchelle 4cd164fc24
Better management of the GNS3 VM with VirtualBox
8 years ago
Julien Duponchelle 896d279ded
Support configuration of ram and vcpus of GNS3 VM in setup wizard
8 years ago
Julien Duponchelle 64139387c4
Return size of the scene of the project
8 years ago
Julien Duponchelle 5fd04e1f9e
Fix a warning when export
8 years ago
Julien Duponchelle f0af7d3c7a
Change node_id when I save as
8 years ago
Julien Duponchelle cf10f02a8d
Fix utf8 errors
8 years ago
Julien Duponchelle ac8bd3fec4
Fix error when importing some old topologies
8 years ago
Julien Duponchelle c90df05e8c
Fix error when deleting node after link creation failed
8 years ago
Julien Duponchelle ee50790ab5
Dissallow export when node are running and are not always running
8 years ago
Julien Duponchelle 37f972dea1
Fix an issue with old symbols paths
8 years ago
Julien Duponchelle da5e3d0e54
Dissallow serial to ethernet connection
8 years ago
Julien Duponchelle 5d12a91268
Fix Serial interface not available for IOU
8 years ago
Julien Duponchelle 5b1ec3bec2
Raise an error if the destination of import contain a .gns3 in path
8 years ago
Julien Duponchelle 2f0e2260ab
Move the generation of the list of ports to the server
8 years ago
Julien Duponchelle 83b72d762c
Download link for the VM
8 years ago
Julien Duponchelle 1412462229
Suspend the GNS3 VM
8 years ago
Julien Duponchelle cfe834afc4
Merge branch 'master' into 2.0
8 years ago
Julien Duponchelle 0910712657
Handle more topologie loading errrors
8 years ago
Julien Duponchelle 436543d8b8
English fix profil => profile
8 years ago
Julien Duponchelle f1fe7246e7
Remove --controller
8 years ago
Julien Duponchelle bc5b5969eb
Import GNS3VM settings from 1.5
8 years ago
Julien Duponchelle 0573c3f7d5
Port name format for 2.0
8 years ago
Julien Duponchelle e40569a46f
Fix When we select two node linked and delete them the link remain
8 years ago
Julien Duponchelle 4b891070d2
Ignore interface without netmask in udp tunnel
8 years ago
Julien Duponchelle 5ae456d6e2
Avoid to corrupt project in case of error during loading
8 years ago
Julien Duponchelle 75d5f6507d
Catch more websocket errors
8 years ago
Julien Duponchelle 6e7f6a94ec
Suspend for VPCS == stop
8 years ago
Julien Duponchelle d7c60db2b9
Replace the internet VM by the Nat node
8 years ago
Julien Duponchelle 3ce3f925ae
Fix creation of link when reloading a project
8 years ago
Julien Duponchelle 0afd7b78b7
Avoid tasks lost during tests creating noisy warnings
8 years ago
Julien Duponchelle 2d86a7fdcf
Fix invalid height for drawing images
8 years ago
Julien Duponchelle 43afce740d
Fix Error when cleaning image behind us #665
8 years ago
Julien Duponchelle 947dcf1406
Prevent another deadlock at exit
8 years ago
Julien Duponchelle 4bbd8938ab
Manage error when GNS3VM failed to start
8 years ago
Julien Duponchelle 4624c7433c
Do not dump GNS3 VM config in the list of computes of config file
8 years ago
Julien Duponchelle 483370b756
Do not ignore error when closing a project
8 years ago
Julien Duponchelle 662c8788c2
Fix auth for websocket between controller and computes
8 years ago
Julien Duponchelle 238421c415
Drop another dead lock at exit
8 years ago
Julien Duponchelle 0a08ea05d6
Fix project loading
8 years ago
Julien Duponchelle ff61f79a88
Catch 401 error when connecting to a compute websocket
8 years ago
Julien Duponchelle 03e31a2cb9
Fix crash when loading a topology without project id
8 years ago
Julien Duponchelle 5fdd33fe3b
Repair VirtualBox VM support
8 years ago
Julien Duponchelle 3bff094238
Remote GNS3 VM support
8 years ago
Julien Duponchelle e0c5fdcf1c
Avoid too much ressources usage during tests
8 years ago
Julien Duponchelle 919355abd8
Catch more error to avoid dead lock at project close
8 years ago
Julien Duponchelle 96f3cb0445
Reconnect to compute after compute update
8 years ago
Julien Duponchelle edae834e0e
Monitor status of the compute
8 years ago
Julien Duponchelle bbc1505274
Return what is supported by a compute node
8 years ago
Julien Duponchelle 72fe5d3489
Merge branch 'master' into 2.0
8 years ago
Julien Duponchelle b7bf97039c
Avoid dead lock if you can not close the GNS3VM at exit
8 years ago
Julien Duponchelle 8352ff02a1
When you change settings of the GNS3 VM the VM is reloaded and project using it closed
8 years ago
Julien Duponchelle 5289c714f4
When you delete a compute all project using it are closed
8 years ago
Julien Duponchelle 134fed8fc5
Smart choice of host for UDP link
8 years ago
Julien Duponchelle 9255dc07b7
Support auto stop for the GNS3 VM
8 years ago
Julien Duponchelle fc8b4c3216
Start GNS3 VM with the controller
8 years ago
Julien Duponchelle 21b99ad9f9
Support for sendings settings for the GNS3VM from the GUI
8 years ago
Julien Duponchelle 6cad685a08
Prevent connection from Cloud to Cloud connection
8 years ago
Julien Duponchelle bfabf3ddc8
Fix tests about local compute node
8 years ago
Julien Duponchelle ab38edf7ca
Merge branch 'profil_support' into 2.0
8 years ago
Julien Duponchelle 897455d5e9 Return computer name instead of local. It's more logic when using remote controller
8 years ago
Julien Duponchelle 46910a183e
Allow to use the local node even without --local
8 years ago
Julien Duponchelle 5bb1abb2a9
Support for profil settings
8 years ago
Julien Duponchelle 22fcfffce7
Fix a typo
8 years ago
grossmj faae248487 Cosmetic changes.
8 years ago
Julien Duponchelle 39db35c3ff
Send notification when snasphot is restored
8 years ago
Julien Duponchelle fa76b89731
Fix websocket error when closing the server
8 years ago
Julien Duponchelle f0fad5289c
Correclty cleanup packet capture objects when closing server
8 years ago
Julien Duponchelle 5de27a95f9
Center label when hostname change
8 years ago
Julien Duponchelle f82527e253
Compute node size on server
8 years ago
Julien Duponchelle 4d8cf8460e
Function for computing size of symbols
8 years ago
Julien Duponchelle a4023c0298
By default project auto close when you exit client
8 years ago
Julien Duponchelle 9694850465
Option for auto close project when no client listen
8 years ago
Julien Duponchelle 9e81994adc
Reset project auto start, auto close, auto open at project import
8 years ago
Julien Duponchelle ac085126fc
Support for auto open projects
8 years ago
Julien Duponchelle 12735ff36e
Bring back the auto_start
8 years ago
Julien Duponchelle 017202d151
Allow to delete a non opened project
8 years ago
Julien Duponchelle 0613efa297
Support for auto open project
8 years ago
Julien Duponchelle 3ca4edef93
Update project API
8 years ago
Julien Duponchelle 431bd789cb
Do not send project closed event when it's a snapshot restore
8 years ago
Julien Duponchelle 16c2305b33
Send a project closed event when project close
8 years ago
grossmj 225e4f7528 Finish support of VMware based GNS3 VM.
8 years ago
Julien Duponchelle 45af721164
Support convertsion of 1.5 snapshots
8 years ago
Julien Duponchelle 7e40eb02e6
API for editing a file on a Node
8 years ago
Julien Duponchelle 0be973f2c5
Support Host node from 1.X topologies
8 years ago
Julien Duponchelle 68eca6c111
Replace snapshots by import / export
8 years ago
Julien Duponchelle e50acf811c
If we don't have a GNS3 VM on linux don't move file to it
8 years ago
Julien Duponchelle f357879186
API for duplicate a project
8 years ago
Julien Duponchelle fb3b6b62f5
Support a name and path during the import
8 years ago
Julien Duponchelle 9bdc0b78eb
Now import project on VM work
8 years ago
Julien Duponchelle fec3694710
Import project on the GNS3VM should work
8 years ago
Julien Duponchelle ce557ecd23
Change the compute id to the GNS3 VM if it's not a Linux host
8 years ago
Julien Duponchelle eff6a9154d
Strip computes info at project export
8 years ago
Julien Duponchelle 94a262cd46
When importing a project fix the GNS3 version
8 years ago
Julien Duponchelle 9b499dc51e
Export project with the GNS3VM
8 years ago
Julien Duponchelle 88ffd43c97
Strip the old / import export project code controller will do everything
8 years ago
Julien Duponchelle 3300e9ec48
Reorganize export project code in order to move it to his own file
8 years ago
Julien Duponchelle 487e99bea5
Import with images
8 years ago
Julien Duponchelle 0f85fbd5f2
Avoid leaving unfinished task behind us
8 years ago
Julien Duponchelle b5ab53bbe9
Early import project api
8 years ago
Julien Duponchelle 14f6bd60fb
Disallow export of running topologies
8 years ago
Julien Duponchelle f68c1f0bde
When exporting project raise error if export is not possible
8 years ago
Julien Duponchelle 08c35f5558
Export non remote server work
8 years ago
Julien Duponchelle 7c4c03cf17
If the connection between the controller and compute is closed reopen it
8 years ago
Julien Duponchelle dd63ca6ef1
Temporary fix for remote GNS3 VM support
8 years ago
Julien Duponchelle 2977b1059e
Fix a crash at startup due to an error with VMware
8 years ago
Julien Duponchelle 3b70b4f217
Raise an error if you overwrite an existing project
8 years ago
Julien Duponchelle c12413e0ce
Fix duplicate name for VM
8 years ago
Julien Duponchelle bda1812811
Avoid duplicate node name when reloading a project
8 years ago
Julien Duponchelle c9bdd76922
IOU support for conversion from 1.5
8 years ago
Julien Duponchelle b745397a3a
Import server config from 1.X GUI
8 years ago
Julien Duponchelle 45591aa74b
Support for 1.3 topologies
8 years ago
Julien Duponchelle b841a0f57b
Support image in conversion from old topologies
8 years ago
Julien Duponchelle 8be1e77a2e
Optimize storage of drawing
8 years ago
Julien Duponchelle 3dccfbb852
Migration to 2.0 rename instructions.txt to README.txt
8 years ago
Julien Duponchelle 2c62b1eeb8
Cloud support for old topologies
8 years ago
Julien Duponchelle 7c7662f1b6
Correctly forward the 409 from compute to client
8 years ago
Julien Duponchelle 3d52e18fa5
Raise an error if uBridge is not installed
8 years ago
Julien Duponchelle ee533943c8
Start of support for topologies before 2.X
8 years ago
grossmj 234f199558 Load/save GNS3 VM settings on controller side.
8 years ago
grossmj 13deecea4e Basic API for GNS3 VM.
8 years ago
Julien Duponchelle 91ec61b88d
Check topology schema when loading/saving it
8 years ago
Julien Duponchelle 9bf4c22a50
Fix HTTP errors not forwarded from compute to client
8 years ago
Julien Duponchelle 7e91a5cb11
Raise error if not started with --local
8 years ago
Julien Duponchelle 7a4c01e737
When you delete a node all link connected are destroyed
8 years ago
Julien Duponchelle 7fee90805b
Ensure we update all the label of a link with only one update notif
8 years ago
Julien Duponchelle 9d2f4168ff
Correctly restore label position for link
8 years ago
Julien Duponchelle 5bf6011429
Rotation for label of interfaces
8 years ago
Julien Duponchelle fea1e3ba61
Support update link on controller
8 years ago
Julien Duponchelle 71d4c0a13a
Store rotation for labels
8 years ago
Julien Duponchelle 818174824b
Breaking change for 2.X topologies! Store width and height for nodes & a
8 years ago
Julien Duponchelle fe7bcae6a1
Send node.updated notif only if object changed
8 years ago
Julien Duponchelle 758a427a76
Add documentation about notifications
8 years ago
Julien Duponchelle 543b423e03
Send compute usage via in the compute.updated notification
8 years ago
Julien Duponchelle 68b7f81601
Dissalow duplicate name for compute and project
8 years ago
Julien Duponchelle c4d7a0b8fc
A settings API
8 years ago
Julien Duponchelle 8ec11619cd
Full symbol support on server
8 years ago
Julien Duponchelle e77445e860
API for uploading symbols
8 years ago
Julien Duponchelle bf154049d2
Suppport ~/GNS3/symbols
8 years ago
Julien Duponchelle 5b4e668eb5
Move symbol static to /symbols
8 years ago
Julien Duponchelle b66f7daa28
Beginning of the symbols from controller
8 years ago
grossmj abfb51baa8 Base for GNS3 VM controlled by the controller.
8 years ago
grossmj 04022677bd Use uBridge for Qemu connections. Ref #267.
8 years ago
Julien Duponchelle 5a410155f7
Create the controller config at first controller start
8 years ago
Julien Duponchelle 852d8e411e
Shape => Drawing
8 years ago
grossmj 00da15e4af Use uBridge for VPCS connections. Ref #267.
8 years ago
Julien Duponchelle b456a363ca
Sample curl with shapes
8 years ago
Julien Duponchelle bc613e9fd8
Send SVG in shape update only when change
8 years ago
Julien Duponchelle 03e9eac55b
Rotation support
8 years ago
Julien Duponchelle 4f78efa0c8
Return the svg field in shape API
8 years ago
Julien Duponchelle 116135b9dc
Item => Shape
8 years ago
Julien Duponchelle 85ebac7eb3
API for rectangle & co
8 years ago
Julien Duponchelle 3132d51694
Do not reload a project if project is already opened
8 years ago
Julien Duponchelle 49eb7d8ce7
Atomic save of the .gns3
8 years ago
Julien Duponchelle c66ef9d218
Support filename for project in the controller
8 years ago
Julien Duponchelle aa5988788d
Strip user from compute in topology and return project filename
8 years ago
Julien Duponchelle 6d36429870
Reload a topology work
8 years ago
Julien Duponchelle 524f8991bc
Project status (opened / closed)
8 years ago
Julien Duponchelle 0569480953
Create link when loading topology on controller
8 years ago
Julien Duponchelle 742243e9df
Method for reloading a topology (not bind to an api handler)
8 years ago
Julien Duponchelle d815d25bdf
Write .gns3 on server
8 years ago
Julien Duponchelle 3255be0ae2
Drop the commit system
8 years ago
Julien Duponchelle 70431a5fa6
Send update of properties from controller only for controller stuffs
8 years ago
grossmj 2bde02d459 Controller side unique node name allocation. Ref #541.
8 years ago
Julien Duponchelle dee9d423a3
Support for x,y,z,symbols,label in node object on controller
8 years ago
Julien Duponchelle 70345abc2a
Try cleaner close of the compute node
8 years ago
Julien Duponchelle fe98163bd0
Send controller images only for qemu, iou and dynamips
8 years ago
Julien Duponchelle 1b530bde3f
Fix Compute name is lost at save
8 years ago
Julien Duponchelle add546158f
List images return images on compute and controller
8 years ago
Julien Duponchelle 08e482004f
Auto upload missing images
8 years ago
Julien Duponchelle 972cbd0594
Cleanly forward exception from compute to controller
8 years ago
Julien Duponchelle dcebaf61b8
Do not timeout forwarded calls
8 years ago
Julien Duponchelle 582e3c72ff
Forward post with large content to compute
8 years ago
Julien Duponchelle 06b54d82dc
Support forwarding POST request to compute nodes
8 years ago
grossmj 65bfb4b907 Remove debug print.
8 years ago
Julien Duponchelle e05b0a396e
Disallow / in compute_id because it was a stupid idea
8 years ago
Julien Duponchelle 917c1c7f84
Expose /virtualbox/vms /vmwares/vms and /images via controller
8 years ago
Julien Duponchelle 4afa5994e8
Fix stacktrace when exiting with Ctrl + C
8 years ago
grossmj f47eb326c7 Revert move "/version" endpoint to "/server/version".
8 years ago
grossmj cd07a99118 Some cleaning + move "/version" endpoint to "/server/version".
8 years ago
Julien Duponchelle df654b40ff
Add a test
8 years ago
Julien Duponchelle fbc04e083b
Allow empty password
8 years ago
Julien Duponchelle 84b12fd953
Support null in compute user and password
8 years ago
Julien Duponchelle 314a7cd8fb
Generate an uuid for compute node if None is provided
8 years ago
Julien Duponchelle 6162d7e431
Generated compute name include the username when it's exists
8 years ago
Julien Duponchelle dbda3fc8fc
Add method to delete and update computes
8 years ago
Julien Duponchelle a797038aeb
Drop code for temporary projects
8 years ago
Julien Duponchelle df73f80bf5
Auto create the local compute node
8 years ago
Julien Duponchelle 0aa81b5fa5
Send event when adding compute node or modify it (for server sumary)
8 years ago
Julien Duponchelle f6a3899603
Return a compute name it could be different of compute id
8 years ago