Commit Graph

289 Commits (7c7f8fe3edec344f48ceb22544fe9c18c547bc26)

Author SHA1 Message Date
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
9 years ago
Julien Duponchelle 71357fa7ab Fix tests
9 years ago
Julien Duponchelle 15036837bb No project for qemu binaries list
9 years ago
Julien Duponchelle 8aa5514890 Qemu binary list
9 years ago
Julien Duponchelle 48f5c7c8b3 All params for qemu
9 years ago
Julien Duponchelle d0244824bf Get a working Qemu handler. Next step add all parameters
9 years ago
Julien Duponchelle b03b9226ff So we have running code for a qemu module
9 years ago
Julien Duponchelle d65617657c Fix old project directories renames
9 years ago
Julien Duponchelle 03b6563864 Initial config path for IOU
9 years ago
Julien Duponchelle dd1833c4f0 iourc_path is set from server settings file
9 years ago
Julien Duponchelle 0e98497a99 Add an endpoint for exporting the initial config file
9 years ago
Julien Duponchelle 57348d0508 Better organisation of the API documentation
9 years ago
Julien Duponchelle 6c3a926ce3 Capture is OK on server side
9 years ago
Julien Duponchelle ff7f014423 Fix test
9 years ago
Julien Duponchelle 15f89776d3 All current iou code is async
9 years ago
Julien Duponchelle 605afa1d33 Fix bad execption name in IOU
9 years ago
Jeremy 4f38d96522 Dynamips devices.
9 years ago
Julien Duponchelle e082cd8b1a Update the remote IOU initial config
9 years ago
Julien Duponchelle 83edc649d2 Rename NVRAM to the correct application id before start the server
9 years ago
Julien Duponchelle a9a3bb1c38 Pep8
9 years ago
Julien Duponchelle 49f012cf4c Turn off documentation sidebar because it's broken
9 years ago
Julien Duponchelle 2cab5293c7 Add the notion of adapters and slot in the api
9 years ago
Julien Duponchelle ee019caa37 Support l1_keepalives in IOU
9 years ago
Julien Duponchelle 1550ca01e6 IOU support nio ethernet
9 years ago
Julien Duponchelle 68427eaddf Auto PEP8 cleanup
9 years ago
Julien Duponchelle a4669689e7 Fix tests due to test reading the local config file
9 years ago
Julien Duponchelle b419001813 Fix test on Travis with Python 3.3
9 years ago
Julien Duponchelle f99d825346 Support network for IOU
9 years ago
Julien Duponchelle 8b61aa9ae7 Set ram, ethernet adapters, serial adapters
9 years ago
Julien Duponchelle ebc214d6fa Fix tests and rename path to iou_path
9 years ago
Julien Duponchelle faa7472670 IOUCON start when vm start
9 years ago
Julien Duponchelle 986c63f344 HTTP api start iou process
9 years ago
Julien Duponchelle 2e99ef69a9 Modules support start iou process (not ioucon and iouyap)
9 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
Jeremy d9b02efbfa Rename destroy to close or unload (more friendly).
10 years ago
Jeremy 2681defe27 Moves NIO creation to the base manager.
10 years ago
Julien Duponchelle 2c50bb607f VPCS Mac address / project
10 years ago
Julien Duponchelle 6644c640db Attribute mac address
10 years ago
Julien Duponchelle e12e6044dc Delete VPCS
10 years ago
Julien Duponchelle 8d3ea60404 VPCS reload
10 years ago
Jeremy 1a43ff118c Fix tests and clean.
10 years ago
Jeremy 0b1b27db8f Add module name to base manager.
10 years ago
Julien Duponchelle 97cefa23fb Move fixtures to conftest
10 years ago
Julien Duponchelle f3e07d5ad9 Fix random failure related to ports
10 years ago
Julien Duponchelle 8d9da999e6 Update examples only when launching test with documentation.sh
10 years ago
Julien Duponchelle ef4ecbfb6a Improve VPCS port change test
10 years ago
Jeremy 7ce1cf3f84 Return correct status codes and fix tests.
10 years ago
Julien Duponchelle 368d1ff70b Update VPCS instance
10 years ago
Julien Duponchelle 7abb426d04 Get informations about a VPCS instance
10 years ago
Julien Duponchelle ce9fd3cb25 Test start / stop. And check if the mocked function is really called
10 years ago
Julien Duponchelle 87a089457f Update script file
10 years ago
Julien Duponchelle f99538ccef Cleanup test
10 years ago
Julien Duponchelle df31b2ad5a Fix project path
10 years ago
Julien Duponchelle 3530b85b56 Fix virtualbox test
10 years ago
Jeremy 061d3223a7 Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
Jeremy 17f6223fb1 Try to fix VirtualBox create test.
10 years ago
Julien Duponchelle fc66e4592a VPCS is trully async
10 years ago
Julien Duponchelle 984d47f9c8 Test work without vpcs binary
10 years ago
Julien Duponchelle 649d4e5143 Allow user to set console port
10 years ago
Julien Duponchelle f2289874af Raise exception if we try to reserve an already reserve port
10 years ago
Julien Duponchelle fa57485f11 Support script file
10 years ago
Julien Duponchelle c30f7ce9a1 Fix tests
10 years ago
Julien Duponchelle 54eb8d9e81 Drop decorator for async test
10 years ago
Julien Duponchelle bbee5f90a0 Yet another PEP 8 :)
10 years ago
Julien Duponchelle 531265eced Get a stable example between tests for project creation
10 years ago
Julien Duponchelle db41076ce5 Use the project working directory for VPCS VM
10 years ago
Julien Duponchelle f5ed9fbcf1 PEP 8 clean thanks to auto pep8
10 years ago
Julien Duponchelle 7f185663d1 VPCS Device => VPCS VM
10 years ago
Julien Duponchelle 68d0e5f42d PEP8
10 years ago
Julien Duponchelle 0695e75e77 Fix tests
10 years ago
Julien Duponchelle 927e6b540d Fix tests
10 years ago
Jeremy 7fff25a9a9 UUID support for VMs.
10 years ago
Julien Duponchelle f0094cc0d0 Project Manager
10 years ago
Julien Duponchelle 240d83411c Create a project entity
10 years ago
Julien Duponchelle 7de95cd60a Fix tests
10 years ago
Julien Duponchelle 73a481e510 Refactor port manager
10 years ago
Jeremy 1cfce6ac5e Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
Jeremy d142a9a885 Rename vpcs_id to id. Must be an integer in the route definition.
10 years ago
Julien Duponchelle 42920e5059 Haiku theme
10 years ago
Julien Duponchelle 77db08c39e Remove NIO from VPCS
10 years ago
Julien Duponchelle 8e307c8cbb Use PATH environnement variable for searching binary
10 years ago
Julien Duponchelle bf6f62e629 Serialize NIO
10 years ago