Commit Graph

981 Commits (7c7f8fe3edec344f48ceb22544fe9c18c547bc26)

Author SHA1 Message Date
grossmj 1c4202187a Fixes TAP interface use with VPCS.
9 years ago
grossmj 631d7a1e25 Avoid disconnecting valid VirtualBox VM adapter backends.
9 years ago
Jeremy Grossmann 19c5fdb1fd Merge pull request #135 from GNS3/fix_virtualbox_adapters
9 years ago
Julien Duponchelle b46e2cf013 Fix issues with macos X dynamips not freeing UDP port
9 years ago
Julien Duponchelle 1acc9398d5 Fix encoding error when saving dynamips configuration
9 years ago
Julien Duponchelle 8fc256da6d Fix missing adapters in VBox Virtual Machines
9 years ago
Julien Duponchelle b330b2c157 The upload web page return a 200 in case of error
9 years ago
Julien Duponchelle 990f243f15 Do not crash if dynamips config contain non ascii chars
9 years ago
Julien Duponchelle a3c8201bcc Do not crash if no console port is available for VBox
9 years ago
Julien Duponchelle 90d55fcb8a Raise a DynamipsError if we can't access to VM status
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 220d585dcc Fix ClientDisconnectedError
9 years ago
Julien Duponchelle 93344e9427 Fix crash when NIO doesn't exist
9 years ago
Julien Duponchelle 6d6cfacdc8 Turn off crash report if raven not available
9 years ago
Julien Duponchelle 36f5fd2865 Fix crash when IOU script file is incorrect
9 years ago
Jeremy 47ffdbd4ed Bump version to 1.3.1.dev1
9 years ago
Jeremy ddf0194e8e 1.3.0 release
9 years ago
Julien Duponchelle 420a1c2da2 Fix rare crash in tests for travis and fix coverage
9 years ago
grossmj ee8362d89a Fixes issue when asyncio read is cancelled and data is still sent by Dynamips hypervisor. Fixes #113.
9 years ago
grossmj 056ff14437 Fixes unicode decode error when saving IOS router configs. Fixes #115.
9 years ago
Julien Duponchelle 3c917c59fb Fix error when missing adapter
9 years ago
Julien Duponchelle 533ce78b90 Fix crash if we call stop on dynamips on non started process
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 1df8f61035 Merge remote-tracking branch 'origin/master'
9 years ago
Jeremy c7034c25ef Fixes issue when IOURC environment variable is set to None.
9 years ago
Julien Duponchelle 2e72bc2d3a Fix tests
9 years ago
Julien Duponchelle 64152c1af8 Fix a crash in CI, making log impossible to read
9 years ago
Jeremy 879ed9e4e6 Fixes issue when exporting IOS router configs.
9 years ago
Jeremy ec6a761e04 Fixes check if VPCS process is running.
9 years ago
grossmj 588088ca93 Fixes bug when remove_nio() is not a coroutine for ATM and FR switches.
9 years ago
grossmj 07067d6765 Fixes how to test if iou and iouyap are running.
9 years ago
grossmj 980e63e667 Allocate a random port for Qemu monitor. Fixes issue with pre 1.3 projects.
9 years ago
grossmj 7b1a707967 Bump version to 1.3.0.dev3
9 years ago
grossmj 73310105a8 Fixes default chassis bug.
9 years ago
Jeremy 51659b6087 Bump version to 1.3.0rc2
9 years ago
Akash Agrawall a25b17fe95 Removed merge conflict
9 years ago
Jeremy b5aabd4cc5 Fixes initial-config not loading for IOU L2.
9 years ago
Julien Duponchelle f4c7212e33 Update sentry key for the RC2
9 years ago
grossmj f451ed144e Prevent error when suspend/resume is not supported in QEMU VM.
9 years ago
grossmj a77023d1ee Bump version to 1.3.0.dev2
9 years ago
grossmj 24300b2502 Adds project id when requesting UDP port.
9 years ago
grossmj 153914bf97 Make sure used ports in a project are cleaned up when closing it.
9 years ago
grossmj 2d6d153262 Save configs when project is committed.
9 years ago
grossmj 628dfef0d3 Initialize chassis when creating an IOS router. Fixes #107.
9 years ago
Jeremy 17d5b3a7bc Remove unnecessary locks.
9 years ago
Akash Agrawall 257735255c Added homepage
9 years ago
Julien Duponchelle 01bcbe2fd9 Lock the dynamips reader an writer
9 years ago
grossmj 7473dec5ad Bump version to 1.3.0.dev1
9 years ago
Julien Duponchelle 533baf0445 1.3.0rc1
9 years ago
Julien Duponchelle ddb8a9f06e Fix an issue in IOU relative path looking
9 years ago
Jeremy f31071d510 Bump version to 1.3.0rc1.dev3
9 years ago
Jeremy 8415117d2d Save IOS router configs when saving the project (done right this time).
9 years ago
Jeremy f6b122cdfa Look in legacy IOU images dir when looking for relative IOU image path.
9 years ago
Jeremy 44c8396997 Bump version to 1.3.0rc1.dev2
9 years ago
Jeremy fb0490d8e3 Merge remote-tracking branch 'origin/asyncio' into asyncio
9 years ago
Jeremy 163d1e375d Save IOS configs when a project is committed.
9 years ago
Julien Duponchelle 6330e99ff1 More robust IOUVM support
9 years ago
Julien Duponchelle 386b311755 Fix iou key verification for large hostid
9 years ago
Julien Duponchelle 4a9f578784 Support IOURC update
9 years ago
Julien Duponchelle 8ca9c2121a Do not crash if iourc file is missing
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 bb7eda63af Support more all QEMU status
9 years ago
Julien Duponchelle 54bccb0628 Restore configuration live reload
9 years ago
Jeremy 2de817214f Do not hide non-executable file in the UploadHandler.
9 years ago
Jeremy 93a5f4be79 Temporarily deactivate IOS router saveconfigs.
9 years ago
Jeremy 46fe973a96 Save IOS router configs when the user saves a project.
9 years ago
Jeremy cc9b575b77 Bind UDP tunnels to the correct source address. Fixes #96.
9 years ago
Julien Duponchelle bcb1ce02ab Refactor config management in tests
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 21587fda5a Removes confreg setting for IOS routers.
9 years ago
grossmj 30ed89847b Adds netifaces module in the setup dependencies.
9 years ago
grossmj 6d56da03e5 Fixes tests.
9 years ago
grossmj 25b778aec0 Bump version to 1.3.0rc1.dev1
9 years ago
grossmj a90805135d Bump version to 1.3.0beta2
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
Jeremy 221befa73e Option to record curl requests into a file (to replay them later).
9 years ago
Jeremy db69b93100 Merge remote-tracking branch 'origin/asyncio' into asyncio
9 years ago
Jeremy 81420c60c7 Changes words in upload template.
9 years ago
Jeremy f7d3af4a59 Fixes hostid retrieval.
9 years ago
grossmj c596147b59 List the iourc file in upload handler.
9 years ago
Jeremy 5637b7be86 Bump version to 1.3.0beta2.dev1
9 years ago
Jeremy 500b7112f5 Assert host and port are not None when creating the Server instance.
9 years ago
Jeremy 36daa3627e Ignore exception in asyncio loop on Windows when the local server gets a signal.
9 years ago
Jeremy 03796ca729 Server handler to shutdown a local server.
9 years ago
Jeremy 6d901e8295 Fixes issue when VBoxManage returns an error.
9 years ago
grossmj 4f7b896a6a Fixes tests.
9 years ago
grossmj 34c4649d0b Bump version to 1.3beta1
9 years ago
Jeremy 54c2d34185 Optional IOU license key check.
9 years ago
Jeremy aebcd9f08b Relative path support of IOU, IOS and Qemu images.
9 years ago
Jeremy c41bec0516 Do not give attachment warning for generic attachments in VirtualBox.
9 years ago
Jeremy 223f3ee705 Should fix ProcessLookupError exceptions.
9 years ago
grossmj 1610067eee Support for HDC and HDD disk images in Qemu.
9 years ago
grossmj 062e5a5986 Fixes bug when starting a packet capture in VirtualBox with the project path containing spaces.
9 years ago
grossmj 4c68fd0d52 Renames server.conf and server.ini to gns3_server.conf and gns3_server.ini respectively.
9 years ago
grossmj 03dfd177f9 Use TCP instead of Telnet to communicate with Qemu monitor.
9 years ago
grossmj 5910b4b0be Have the server look in the right place for relative image paths.
9 years ago
grossmj ad5548f70b Convert more that IOU pre 1.3 projects but also other modules on remote servers.
9 years ago
grossmj 5ca65093e4 Fixes bugs when checking if this is a local project.
9 years ago
grossmj 4f1674f50c Bump version to 1.3.0beta1.dev2
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 2934232afb Convert legacy IOU directories on remote servers.
9 years ago
grossmj b1eccc0ace Properly restore configs for Dynamips routers.
9 years ago
grossmj c3014632a4 Fixes rename bug for linked clones in VirtualBox.
9 years ago
grossmj 0d379f428e Makes absolute path checks work on Windows.
9 years ago
Julien Duponchelle be1e0fa1f2 Upload IOURC file via the web interface
9 years ago
Julien Duponchelle ed2e4e43f2 Support the options use_default_iou_values
9 years ago
Julien Duponchelle d126db1fe9 The upload interfaces allow user to choose an image type
9 years ago
Julien Duponchelle 1b68a54234 Look for qemu images in ~/GNS3/images
9 years ago
Jeremy ee578d3c12 Fixes Qemu networking.
9 years ago
Jeremy d87ebb3ed2 Fixes suspend and resume for Qemu.
9 years ago
Jeremy f188bc43e1 Includes SSL cacert file path in the warnings.
9 years ago
Jeremy 053fd9cc0c Adds warnings if the cacert.pem file cannot be found.
9 years ago
Jeremy b58f9e10f9 Bump version to 1.3.0beta1.dev1
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
grossmj 18f3859e87 Fixes Telnet server initialization issue in VirtualBox. Fixes #88.
9 years ago
Jeremy a64dfdd694 Disconnect network cable if adapter is not attached in VirtualBox vNIC.
9 years ago
Jeremy 2bae814eb1 Remove redundant code for Dynamips hypervisor connections.
9 years ago
Jeremy c012e8ddb3 Merge remote-tracking branch 'origin/asyncio' into asyncio
9 years ago
Jeremy b5e8aaf682 Support for Raven to send crash report from a frozen state.
9 years ago
Julien Duponchelle 2679c03fe2 Drop cloud from config
9 years ago
Julien Duponchelle 01ab91722b Proper format of crash report
9 years ago
Julien Duponchelle a4da6c6a74 Add more informations in crash reports
9 years ago
Julien Duponchelle 1d0ffe4b2e Add more informations to crash reports
9 years ago
Julien Duponchelle 3407ba802e Rename vlan dat file for IOU
9 years ago
Jeremy 7a6136ed14 Fixes adapter bug with VirtualBox.
9 years ago
Jeremy 94bcd1cf11 Bump to version 1.3.0alpha1
9 years ago
Jeremy 69f8b7de6a Bump to version 1.3alpha1
9 years ago
Julien Duponchelle 80fd857658 Fix tests
9 years ago
Julien Duponchelle 10296f4f19 Do not send garbage to console in case of sentry not available
9 years ago
Julien Duponchelle 16dc0d1a8a Send crash report synchronous to avoid lost of events
9 years ago
Jeremy 6208cb997d Fixes Qemu adapters support.
9 years ago
Jeremy 6e89f2c7c7 Remove console_host from IOU and Qemu handlers.
9 years ago
Jeremy 3472f19519 Use console_host from the PortManager.
9 years ago
Jeremy a6869379c3 Fixes console restoration when loading a VirtualBox project.
9 years ago
Jeremy f269ec9527 Fixes Qemu networking.
9 years ago
Jeremy 7ace6fc7e9 Fixes old projects loading issue with Qemu.
9 years ago
Jeremy 466c6142af Merge remote-tracking branch 'origin/asyncio' into asyncio
9 years ago
Jeremy b673b898a8 Fixes problem when trying to convert VirtualBox projects without cloned VMs.
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 16f6fe9d3b Send criticals errors to Sentry
9 years ago
grossmj 46b0ead329 Close connections for auto-reload.
9 years ago
grossmj c48ca212bd Stop Dynamips hypervisors used by devices before the project is closed.
9 years ago
grossmj 3ef529fb0e Temporally fixes Dynamips console listening issues.
9 years ago
grossmj 518b037d54 Fixes connect call failed for Dynamips hypervisor #78.
9 years ago
grossmj 7223005acd Restore device IDs and fixes race condition when converting an old project.
9 years ago
grossmj 5ae8728ee6 Fixes ATM switch.
9 years ago
grossmj 0c767e1c0e Bump to version 1.3.dev3
9 years ago
grossmj dfce18a48f Fixes migration issues for pre-1.3 projects.
9 years ago
grossmj 0f10d25c0b Optional AUX console port allocation for Dynamips VMs.
9 years ago
grossmj 7fe2d6c367 Support to deactivate sparsemem or mmap globally for Dynamips VMs.
9 years ago
grossmj d762c43314 Include the images directory when converting an old project.
9 years ago
grossmj 708f66b608 Fixes asyncio Lock instantiation issues on Windows.
9 years ago
grossmj 666064f1ae Revert commit: Remove lock for Ghost IOS (problem on Windows).
9 years ago
Jeremy 70d5dea256 Remove lock for Ghost IOS (problem on Windows).
9 years ago
Jeremy ba95567886 Some info message and fixes ghost IOS activation/deactivation.
9 years ago
Jeremy 84870bf736 Some changes with config files on Windows.
9 years ago
Jeremy 0e8b8fa66f Update hypervisors working dir when the project is moved.
9 years ago
Jeremy b55719186e Merge remote-tracking branch 'origin/asyncio' into asyncio
9 years ago
Jeremy 1d6d2a39f0 Allow signals to be processed on Windows.
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 f6448bb05d Turn off collored log output on windows
9 years ago
Julien Duponchelle ebb865d973 Export vpcs config path
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
Julien Duponchelle 62afef06af After an iou reload you can write on the console
9 years ago
Julien Duponchelle 5e59145948 If you type reload inside iou you are no longer disconnected
9 years ago
Julien Duponchelle 29e8d91745 Do not output debug for ioucon standard telnet commands
9 years ago
Julien Duponchelle 5a58f6efc8 Fix a crash with Python 3.4 when you stop IOU
9 years ago
Julien Duponchelle c07b8c746e Drop poll from Qemu
9 years ago
Jeremy 0eaad579c2 IOU + VirtualBox conversion of old projects.
9 years ago
Jeremy 85518a3cd6 Fixes race condition when generating an ghost IOS file.
9 years ago
Jeremy 9dc713f31d Fixes race condition when deleting empty legacy project files dir.
9 years ago
Jeremy 473eb0280e Support for relative path in Dynamips.
9 years ago
Jeremy de1be0961f Do not return an error when creating the same project multiple times (for now).
9 years ago
Jeremy 54fc873be5 Prevent multiple projects with the same ID to be created.
9 years ago
Jeremy 349d9d4540 Fixes small issues when deleting Dynamips devices.
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 47f8ac00c0 Remove debug
9 years ago
Julien Duponchelle 4ea25739e5 Correctly check if qemu is running
9 years ago
Julien Duponchelle 0713724a97 Properly handle when client cancel's query
9 years ago
Julien Duponchelle 7c2329d870 Garbage collect the lock
9 years ago
grossmj 3528efb1e0 Fixes packet capture for devices when spaces are present in the output file.
9 years ago
grossmj 550cc7f508 Rename vms_lock to vm_locks.
9 years ago
Jeremy 6bb7ab20b3 Fixes vm concurrency and support for devices.
9 years ago
Julien Duponchelle 46b348e46a VM concurrency
9 years ago
Julien Duponchelle 9153b42b9d Fix crash in crash report
9 years ago
Julien Duponchelle 250bb38d7c Crash report with Sentry
9 years ago
Julien Duponchelle 67be24a412 Fix doc generation
9 years ago
Julien Duponchelle 1ca445d5f5 Fix dynampis resume API
9 years ago
Jeremy Grossmann e910167a85 Quick change warning -> debug
9 years ago
Jeremy 49f3c9295f Some debug messages to help with port allocation debugging.
9 years ago
Jeremy 42c07cee1a Properly release UDP ports when closing a project or deleting a link.
9 years ago
Jeremy 3d3300e83a Rename console methods in port manager to use the generic tcp term in the name.
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 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.
9 years ago
Jeremy b393948b67 Fixes iouyap shutdown.
9 years ago
Jeremy 8d02f464c5 Dynamips import/export configs.
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 25bcbfb073 Allocation of console port in base vm
9 years ago
Jeremy 4a3e6632c1 Merge remote-tracking branch 'origin/asyncio' into asyncio
9 years ago
Jeremy 380c4d8211 Fixes capture directory path.
9 years ago
grossmj 3d1363150e Fixes ghost file path.
9 years ago
grossmj 610dee957d Use HTTP error 409 instead of 500 for VMError.
9 years ago
Julien Duponchelle d65617657c Fix old project directories renames
9 years ago
Julien Duponchelle 3cb7213427 Fix crash in VPCS
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 5170428913 Fix a capture crash
9 years ago
grossmj dc4df68c7a Keep Dynamips logs.
9 years ago
Jeremy e6fd471dd5 Save Dynamips VM configs when closing a project.
9 years ago
Jeremy 516b882122 Merge remote-tracking branch 'origin/asyncio' into asyncio
9 years ago
Jeremy 3e95bb9748 Adapter settings and configs for Dynamips VMs.
9 years ago