Commit Graph

314 Commits (ea1c52518121045a02c43b2a74a74e8fc83c69f1)

Author SHA1 Message Date
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
grossmj 57fd72c35c Ethernet hub and Ethernet switch almost fully migrated to the new API.
8 years ago
Julien Duponchelle 672a617102
Compute IDLE PC via controller
8 years ago
Julien Duponchelle b00a09efaa
Test link.updated event
8 years ago
Julien Duponchelle 54747ee618
Support for link event, fix link not correctly deleted
8 years ago
Julien Duponchelle fa0af7f4a2
Correctly process node.updated event on controller
8 years ago
Julien Duponchelle 694e1a2e68
Extract the notification part of controller to a dedicated class
8 years ago
Julien Duponchelle d86cefaaeb
Support node without console
8 years ago