Commit Graph

507 Commits (c077a15137b41c279267849f019e26119c745e09)

Author SHA1 Message Date
Julien Duponchelle fc6b6b5e63
Fix race condition in startup of capture
7 years ago
Julien Duponchelle 108a659ca4
Fix bug when exporting debug information with multiple remote servers
7 years ago
Julien Duponchelle 92c9e48f18
This fix the images always included in portable project
7 years ago
Julien Duponchelle d69475cd44
Duplicate API for ATM, Ethernet Hub and Frame Relay Switch
7 years ago
Jeremy Grossmann bb90c0ba52 Merge pull request #1140 from GNS3/duplicate_docker
7 years ago
Jeremy Grossmann a805b3c7c3 Merge pull request #1142 from GNS3/duplicate_iou
7 years ago
Julien Duponchelle 6d4529f445
Duplicate IOU
7 years ago
Julien Duponchelle 16209a2b60
Support duplicate for Docker
7 years ago
Julien Duponchelle 01be1b32c4
Duplicate support for qemu
7 years ago
Julien Duponchelle 0854c04687
API for duplication a Node
7 years ago
Julien Duponchelle 0449a5b4ee
Cleanup
7 years ago
Julien Duponchelle 5fd842e54d
Suspend link
7 years ago
Jeremy Grossmann c2fbe4f313 Merge pull request #1130 from GNS3/vmware_filters
7 years ago
Julien Duponchelle fa211a82eb
Filters support for VMware
7 years ago
Julien Duponchelle 54faaf5f6f
Packet filters support for VirtualBox
7 years ago
Julien Duponchelle 08d4c1a000
Merge branch '2.1' into filters_iou
7 years ago
Julien Duponchelle 536c708c16
Filter implementation for cloud & Nat
7 years ago
Julien Duponchelle 5b839c22e9
Filters support for IOU
7 years ago
Julien Duponchelle 23c3d32e06
Filter support for Docker
7 years ago
Julien Duponchelle 03f8c747cc
Qemu support for packet filtering
7 years ago
Julien Duponchelle 86f1201276
Support packet filtering for dynamips
7 years ago
Jeremy Grossmann 339ed8ab57 Merge pull request #1106 from GNS3/idlepc_apicall
7 years ago
Julien Duponchelle 3eadbb9adb
Implement an api call for computing the IDLE PC
7 years ago
Julien Duponchelle 08423eff96
Support packet filtering for VPCS
7 years ago
Julien Duponchelle a8e8eac0b4
Merge remote-tracking branch 'origin/master' into 2.1
7 years ago
ziajka ea9f0e52c8 Fixes #2108 (gns3-gui): getting project file with leading slashes issue (#1078)
7 years ago
Julien Duponchelle 93adef91d8
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle 7044c8c9ff
Fix the GUI disconnect from the server
7 years ago
Julien Duponchelle 39879ca92b
Duplicate project on remote server use UUID
7 years ago
Julien Duponchelle a4245fcf44
Aiohttp 2.0
7 years ago
Julien Duponchelle cd17ef6b12
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle 6870749e50
Handle a race condition at project closing
7 years ago
Julien Duponchelle 273a711459
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle d9b93ccd66
Fix an issue with editing network on windows
7 years ago
Julien Duponchelle 540ffdf5f3
Merge remote-tracking branch 'origin/master' into 2.0
7 years ago
Julien Duponchelle 85136bc2e4
Fix VPCS tests for recent version
7 years ago
Julien Duponchelle 9dc6f0f486 Embed the appliances in the server. (#927)
7 years ago
Julien Duponchelle 4f1b738ef5
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle 935ca17d7a
Allow to change some properties of an already connected ethernet switch
7 years ago
Julien Duponchelle 8712866489
Fix Can't connect to compute local on some computers
7 years ago
Julien Duponchelle 2ddb329a90
Prevent vmname change for VirtualBox linked clone
7 years ago
Julien Duponchelle 1d5029e4e2
Catch a permission error on symbols
7 years ago
Julien Duponchelle 5a399b90fe
Merge branch '2.1' into embed_appliances
7 years ago
Julien Duponchelle 583327ad33
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle 7e1e63cd09
Catch error when we can't save the settings
7 years ago
Julien Duponchelle 2a840da462
Create an ApplianceTemplate class
8 years ago
Julien Duponchelle 8d86d959de
"/appliances" => "/appliances/templates"
8 years ago
Julien Duponchelle 96194cef67
Fix import/export of dynamips configuration
8 years ago
Julien Duponchelle e892e5dfab
Manage base configuration on server
8 years ago
Julien Duponchelle 63b888a57e
Drop unused code
8 years ago
Julien Duponchelle dc6756d5ae
Embed the appliances in the server.
8 years ago
Julien Duponchelle f0ff035c0b
Prevent corruption of VM in VirtualBox when using linked clone
8 years ago
Julien Duponchelle d99ec92210
Fix a rare race condition when exporting debug informations
8 years ago
Julien Duponchelle bfb23ce7a3
Fix hostname of VPCS is not changed
8 years ago
Julien Duponchelle 82c99418b4
Fix If cloud interface is down the project doesn't open
8 years ago
Julien Duponchelle 688122c467
Fix RuntimeError: File size has increased during compressing
8 years ago
Julien Duponchelle 2011aca43a
Fix an issue with Docker and IOU packet capture
8 years ago
Julien Duponchelle f3e9917479
Fix move a docker restart it
8 years ago
Julien Duponchelle 1b6411f88e
Fix an error on Linux during export
8 years ago
Julien Duponchelle 9f6f830418
Fix TypeError: __new__() got multiple values for argument 'node_type'
8 years ago
Julien Duponchelle 1cf987a548
Fix a rare crash when writing a file on a remote server
8 years ago
Julien Duponchelle d2f0cddbd7
Fix trouble with builtin devices when we free ports
8 years ago
Julien Duponchelle b3d83b1b0b
Catch error when no space left on disk during export
8 years ago
Julien Duponchelle 794dac31f5
UDP tunnel debuging
8 years ago
Julien Duponchelle 40af2a35e0
Wait for the end of project loading before making new change
8 years ago
Julien Duponchelle 8ad5670eeb
For security reason debug informations can only be exported from local server
8 years ago
Julien Duponchelle 81b2894658
Fix KeyError: 'linked_clone'
8 years ago
Julien Duponchelle e996b825c6
Fix you can not pass auto close at project creation
8 years ago
Julien Duponchelle a8b78a9b0a
Fix traceback when sending invalid parameters to the server
8 years ago
Julien Duponchelle 4e15f89604
Drop console_type serial, and enable_remote_console for Vbox and VMware
8 years ago
Julien Duponchelle ce5ff93242
Catch FileNotFound error for builtin symbols if erase them from disk
8 years ago
Julien Duponchelle 59dcdcc141
When exporting debug information export GNS3 VM vmx content
8 years ago
Julien Duponchelle 4815904737
/debug for exporting debug informations
8 years ago
Julien Duponchelle ae1e027031
Raise error if using a non linked clone VM twice
8 years ago
Julien Duponchelle 4b4053dc2b
Return the platform of a compute
8 years ago
Julien Duponchelle 99bdf37ec3
Prevent connect a node to himself
8 years ago
Julien Duponchelle 77eae35778
API method for getting a node
8 years ago
Julien Duponchelle 2f0e2260ab
Move the generation of the list of ports to the server
8 years ago
Julien Duponchelle 6e7f6a94ec
Suspend for VPCS == stop
8 years ago
Julien Duponchelle 3ce3f925ae
Fix creation of link when reloading a project
8 years ago
Julien Duponchelle 6a259c7e06
Fix streaming of pcap file
8 years ago
Julien Duponchelle 45471fc865
Make sure to drain notification feed
8 years ago
Julien Duponchelle d121c201e4
Rebuild documentation
8 years ago
Julien Duponchelle bbc1505274
Return what is supported by a compute node
8 years ago
Julien Duponchelle 19e6d956df
Drop unused endpoint POST /version on compute
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 21b99ad9f9
Support for sendings settings for the GNS3VM from the GUI
8 years ago
Julien Duponchelle bfabf3ddc8
Fix tests about local compute node
8 years ago
Julien Duponchelle 147bb8758a
Fix log error when closing server websocket
8 years ago
Julien Duponchelle cde28c849e
Return status when you start / stop / suspend a node
8 years ago
Julien Duponchelle a53a972135
Nat node for only the GNS3 VM
8 years ago
Julien Duponchelle 8f7be87b1e
Use timemout for project auto close to avoid issue when client / connect
8 years ago
Julien Duponchelle 9694850465
Option for auto close project when no client listen
8 years ago
Julien Duponchelle 12735ff36e
Bring back the auto_start
8 years ago
Julien Duponchelle 3ca4edef93
Update project API
8 years ago
Julien Duponchelle 0c3a2c660a
Merge branch 'master' into 2.0
8 years ago
Julien Duponchelle d6f63d3b7d
Fix Exporting portable projects with QEMU includes base images even when selecting no.
8 years ago
Julien Duponchelle fc6b220c7c
Strip endpoint for configs files because now we use the /files API
8 years ago
Julien Duponchelle 7e40eb02e6
API for editing a file on a Node
8 years ago
Julien Duponchelle 11af6f4f82
Remove save config endpoint because in 2.O we auto save
8 years ago
Julien Duponchelle 68eca6c111
Replace snapshots by import / export
8 years ago
Julien Duponchelle e50eae19e6
Support parameters for import
8 years ago
Julien Duponchelle f357879186
API for duplicate a project
8 years ago
Julien Duponchelle 9bdc0b78eb
Now import project on VM work
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 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 b5ab53bbe9
Early import project api
8 years ago
Julien Duponchelle e557ccd078
API for editing files on the controller
8 years ago
Julien Duponchelle ff4fc5eb8b
Return proper JSON error when something goes wrong on any endpoint
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 96eceed8ba
Fix creation of IOU nodes
8 years ago
Julien Duponchelle c0abe0edfd
Merge branch 'master' into 2.0
8 years ago
Julien Duponchelle fd0e8f89db
Fix VMware support
8 years ago
Julien Duponchelle b98d4cb042
Fix Virtualbox support
8 years ago
Julien Duponchelle 9cd3231de3
Fix docker support in 2.0
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
grossmj d159cbcc6d Rename /interfaces entry point to /network/interfaces. Ref #615.
8 years ago
grossmj 08956e438c Add NIO TAP support for Docker and VMware. Fixes #603.
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 fea1e3ba61
Support update link on controller
8 years ago
Julien Duponchelle 22f9effede
Save to disk when config change
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 5b4e668eb5
Move symbol static to /symbols
8 years ago
Julien Duponchelle b66f7daa28
Beginning of the symbols from controller
8 years ago
grossmj d79fb231d3 Use uBridge for VirtualBox connections plus some cleaning. Ref #267.
8 years ago
grossmj 04022677bd Use uBridge for Qemu connections. Ref #267.
8 years ago
Julien Duponchelle 4c3bfde97e
Fix test suite after VPCS changes for using ubridge
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 116135b9dc
Item => Shape
8 years ago
Julien Duponchelle 85ebac7eb3
API for rectangle & co
8 years ago
Julien Duponchelle 411ca56b94
Fix Exception when closing local server (started by GUI)
8 years ago
Julien Duponchelle c4d619ce3c
API for loading a project from a .gns3
8 years ago
Julien Duponchelle 6d36429870
Reload a topology work
8 years ago
Julien Duponchelle 3255be0ae2
Drop the commit system
8 years ago
grossmj 2bde02d459 Controller side unique node name allocation. Ref #541.
8 years ago
grossmj e46171b826 Merge branch '1.5' into 2.0
8 years ago
grossmj 313226786f Delete vlan.dat for L2IOL during config import. Fixes #1285.
8 years ago
Julien Duponchelle add546158f
List images return images on compute and controller
8 years ago
Julien Duponchelle 8909c4211c
Support upload images
8 years ago
Julien Duponchelle 582e3c72ff
Forward post with large content to compute
8 years ago
Julien Duponchelle d108fc6e94
Support all path for forward 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 8c760f3ccc
Fix some compute_id detection
8 years ago
Julien Duponchelle eaf621cc57
Generic forward call to compute node (especially for qemu with require a
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
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 87f15eafe0
Shutdown on controller
8 years ago
Julien Duponchelle 4c291f5051
Remove /config/reload
8 years ago
grossmj c1aad550fa Merge branch '1.5' into 2.0
8 years ago
grossmj 59f22cd346 Functional cloud. Fixes #402.
8 years ago
grossmj 39a3f2fae2 Cloud schema and remove use_ubridge for VMware VM.
8 years ago
Julien Duponchelle 8e3e3c08f8
Fix an import error when you have no GNS3 VM
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 b126c396c9
Start all, with a controlled concurrency
8 years ago
grossmj 7d055968e5 First step towards the cloud node re-factoring.
8 years ago
grossmj 6d5085910c Frame Relay and ATM switches migrated to the new API.
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 54747ee618
Support for link event, fix link not correctly deleted
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
Julien Duponchelle d5895c3a47
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle 871fea33e0
Cleanup unbreakable space
8 years ago
Julien Duponchelle 82f82f8cf9
Send updated event when you update the node
8 years ago
grossmj 7ebbdcd47c Functional Ethernet hub with new API. Uses Dynamips backend by default for now.
8 years ago
Julien Duponchelle b07dcf552c
Add an endpoint for listing the links of a project
8 years ago
Julien Duponchelle ce0d715895
Fix Deleted node are still return by the API
8 years ago
Julien Duponchelle 1eb77a0b3f
Fix docker support on 2.0
8 years ago
grossmj 7a523990a6 Base for generic switch nodes. Ref #492.
8 years ago
grossmj f1bc2f22c3 Start, stop, suspend and reload endpoints for all nodes belonging to a project. Fixes #1212.
8 years ago
grossmj f81d35cc29 Handlers: cleanup and fixes.
8 years ago
Julien Duponchelle d43e78a1d7
Support all characters for compute ID
8 years ago
Julien Duponchelle b46a0ff4ae
Endpoint for getting information about a compute node
8 years ago
grossmj 801b94a964 Fixes VirtualBox VMs list images.
8 years ago
grossmj ef7b4ef020 Fixes tests and some PEP8.
8 years ago
grossmj 5a76f81271 Refactoring to use a common node class for all VMs and other (future) objects.
8 years ago
Julien Duponchelle 9dca7dfe4a
Merge branch '1.5' into 2.0
8 years ago
grossmj 76cc1d2750 Fixes call to export project.
8 years ago
Julien Duponchelle 5fd385159c
HTTP support for docker
8 years ago
Julien Duponchelle 98b32cd9e2
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle 936faaba5a
gns3z => gns3project
8 years ago
Julien Duponchelle 92d1594afd
Return link object when start capturing
8 years ago
Julien Duponchelle 264254e657
Captures written in the captures directory on the controller
8 years ago
Julien Duponchelle 1d08d4a5fa
Merge branch 'master' into 1.5
8 years ago
Julien Duponchelle 6d6e8196d2
Allow only .pcap to be downloaded from remote stream API
8 years ago
Julien Duponchelle 1ce576c020
Stream pcap from compute to controller to client
8 years ago
Julien Duponchelle 549a6280c0
Data link type is on the capture not on the link
8 years ago
Julien Duponchelle 04a1b2df3b
Method for start / stop capture on a link
8 years ago
Julien Duponchelle f6593663b5
APi for listing VM in controller
8 years ago