Commit Graph

380 Commits (44f2acffa516a752b4198bf2b74660711dce8da8)

Author SHA1 Message Date
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
Julien Duponchelle c8c61f2ae8
Add endpoint to list the compute nodes
8 years ago
Julien Duponchelle 6463007ef1
Remove debug
8 years ago
Julien Duponchelle 6b9e46950c
Update VPCS and delete VPCS via controller
8 years ago
Julien Duponchelle d7ed37ce02
Update and delete VM on controller
8 years ago
Julien Duponchelle 6c11ad5fa6
Reload VM
8 years ago
Julien Duponchelle 58d4a529d4
Rename hypervisor to compute
8 years ago
Julien Duponchelle 2055cdea5e
/start /stop and /suspend API for VM via container
8 years ago
Julien Duponchelle 6b61811f9d
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle b7a859fa30
Import / Export with images
8 years ago
Julien Duponchelle 9e8fcab65c
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle 977ccabf98
Server support for VNC console resolution
8 years ago
Jeremy Grossmann 6bc54b17c7 Merge pull request #481 from GNS3/import_linux
8 years ago
Julien Duponchelle b93c85c390
Allow to change the number of adapters for Docker (server side)
8 years ago
Julien Duponchelle e564c84529
Flatten the project at export and support import for Linux
8 years ago
Julien Duponchelle 5531a576d1
Import create project if not exists (GNS3 VM just need an UUID)
8 years ago
Julien Duponchelle 9ed15e55af
Move more import code to the server
8 years ago
Julien Duponchelle bd71f0cf4c
Import API
8 years ago
Julien Duponchelle 879591eaf5
Export API
8 years ago
Julien Duponchelle 23c48f5e3d
Add to project an API to write a file
8 years ago
Julien Duponchelle de61ed316c
The controller has a streaming API
8 years ago
Julien Duponchelle 76a0120d3e
PEP8
8 years ago
Julien Duponchelle b55969d381
Notification feed for the hypervisor
8 years ago
Julien Duponchelle 8fed1d9b9f
API for deleting a link
8 years ago
Julien Duponchelle 9062490be3
API for deleting a list
8 years ago
Julien Duponchelle 9771b33b68
Create link using UDP work
8 years ago
Julien Duponchelle e3580d52c3
Dummy link api documentation
8 years ago
Julien Duponchelle abdda4d3b3
Link API (do nothing for the moment)
8 years ago
Julien Duponchelle be4aa41dda
Create VPCS VM on controller
8 years ago
Julien Duponchelle 4326d412f9
API for creating a VM
8 years ago
Julien Duponchelle 58f1abff35
Close, commit and delete supported for projects in controller
8 years ago
Julien Duponchelle 3296b97f59
Rename modules => hypervisor
8 years ago
Julien Duponchelle 6fa2491255
Rename /controller/servers to /controller/hypervisors
8 years ago
Julien Duponchelle 8114c1d4be
Return just version number for API /v1/version for compatibility
8 years ago
Julien Duponchelle b2ce7ee8d7
API V2
8 years ago
Julien Duponchelle 664cec97ba
Create /hypervisor and /controller namespace
8 years ago
Julien Duponchelle aad69e9650
Create a /server API for register servers
8 years ago
Julien Duponchelle 03ffce0a75
Docker VNC support
8 years ago
Julien Duponchelle fd18458588
Fix stop capture for Docker
8 years ago
Julien Duponchelle 5f15667ad1
Rename invalid variable iou_manager in Docker
8 years ago
Julien Duponchelle a7ec224b6d
Docker capture and refactor common capture code
9 years ago
Julien Duponchelle 942d07c8ce
Removed docker support from 1.4 (drop unused code)
9 years ago
Julien Duponchelle f6fb0623be
Merge branch 'master' into 1.5
9 years ago
Julien Duponchelle fd22cd8361
Send command line used to start the VM to client
9 years ago
Julien Duponchelle 03414993dc
Merge branch 'master' into 1.5
9 years ago
Julien Duponchelle 58b998600e Send machine stats via the notification stream
9 years ago
Julien Duponchelle 758fb2a0e7 adapter_remove_nio_binding is a coroutine for all device type
9 years ago
Julien Duponchelle 1f756c0d4f Merge branch '1.4' into 1.5
9 years ago
Julien Duponchelle d184b65800 Improve PR #386
9 years ago
Vasil Rangelov d00efbfb0f Adds a handler for getting the Qemu related capabilities of the server. Currently includes just a check for KVM architectures.
9 years ago
Julien Duponchelle 33edbefa3b Docker cleanup and improvements
9 years ago
Julien Duponchelle ac16ee5bc6 Fix minor issues
9 years ago
Julien Duponchelle da240f21ba Apply pep8 fix
9 years ago
Julien Duponchelle 1248584841 Cleanup unused and duplicates
9 years ago
grossmj ce4727e51a Support for modifications to a base Qemu VM (not a linked clone).
9 years ago
grossmj 6e36687347 Fixes issue when loading a project using VMware vmnet interfaces. Fixes #319.
9 years ago
grossmj 57bbd63085 Support for NAT connection with cloud for VMware VMs. Fixes #322.
9 years ago
Julien Duponchelle 5e3ce48a52 Merge branch 'master' into unstable
9 years ago
Julien Duponchelle 3d7d8682ee OVA file support
9 years ago
Julien Duponchelle 034ac392b7 Support listing images in subdirectories
9 years ago
grossmj e63e3280a1 Prevent launching a packet capture with a non-ASCII path when using Dynamips.
9 years ago
grossmj 5bcabc705f Use custom VMnet interfaces without host adapter when uBridge is not used. Fixes #673.
9 years ago
grossmj 0ee31361c0 Support for packet capture on VMware VM links.
9 years ago
Goran Cetusic 0fa300cb99 Initial Docker support from Google Summer of Code
9 years ago
grossmj 0ab95ae043 basic docker container support
9 years ago
grossmj 4efec03448 Allows VMware VMs to use vmnet interfaces for connections without using uBridge. Fixes #295.
9 years ago
Julien Duponchelle 5388d43695 Fix closing project when multiple project is open
9 years ago
Julien Duponchelle 986ab649d7 Fix project not closing
9 years ago
Julien Duponchelle f0f901a15d Should solve the BufferError by avoiding using thread
9 years ago
grossmj 7bccf9e554 Check for VMware Player version >= 7 and VMware Workstation >= 11. Fixes #286.
9 years ago
grossmj bb69f02da6 Catch GeneratorExit exception when trying to create a Ghost IOS image.
9 years ago
Julien Duponchelle 78ef6e3032 Validation schema for qemu-img
9 years ago
Julien Duponchelle 54448ab936 Prevent user to create a qemu to a different directory on non local
9 years ago
Julien Duponchelle 5b0c36c0d6 API for creating a qemu disk image
9 years ago
Jeremy fcd4fda68e Prevent starting different hypervisors that leverage hardware virtualization (VT-x/AMD-V). Fixes #548.
9 years ago
Julien Duponchelle d9f1a7c7d3 API for listing current projects
9 years ago
Jeremy 8e236a7045 Prevent using different hypervisors that leverage hardware virtualization.
9 years ago
grossmj 1f890b4cad Implements uBridge hypervisor.
9 years ago
Julien Duponchelle a461cb71c6 Allow to send the iourc when starting the VM
9 years ago
Jeremy 442aa31065 Make sure VNC ports are between 5900 and 6000. Fixes #490.
9 years ago
Jeremy be85d95ff7 Checks if IOS image exist at startup and not during node creation. Fixes #240.
9 years ago
Julien Duponchelle f39f7be503 Add log when we didn't close a project due to another client
9 years ago
Julien Duponchelle 2da0b36ee7 Support a platform parameter for Qemu
9 years ago
grossmj ca331ae2a5 Import/Export support for IOU nvrams.
9 years ago
Julien Duponchelle 9442042d7a Merge branch 'master' into unstable
9 years ago
Vasil Rangelov 9ef4628cbc Added a method for getting qemu-img binaries, and moved the qemu folder into a separate method.
9 years ago
grossmj 0476f2932e Prevent users to add links to running Qemu VMs and start a capture on running VirtualBox VMs.
9 years ago
Julien Duponchelle c98bcedd39 Cleanup the temporary project after modules have been notified of the
9 years ago
Julien Duponchelle 6f9f004ebb API for list & download files of a project
9 years ago
Jeremy cb7b9e8190 Adapters for VMware VMs.
9 years ago
Julien Duponchelle 743187bb2e Merge branch 'master' into unstable
9 years ago
Jeremy dd9f62158f Fixes bugs with IOS router configs. Fixes #354.
9 years ago
Julien Duponchelle bb4ebbfe64 Upload images API
9 years ago
Jeremy Grossmann 61fb641215 Merge pull request #168 from GNS3/listen
9 years ago
Julien Duponchelle 00fa1cc370 Merge branch 'master' into unstable
9 years ago
Jeremy b57a023394 NIO NAT support for VirtualBox VMs.
9 years ago
grossmj fcff2d0813 NIO NAT support for QEMU VMs (user mode back-end is used).
9 years ago
Jeremy 71e2586e17 Refactors how startup-config and private-config are handled for IOS routers.
9 years ago
Julien Duponchelle d2d91ebdea Fix temporary project not cleanup with save as
9 years ago
grossmj a260377f0e List all available VMware VMs.
9 years ago
Julien Duponchelle e9ec5c8a37 A notification stream with process monitoring
9 years ago
Jeremy ab60d7929b Basic VMware support (start & stop a VM).
9 years ago
Julien Duponchelle 359abb0286 Revert "Merge branch 'unstable'"
9 years ago
Jeremy 929c337e8b Merge branch 'unstable'
9 years ago
Julien Duponchelle 5f6d1bfdd6 Merge branch 'master' into unstable
9 years ago
Jeremy Grossmann 4f021054e0 Merge pull request #158 from GNS3/keep_iou_config
9 years ago
Jeremy f208b472a1 TAP interface support for QEMU VMs. Fixes #153.
9 years ago
Jeremy b6a935aeb8 Return an explicit error when a NIO type is not supported by a VM.
9 years ago
Julien Duponchelle 324a4f73d0 Do not erase the IOU config
9 years ago
Jeremy 40ce22222e Merge branch 'unstable' into api_list_images
9 years ago
Julien Duponchelle 83f2509cfe Cleanup exceptions
9 years ago
Julien Duponchelle 8b879c0614 Support wireshark remote capture
9 years ago
Julien Duponchelle 3926390d30 Fix tests broken by a previous commit
9 years ago
Julien Duponchelle bca90bc563 API in order to get the list of IOU, Dynamips, Qemu images
9 years ago
grossmj aeab9780d8 Fixes initial-configs that were not restored when opening a project containing IOU VMs.
9 years ago
grossmj aab4a7243b Merge remote-tracking branch 'origin/master'
9 years ago
Julien Duponchelle af942dc419 Fix a crash in VirtualBox vm creation
9 years ago
grossmj 78bc6e29a8 Explicitly delete Dynamips NIOs and unmap VCs for ATM and Frame-Relay switches.
9 years ago
grossmj de5e8f852d Cleaner and generic way to set Qemu & IOU VM settings.
9 years ago
grossmj 056ff14437 Fixes unicode decode error when saving IOS router configs. Fixes #115.
9 years ago
Jeremy 81ce86a8a7 Fixes use_default_iou_values param was not set.
9 years ago
Jeremy 879ed9e4e6 Fixes issue when exporting IOS router configs.
9 years ago
grossmj 588088ca93 Fixes bug when remove_nio() is not a coroutine for ATM and FR switches.
9 years ago
grossmj 980e63e667 Allocate a random port for Qemu monitor. Fixes issue with pre 1.3 projects.
9 years ago
grossmj 73310105a8 Fixes default chassis bug.
9 years ago
grossmj 24300b2502 Adds project id when requesting UDP port.
9 years ago
grossmj 628dfef0d3 Initialize chassis when creating an IOS router. Fixes #107.
9 years ago
Jeremy 8415117d2d Save IOS router configs when saving the project (done right this time).
9 years ago