Commit Graph

675 Commits (95766fa30da94214eb8310eef6e5303fea766d7d)

Author SHA1 Message Date
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 4d1f08c96e Turn off Qemu graphics if no display is available
9 years ago
Julien Duponchelle cad708f4ab Add warning unstable at the beginning of the API
9 years ago
Julien Duponchelle 4ffb2c8c20 Fix tests
9 years ago
Julien Duponchelle 89b7d62ec6 Some code cleanup
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
Jeremy 210aa6f12a Bit of cleaning.
9 years ago
Jeremy da11343647 Fixes aiohttp.errors.ClientDisconnectedError errors when SIGINT is received.
9 years ago
Jeremy 565a7b35a6 Default NVRAM and Idle-PC for some IOS images.
9 years ago
Jeremy 9a745ed3f4 Merge remote-tracking branch 'origin/asyncio' into asyncio
9 years ago
Jeremy af700e9bcb Idle-PC and auto idle-pc for Dynamips.
9 years ago
Julien Duponchelle cecf2f5014 Async qemu monitor reading
9 years ago
Julien Duponchelle 45a48cfcc1 Embeded debugging shell
9 years ago
Julien Duponchelle a0f4c6d021 Repare live reload
9 years ago
Julien Duponchelle 47be57dca7 Fix qemu close
9 years ago
Julien Duponchelle 15036837bb No project for qemu binaries list
9 years ago
Julien Duponchelle 8aa5514890 Qemu binary list
9 years ago
Jeremy 90f71e7581 Idle-PC proposals for Dynamips.
10 years ago
Jeremy b393948b67 Fixes iouyap shutdown.
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 b03b9226ff So we have running code for a qemu module
10 years ago
Julien Duponchelle 25bcbfb073 Allocation of console port in base vm
10 years ago
Jeremy 4a3e6632c1 Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
Jeremy 380c4d8211 Fixes capture directory path.
10 years ago
grossmj 3d1363150e Fixes ghost file path.
10 years ago
grossmj 610dee957d Use HTTP error 409 instead of 500 for VMError.
10 years ago
Julien Duponchelle d65617657c Fix old project directories renames
10 years ago
Julien Duponchelle 3cb7213427 Fix crash in VPCS
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 5170428913 Fix a capture crash
10 years ago
grossmj dc4df68c7a Keep Dynamips logs.
10 years ago
Jeremy e6fd471dd5 Save Dynamips VM configs when closing a project.
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
Julien Duponchelle 018e3c1451 Fix IOU closing
10 years ago
Julien Duponchelle 15f89776d3 All current iou code is async
10 years ago
Julien Duponchelle d323234520 Harmonisation of slot, adapter notion
10 years ago
Julien Duponchelle 3ceb43fa62 Fix tests
10 years ago
Julien Duponchelle 605afa1d33 Fix bad execption name in IOU
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 4f38d96522 Dynamips devices.
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 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 821eb5e92b Repare config file loading
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 3e1875b069 Set console host from port manager
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
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 9160d3caf4 Remove old directories to avoid editing them by mistake...
10 years ago
Julien Duponchelle 3471b03ef9 Clarify JSON schema validation errors
10 years ago
Julien Duponchelle 8b61aa9ae7 Set ram, ethernet adapters, serial adapters
10 years ago
Julien Duponchelle 05df7001a3 Successfully create an iou device from the GUI via HTTP
10 years ago
Julien Duponchelle 4689024b50 Add a --live options to control livereload
10 years ago
Julien Duponchelle ebc214d6fa Fix tests and rename path to iou_path
10 years ago
Julien Duponchelle fb69c693f6 Start iouyap
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
grossmj 37945585b9 New Dynamips integration part 2
10 years ago
Jeremy 46cbcd6132 New Dynamips integration part 1
10 years ago
Jeremy 648850c411 Server listen to 0.0.0.0 by default.
10 years ago
Jeremy 30c452e938 Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
Jeremy 98586b93ee Add timeout on stopping a VPCS just in case.
10 years ago
Julien Duponchelle 2f85d71f32 Correctly override the config from command line
10 years ago
Julien Duponchelle b31af0abcd Sub directory project-files
10 years ago
grossmj 0d7d0a05c3 Handle old projects.
10 years ago
grossmj 2a3b37a3bd VirtualBox packet capture.
10 years ago
grossmj d499402491 VirtualBox implementation complete.
10 years ago
Julien Duponchelle e81dcd4bba Add /projects before /project
10 years ago
Julien Duponchelle 571044b3e8 Fix server close tests
10 years ago
Jeremy 8118d7762f Parallel execution when closing VMs.
10 years ago
Jeremy f2ff933b20 Fixes console and close in VirtualBox VM.
10 years ago
Julien Duponchelle ab122d969e Allow empty project directory
10 years ago
Julien Duponchelle 5a0c224292 Allow user to change project path on local server
10 years ago
Julien Duponchelle 9f7b8574c8 Useless print
10 years ago
Julien Duponchelle 30f10a559e Fix crash in debug log
10 years ago
Julien Duponchelle 0abf2e82d6 Improve server debug logging
10 years ago
Julien Duponchelle 41a8872819 Refactor VPCS script file loading
10 years ago
Julien Duponchelle 869405738e Code cleanup
10 years ago
Julien Duponchelle b92e065add Fix binary location change for VPCS
10 years ago
Julien Duponchelle dae48b2de4 Update temporary status if project change location
10 years ago
Julien Duponchelle 8367a9eb30 Remove unused files (we can restore them later via git history)
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 ca354ae7f2 Doc API V1
10 years ago
Julien Duponchelle 08158884a4 Add api versionning
10 years ago
Jeremy 119bebee25 Documentation.
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
Julien Duponchelle 0ce344b1d2 PEP8
10 years ago
Jeremy 81f9252554 Fixes nasty bug when close a cloned VirtualBox VM.
10 years ago
Jeremy 66569f26a4 Make sure to wait for the unload coroutine to finish when the server is shutting down.
10 years ago
Jeremy df72369b0e Fix VirtualBox VM close.
10 years ago
Jeremy 33d5882a4a Add traceback info when catching an exception to help with debugging.
10 years ago
Jeremy 471fbe576c Ignore OSError when checking for config file changes.
10 years ago
Jeremy 45ca493ecf Use module settings from the config file.
10 years ago
Julien Duponchelle 2c3fe2ad4b Repare debug log
10 years ago
Jeremy aecd7dedba Fixes app name for the config file on Linux.
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
Julien Duponchelle 21020a2753 Fix server configuration path
10 years ago
Jeremy a3a304bd12 Load port ranges from the config file.
10 years ago
Jeremy 0c90393b5b Send explicit error message when client is checking for the server version.
10 years ago
Jeremy 8d471a89a8 Check for OSError when starting the server.
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 fa978b6a28 Send all VirtualBox settings when creating the VM.
10 years ago
Julien Duponchelle 8bc26420b7 If not script file is setted we use the default from VPCS
10 years ago
Julien Duponchelle 29a4a0634d Add console debug
10 years ago
Jeremy e60366c5bb Change URL to get all VirtualBox VMs.
10 years ago
Julien Duponchelle 776bfea3d7 Clean enable debug mode
10 years ago
Julien Duponchelle 6764c6e866 Useless debug
10 years ago
Julien Duponchelle 9abf323e7d Send GNS 3 server version in header and upgrade aiohttp
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 1bfb201368 Enable code live reload only in debug mode
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 c002bbfb23 Minimal SSL support.
10 years ago
Jeremy 365af02f37 Packet capture support for VirtualBox.
10 years ago