Commit Graph

455 Commits (d2b03214191a3ab48275e0818316f547d001314e)

Author SHA1 Message Date
Julien Duponchelle 76a0120d3e
PEP8
8 years ago
Julien Duponchelle b55969d381
Notification feed for the hypervisor
8 years ago
Julien Duponchelle c0e452133d
Web interface for debbuging controller
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 286cd7a3ac A debug status page embed in the server
9 years ago
Julien Duponchelle ab4c8665e4 Fix backup projects and a qemu broken tests
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
Julien Duponchelle 4814bc6c65 Fix IOURC upload
9 years ago
Julien Duponchelle cbc859a03b Merge remote-tracking branch 'origin/master' into unstable
9 years ago
Jeremy 8e236a7045 Prevent using different hypervisors that leverage hardware virtualization.
9 years ago
Julien Duponchelle 6bf7a6aa38 Fix after jeremy feedback
9 years ago
Julien Duponchelle fc14deee1b Restore images & projects tarballs
9 years ago
Julien Duponchelle 270017d945 Allow user to backup projects and images
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 f041697311 Compute a md5sum of images for futur purpose
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
Julien Duponchelle b36c5f25d2 Improve memory consumption of file upload with the HTML form
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
Julien Duponchelle 57f5e7a7d9 Merge branch 'master' into unstable
9 years ago
Julien Duponchelle 6b70fa9794 Do not list file starting with a . in upload handler
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
Julien Duponchelle d5ae4750e9 Do not load IOU handler on Windows during tests
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
Julien Duponchelle 3b4a060ae9 Fix missing IOU documentation
9 years ago
Julien Duponchelle b330b2c157 The upload web page return a 200 in case of error
9 years ago
grossmj 056ff14437 Fixes unicode decode error when saving IOS router configs. Fixes #115.
9 years ago
Julien Duponchelle be199b77a5 Homepage cleanup
9 years ago
Julien Duponchelle bff164afcb Merge pull request #106 from aka001/homepage_added
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
Akash Agrawall a25b17fe95 Removed merge conflict
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
Akash Agrawall 257735255c Added homepage
9 years ago
Jeremy 8415117d2d Save IOS router configs when saving the project (done right this time).
9 years ago
Julien Duponchelle 4a9f578784 Support IOURC update
9 years ago
Julien Duponchelle 66cdf39ea2 Support uploading iourc
9 years ago
Jeremy 2de817214f Do not hide non-executable file in the UploadHandler.
9 years ago
Jeremy cc9b575b77 Bind UDP tunnels to the correct source address. Fixes #96.
9 years ago
Julien Duponchelle 3a6a04b8e5 Fix version test
9 years ago
Jeremy cf92bfe81e Alternative local server shutdown (mostly intended for Windows).
9 years ago
Jeremy 4ccca5dc99 Support RAM setting for VirtualBox VMs.
9 years ago
Jeremy a81d2274cd Adds info either the server is started as a local server in VersionHandler response.
9 years ago
grossmj c596147b59 List the iourc file in upload handler.
9 years ago
Jeremy 03796ca729 Server handler to shutdown a local server.
9 years ago
grossmj ad5548f70b Convert more that IOU pre 1.3 projects but also other modules on remote servers.
9 years ago
grossmj 95766fa30d Let the server know about the project name and convert old IOU projects on remote servers.
9 years ago
grossmj c3014632a4 Fixes rename bug for linked clones in VirtualBox.
9 years ago
Julien Duponchelle be1e0fa1f2 Upload IOURC file via the web interface
9 years ago
Julien Duponchelle d126db1fe9 The upload interfaces allow user to choose an image type
9 years ago
Jeremy ee578d3c12 Fixes Qemu networking.
9 years ago
Julien Duponchelle d657f94c18 Fix crash when you start capture on a non running IOU
9 years ago
Jeremy 7a6136ed14 Fixes adapter bug with VirtualBox.
9 years ago
Jeremy 6e89f2c7c7 Remove console_host from IOU and Qemu handlers.
9 years ago
Jeremy a6869379c3 Fixes console restoration when loading a VirtualBox project.
9 years ago
Jeremy f269ec9527 Fixes Qemu networking.
9 years ago
Julien Duponchelle 91ccd6167c API for reloading server config
9 years ago
Julien Duponchelle a9afaa028c Garbage collect VM when closing a project
9 years ago
grossmj c48ca212bd Stop Dynamips hypervisors used by devices before the project is closed.
9 years ago
Jeremy 0e8b8fa66f Update hypervisors working dir when the project is moved.
9 years ago
Julien Duponchelle d0c386860e Fix curl sample generation in the documentation
9 years ago
Julien Duponchelle ae7bf828cd Fix tests on MacOS
9 years ago
Jeremy 985c23a40e Explicitly import handlers so freezing application can find and include the right modules.
9 years ago
Jeremy 58d92f1584 Fixes Dynamips console/aux ports restoration when loading a project.
9 years ago
Jeremy 54fc873be5 Prevent multiple projects with the same ID to be created.
9 years ago
Julien Duponchelle 7c2329d870 Garbage collect the lock
9 years ago
Julien Duponchelle 46b348e46a VM concurrency
9 years ago
Julien Duponchelle 250bb38d7c Crash report with Sentry
9 years ago
Julien Duponchelle 1ca445d5f5 Fix dynampis resume API
9 years ago
Jeremy 182d2e465e Use projects_path & images_path.
9 years ago
Jeremy fb9f5d3c14 List only executable files in upload handler.
9 years ago
Jeremy 8b19029d97 List only executable files in upload handler.
9 years ago
Jeremy 0e8c184987 Recursive listing of the images directory & fixes bug when uploading no files.
9 years ago
Julien Duponchelle 4ffb2c8c20 Fix tests
10 years ago
Julien Duponchelle 89b7d62ec6 Some code cleanup
10 years ago
Julien Duponchelle c9314ec509 autopep8 et upload files
10 years ago
Julien Duponchelle 259f6249e2 Fix tests
10 years ago
Julien Duponchelle f7cd09d5fb Display an upload form (upload is not yet ready)
10 years ago
Jeremy 210aa6f12a Bit of cleaning.
10 years ago
Jeremy 565a7b35a6 Default NVRAM and Idle-PC for some IOS images.
10 years ago
Jeremy 9a745ed3f4 Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
Jeremy af700e9bcb Idle-PC and auto idle-pc for Dynamips.
10 years ago
Julien Duponchelle cecf2f5014 Async qemu monitor reading
10 years ago
Julien Duponchelle 15036837bb No project for qemu binaries list
10 years ago
Julien Duponchelle 8aa5514890 Qemu binary list
10 years ago
Jeremy 90f71e7581 Idle-PC proposals for Dynamips.
10 years ago
Jeremy 8d02f464c5 Dynamips import/export configs.
10 years ago
Julien Duponchelle 48f5c7c8b3 All params for qemu
10 years ago
Julien Duponchelle d0244824bf Get a working Qemu handler. Next step add all parameters
10 years ago
Julien Duponchelle 03b6563864 Initial config path for IOU
10 years ago
Julien Duponchelle dd1833c4f0 iourc_path is set from server settings file
10 years ago
Julien Duponchelle 0e98497a99 Add an endpoint for exporting the initial config file
10 years ago
Jeremy 516b882122 Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
Jeremy 3e95bb9748 Adapter settings and configs for Dynamips VMs.
10 years ago
Julien Duponchelle 6c3a926ce3 Capture is OK on server side
10 years ago
grossmj 78ffe313fd Dynamips VM & device deletion and ghost support.
10 years ago
grossmj 26f7195288 Dynamips devices packet capture.
10 years ago
grossmj f99e834c37 Dynamips devices support (packet capture to complete).
10 years ago
Jeremy 094339304c Packet capture for Dynamips VMs.
10 years ago
Jeremy 6ac6c7d796 Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
Jeremy a5ac7c5481 Dynamips NIO connections.
10 years ago
Julien Duponchelle e082cd8b1a Update the remote IOU initial config
10 years ago
Julien Duponchelle 2cab5293c7 Add the notion of adapters and slot in the api
10 years ago
Julien Duponchelle ee019caa37 Support l1_keepalives in IOU
10 years ago
Julien Duponchelle 3e1875b069 Set console host from port manager
10 years ago
grossmj 0a5aaedc7c Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
grossmj 8f089c45f5 Fixes a few problems in Dynamips implementation.
10 years ago
Julien Duponchelle f99d825346 Support network for IOU
10 years ago
Julien Duponchelle 8b61aa9ae7 Set ram, ethernet adapters, serial adapters
10 years ago