Commit Graph

537 Commits (b07dcf552c2e21efd494b4c311c660af87ba5b1e)

Author SHA1 Message Date
Julien Duponchelle 3d7d8682ee OVA file support
9 years ago
Julien Duponchelle 034ac392b7 Support listing images in subdirectories
9 years ago
Julien Duponchelle bfe9c117ba Fix tests
9 years ago
grossmj 47abba3c9c Fixes tests.
9 years ago
Julien Duponchelle c16d237176 Fix test
9 years ago
Julien Duponchelle 986ab649d7 Fix project not closing
9 years ago
Julien Duponchelle d853ffe791 Change the way we look for Qemu path
9 years ago
Julien Duponchelle fea7a8a9ab Fix Qemu cannot be used on Windows
9 years ago
Julien Duponchelle 796ca86df9 Fix random failures in tests on OSX and Windows
9 years ago
Julien Duponchelle 55f7c79918 Explicit set qemu memory as MB
9 years ago
Julien Duponchelle 323674ba5c Turn off KVM for non x86 architectures
9 years ago
Julien Duponchelle 8b46a1a4ab Fix tests
9 years ago
Julien Duponchelle dbc4f05465 Fix tests
9 years ago
Julien Duponchelle e92d9ca5ff Raise error if qemu image already exist when creating disk
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
Julien Duponchelle 5d8c90d138 Rename qemu image type to qemu image format
9 years ago
Julien Duponchelle b94a4e2308 Add code for creating qemu image on server side
9 years ago
Julien Duponchelle c3c971921d Update documentation
9 years ago
Julien Duponchelle d9f1a7c7d3 API for listing current projects
9 years ago
Julien Duponchelle cbe593f4a4 Fix virtualbox test crash on Linux
9 years ago
Julien Duponchelle cbc859a03b Merge remote-tracking branch 'origin/master' into unstable
9 years ago
Julien Duponchelle 3f25bfcb27 Fix qemu tests
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
Julien Duponchelle c3eb6a440f Fix vmware and interfaces tests
9 years ago
Julien Duponchelle a461cb71c6 Allow to send the iourc when starting the VM
9 years ago
Julien Duponchelle dd6c377b15 Fix test on Linux
9 years ago
Julien Duponchelle 33d6fbde21 Fix server tests
9 years ago
Julien Duponchelle e93f1330b8 Fix dynamips tests
9 years ago
Julien Duponchelle 1f116fc992 Fix tests
9 years ago
Julien Duponchelle 3b3929803b Force turn off KVM for the CI
9 years ago
Julien Duponchelle 6e3ebb714d Return vm_directory for VirtualBox and VMware
9 years ago
Julien Duponchelle feefb075d4 Make the qemu event crash more future proof
9 years ago
Julien Duponchelle e8805d3fdc When a qemu VM crash send the log to the client.
9 years ago
Julien Duponchelle 3bb1509f41 Fix the tests after the removal of the KVM flag from VM
9 years ago
Julien Duponchelle 2b36746d52 Return the working directory of a Qemu VM
9 years ago
Julien Duponchelle a8e69d9a0b Do not use the md5 from cache for a missing image
9 years ago
Julien Duponchelle 4aadfa3b67 Test all IOU requirements at VM startup
9 years ago
Julien Duponchelle a577fe9fdb Make VMX reading case insensitive
9 years ago
Julien Duponchelle f041697311 Compute a md5sum of images for futur purpose
9 years ago
Julien Duponchelle 04aac2f3dc Convert old -enable-kvm to kvm settings for Qemu
9 years ago
Julien Duponchelle 04e62e429c Merge branch 'master' into unstable
9 years ago
Julien Duponchelle 07eab6e766 Fix tests
9 years ago
Julien Duponchelle 2da0b36ee7 Support a platform parameter for Qemu
9 years ago
Julien Duponchelle fb79543342 Build documentation
9 years ago
Julien Duponchelle b0fb2fcc6d Fix test
9 years ago
Julien Duponchelle b36c5f25d2 Improve memory consumption of file upload with the HTML form
9 years ago
Julien Duponchelle 7c7f8fe3ed Fix ethernet interfaces tests if eth0 doesn't exists
9 years ago
Julien Duponchelle 525940ee15 Add a stupid is_interface_up test in order to see why it's crash on
9 years ago
Julien Duponchelle 352fa3480b Fix qemu tests on travis
9 years ago
Julien Duponchelle 669ec42985 Add a test for KVM support
9 years ago
grossmj ca331ae2a5 Import/Export support for IOU nvrams.
9 years ago
Julien Duponchelle a1204dca0a Merge branch 'master' into unstable
9 years ago
Julien Duponchelle b344def887 Fix crash when virtualbox list of VMS return an empty line
9 years ago
Julien Duponchelle a79249aa9e Fix tests after merge
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
Julien Duponchelle 8abf22ef24 Skip network interfaces on Travis
9 years ago
Julien Duponchelle 7cad25eb1a Raise a VirtualBox error if adapter doesn't exists
9 years ago
Julien Duponchelle ecf4e91e55 Ignore VirtualBox VM Name with a carriage return in name
9 years ago
Julien Duponchelle ea67f4aeb9 Test ok on Windows
9 years ago
Julien Duponchelle c98bcedd39 Cleanup the temporary project after modules have been notified of the
9 years ago
Julien Duponchelle 4216724d0b Give a reason for travis skip test
9 years ago
Julien Duponchelle 117630c887 Test ok on Windows
9 years ago
Julien Duponchelle c03c66ec48 Fix tests crash on travis
9 years ago
Julien Duponchelle e62dd1a572 Fix tests on Windows
9 years ago
Julien Duponchelle 1f931d56c7 Fix test suite on Windows
9 years ago
Julien Duponchelle 24e84a3dd8 Test interfaces (it seem it's crash on Travis)
9 years ago
Julien Duponchelle 6f9f004ebb API for list & download files of a project
9 years ago
Julien Duponchelle 33bca1a85c Fix tests on Windows
9 years ago
Julien Duponchelle 4d50d00b3e Fix test suite on Windows
9 years ago
Julien Duponchelle f8d95291fa Test interfaces (it seem it's crash on Travis)
9 years ago
Julien Duponchelle 743187bb2e Merge branch 'master' into unstable
9 years ago
Julien Duponchelle 3704911c2d Fix tests
9 years ago
Julien Duponchelle 5df5a6da18 Fix qemu tests
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
Julien Duponchelle ed39afbf3d Throw an error if user put an invalid port range in config file
9 years ago
Julien Duponchelle ee2dada88b Fix tests
9 years ago
Julien Duponchelle d2d91ebdea Fix temporary project not cleanup with save as
9 years ago
Julien Duponchelle 0dea63c9ea If image is not found in VM directory look in images folder
9 years ago
Julien Duponchelle e9ec5c8a37 A notification stream with process monitoring
9 years ago
Julien Duponchelle b3f2a6ac2a Fix tests and build documentation
9 years ago
Julien Duponchelle 359abb0286 Revert "Merge branch 'unstable'"
9 years ago
Jeremy 929c337e8b Merge branch 'unstable'
9 years ago
Julien Duponchelle f8f6f5dc5d Merge branch 'master' into unstable
9 years ago
Julien Duponchelle bad740d32a Fix test on Linux
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
Julien Duponchelle e7ae1776f4 Final fixes for windows test suite
9 years ago
Julien Duponchelle 3f26ada081 Comment broken test
9 years ago
Julien Duponchelle 77f54848e3 Fix some tests on Windows
9 years ago
Julien Duponchelle bf3444933e Fix test qemu now raise 409 if nio_ethernet
9 years ago
Julien Duponchelle 324a4f73d0 Do not erase the IOU config
9 years ago
Julien Duponchelle 4df95efdec Skip IOU test on Windows
9 years ago
Julien Duponchelle 834a554fea Fix VPCS tests
9 years ago
Jeremy 40ce22222e Merge branch 'unstable' into api_list_images
9 years ago
Julien Duponchelle 8b879c0614 Support wireshark remote capture
9 years ago
Julien Duponchelle 531e95463c Add qemu-kvm to the list of binary
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
Julien Duponchelle e367f95f96 Drop darwin specific tests
9 years ago
Julien Duponchelle 750958bd12 Fix tests
9 years ago
grossmj aab4a7243b Merge remote-tracking branch 'origin/master'
9 years ago
Julien Duponchelle aa2472fb30 Rewrote image search
9 years ago
grossmj de5e8f852d Cleaner and generic way to set Qemu & IOU VM settings.
9 years ago
Julien Duponchelle 1c4a059982 Look in old IOU images location in order to smooth transition
9 years ago
Julien Duponchelle 7efb7c2978 Do not overwrite initial-config IOU if client send an empty
9 years ago
Julien Duponchelle b46e2cf013 Fix issues with macos X dynamips not freeing UDP port
9 years ago
Julien Duponchelle 49f36a83bd Test path with chinese charcaters in Qemu
9 years ago
Julien Duponchelle a3c8201bcc Do not crash if no console port is available for VBox
9 years ago
Julien Duponchelle 4cd5ec5613 Check name of the VBoxManage executable
9 years ago
Julien Duponchelle 026fe3df9b Catch error when qemu additional options are invalid
9 years ago
Julien Duponchelle da00aa030a Fix missing /v1 in api documentation
9 years ago
Julien Duponchelle be199b77a5 Homepage cleanup
9 years ago
Julien Duponchelle 2e72bc2d3a Fix tests
9 years ago
grossmj 980e63e667 Allocate a random port for Qemu monitor. Fixes issue with pre 1.3 projects.
9 years ago
Julien Duponchelle cde5c3d994 Fix tests
9 years ago
grossmj 153914bf97 Make sure used ports in a project are cleaned up when closing it.
9 years ago
Julien Duponchelle 253ab4e2b5 PEP8
9 years ago
Julien Duponchelle ddb8a9f06e Fix an issue in IOU relative path looking
9 years ago
Julien Duponchelle 4a9f578784 Support IOURC update
9 years ago
Julien Duponchelle 66cdf39ea2 Support uploading iourc
9 years ago
Julien Duponchelle 964ea0f577 Fix random behavior in tests
9 years ago
Julien Duponchelle bcb1ce02ab Refactor config management in tests
9 years ago
Julien Duponchelle e54649accd Fix dynamips tests
9 years ago
Julien Duponchelle c05edfe415 Fix test manager
9 years ago
Julien Duponchelle cf247a9301 Fix iou tests and add tests
9 years ago
Julien Duponchelle 3a6a04b8e5 Fix version test
9 years ago
grossmj 6d56da03e5 Fixes tests.
9 years ago
grossmj 4f7b896a6a Fixes tests.
9 years ago
Julien Duponchelle ed2e4e43f2 Support the options use_default_iou_values
9 years ago
Julien Duponchelle 1b68a54234 Look for qemu images in ~/GNS3/images
9 years ago
Jeremy ee578d3c12 Fixes Qemu networking.
9 years ago
Julien Duponchelle e37392c482 Correctly recover id when closing VMS
9 years ago
Julien Duponchelle d657f94c18 Fix crash when you start capture on a non running IOU
9 years ago
Julien Duponchelle 3407ba802e Rename vlan dat file for IOU
9 years ago
Julien Duponchelle 80fd857658 Fix tests
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
Julien Duponchelle 66860655b9 If a VM is already loaded, we return a VM instead of creating it twice
9 years ago
Julien Duponchelle 914ea0326c Fix tests
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
Julien Duponchelle ebb865d973 Export vpcs config path
9 years ago
Julien Duponchelle 5a58f6efc8 Fix a crash with Python 3.4 when you stop IOU
9 years ago
Julien Duponchelle aa40e6097e Fix tests
9 years ago
Jeremy 0eaad579c2 IOU + VirtualBox conversion of old projects.
9 years ago
Jeremy 54fc873be5 Prevent multiple projects with the same ID to be created.
9 years ago
Julien Duponchelle f12d3f07f7 Drop the old -files in the project
9 years ago
Julien Duponchelle 8434a286b6 Fix IOU old project import
9 years ago
Julien Duponchelle 818676ce5e Support relative path in iou
9 years ago
Julien Duponchelle 4ea25739e5 Correctly check if qemu is running
9 years ago
Julien Duponchelle 67be24a412 Fix doc generation
9 years ago
Julien Duponchelle fd03b36258 Fix tests
9 years ago
Jeremy 3d3300e83a Rename console methods in port manager to use the generic tcp term in the name.
9 years ago
Julien Duponchelle 4d1f08c96e Turn off Qemu graphics if no display is available
9 years ago
Julien Duponchelle c9314ec509 autopep8 et upload files
9 years ago
Julien Duponchelle 259f6249e2 Fix tests
9 years ago
Julien Duponchelle f7cd09d5fb Display an upload form (upload is not yet ready)
9 years ago
Julien Duponchelle cecf2f5014 Async qemu monitor reading
10 years ago
Julien Duponchelle 71357fa7ab Fix tests
10 years ago
Julien Duponchelle 15036837bb No project for qemu binaries list
10 years ago
Julien Duponchelle 8aa5514890 Qemu binary list
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 b03b9226ff So we have running code for a qemu module
10 years ago
Julien Duponchelle d65617657c Fix old project directories renames
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
Julien Duponchelle 57348d0508 Better organisation of the API documentation
10 years ago
Julien Duponchelle 6c3a926ce3 Capture is OK on server side
10 years ago
Julien Duponchelle ff7f014423 Fix test
10 years ago
Julien Duponchelle 15f89776d3 All current iou code is async
10 years ago
Julien Duponchelle 605afa1d33 Fix bad execption name in IOU
10 years ago
Jeremy 4f38d96522 Dynamips devices.
10 years ago
Julien Duponchelle e082cd8b1a Update the remote IOU initial config
10 years ago
Julien Duponchelle 83edc649d2 Rename NVRAM to the correct application id before start the server
10 years ago
Julien Duponchelle a9a3bb1c38 Pep8
10 years ago
Julien Duponchelle 49f012cf4c Turn off documentation sidebar because it's broken
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 1550ca01e6 IOU support nio ethernet
10 years ago
Julien Duponchelle 68427eaddf Auto PEP8 cleanup
10 years ago
Julien Duponchelle a4669689e7 Fix tests due to test reading the local config file
10 years ago
Julien Duponchelle b419001813 Fix test on Travis with Python 3.3
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
Julien Duponchelle ebc214d6fa Fix tests and rename path to iou_path
10 years ago
Julien Duponchelle faa7472670 IOUCON start when vm start
10 years ago
Julien Duponchelle 986c63f344 HTTP api start iou process
10 years ago
Julien Duponchelle 2e99ef69a9 Modules support start iou process (not ioucon and iouyap)
10 years ago
Jeremy 79a57ca420 New Dynamips integration part 3
10 years ago
Julien Duponchelle f0add73d80 Cleanup
10 years ago
Julien Duponchelle a6da2406a0 Fix tests
10 years ago
Julien Duponchelle 2f85d71f32 Correctly override the config from command line
10 years ago
Julien Duponchelle e1a80a9fab Remove debug
10 years ago
Julien Duponchelle b31af0abcd Sub directory project-files
10 years ago
Julien Duponchelle e99c0f6ac5 I hope it's fix tests on Travis Python 3.3
10 years ago
Julien Duponchelle bf29e0319e Test logger and PEP8
10 years ago
Julien Duponchelle 64c197c719 Fix tests
10 years ago
Julien Duponchelle e81dcd4bba Add /projects before /project
10 years ago
Julien Duponchelle 571044b3e8 Fix server close tests
10 years ago
Julien Duponchelle 5c3969ae79 Fix tests creating garbage project in ~/GNS3/project
10 years ago
Julien Duponchelle 5a0c224292 Allow user to change project path on local server
10 years ago
Julien Duponchelle 41a8872819 Refactor VPCS script file loading
10 years ago
Julien Duponchelle dae48b2de4 Update temporary status if project change location
10 years ago
Jeremy 291fac7084 Add project_id in all VM calls.
10 years ago
Jeremy b680138073 Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
Jeremy 1bea78194c Explicit ID names, remove {uuid} from URLs and add vms in URLs for VMs.
10 years ago
Julien Duponchelle c5c219ffe1 Allow modification of path from the client
10 years ago
Julien Duponchelle 2ace014a3c Cleanup old temporary project at startup
10 years ago
Julien Duponchelle 08158884a4 Add api versionning
10 years ago
Jeremy 59c82e26df Use project_id instead of project_uuid for the API.
10 years ago
Jeremy d2699f051d Change URL for projects: /project becomes /projects and project_id is used instead of uuid.
10 years ago
Julien Duponchelle aeb83a7945 Support %h in VPCS config file
10 years ago
Julien Duponchelle f572f3fc95 You can't modify startup script remotely
10 years ago
Jeremy d199778745 Fixes tests.
10 years ago
Julien Duponchelle 0ae8d8031a Override configuration from command line even in case of config reload
10 years ago
Julien Duponchelle 6abf420ce1 Support configuration live reload
10 years ago
Jeremy 57b35d5758 Fix tests + PEP8 + documentation
10 years ago
Jeremy 334835c985 PEP8 + documentation.
10 years ago
Jeremy 8a00d30e23 Change ports to adapters in VirtualBox API entry points.
10 years ago
Jeremy 22369ade49 Rename port_id to port_number for VPCS and adapter_id for VirtualBox to avoid confusion.
10 years ago
Jeremy e7c9139045 Rename /udp entry point to /ports/udp.
10 years ago
Julien Duponchelle 8bc26420b7 If not script file is setted we use the default from VPCS
10 years ago
Julien Duponchelle f682e1c474 Complete documentation
10 years ago
Julien Duponchelle df8bdcc152 Catch exceptions from rmtree
10 years ago
Julien Duponchelle 4518404706 Run rmtree in a different thread
10 years ago
Julien Duponchelle 70faf76c10 PEP8, documentation update, test fix
10 years ago
Jeremy 50fea669b5 Network handler for UDP port allocation and server network interfaces.
10 years ago
Jeremy ff63530f52 Get all available VirtualBox VMs on the server.
10 years ago
Jeremy 499a8f10ae Update tests.
10 years ago
Jeremy 39e3ca91a9 Fixes module unload & adds host, port and allow-remote-console command line args.
10 years ago
Julien Duponchelle 8e249b670d Set a location by default
10 years ago
Julien Duponchelle 017c5ac9f6 Allow changing location only for local usage
10 years ago
Julien Duponchelle 4848eeabad Add missing curl example
10 years ago
Julien Duponchelle 547adf0dc6 Get project
10 years ago
Julien Duponchelle 0e76527ce2 Update a project
10 years ago
Julien Duponchelle abc885049f Temporary project
10 years ago
Julien Duponchelle 7bf121c6da When we remove a VM, the VM is removed from the project.
10 years ago
Julien Duponchelle 3f5c2390cd Close a project
10 years ago
Julien Duponchelle 986a7f55ef Delete a project
10 years ago
Julien Duponchelle 9a0b260c56 Small change in order to avoid a PEP8 warning
10 years ago
Julien Duponchelle f97c2b2cbe Delete a VM, mark it as destroyable
10 years ago
grossmj 0d503b779e Explicitly close VM when the server is shutdown.
10 years ago
Jeremy 05c0efe39b More VirtualBox work.
10 years ago