Commit Graph

1181 Commits (802d0628bdc46deca2ccaac873a1de2abb4423c2)

Author SHA1 Message Date
grossmj c7ea8517a1 Do not stop saving IOS router or IOU configs when there is an exception while a project is committed.
9 years ago
grossmj 5a32d8a779 Merge remote-tracking branch 'origin/master'
9 years ago
grossmj 9f1705a4f1 Do not stop saving IOS router configs when there is an exception while a project is committed.
9 years ago
grossmj 815b7d226c Sync with IOU tools (nvram import/export).
9 years ago
grossmj 65e7f61f96 Fixes issues when setting MAC address for a Qemu VM or IOS router.
9 years ago
grossmj 042472f02c Check interface is up before connecting a NIO (Linux only). Fixes #277.
9 years ago
grossmj 81d417a2b3 Fixes too many arguments to socket.getaddrinfo()
9 years ago
grossmj 81e56e035b IPv6 support.
9 years ago
grossmj ca331ae2a5 Import/Export support for IOU nvrams.
9 years ago
grossmj e63b9ff0e6 Option to drop nvram & disk files for IOS routers in order to save disk space.
9 years ago
Julien Duponchelle 02650fa490 Create a private config file if expected
9 years ago
Julien Duponchelle d9de1718b7 Fix crash if a private config exist in IOS but no private config file
9 years ago
grossmj b118f9a078 Replace RuntimeError by SystemExit.
9 years ago
grossmj 37ddff9f07 Support for base MAC address for Qemu VMs.
9 years ago
grossmj 9f15fdbc2b Fixes #181 (drop Python 3.3).
9 years ago
Julien Duponchelle d8fb33dba2 Fix merge conflict
9 years ago
Julien Duponchelle a1204dca0a Merge branch 'master' into unstable
9 years ago
Julien Duponchelle 78891ae00e Basic Auth support
9 years ago
Julien Duponchelle b344def887 Fix crash when virtualbox list of VMS return an empty line
9 years ago
grossmj 743f1392b5 ACPI shutdown support for Qemu VMs.
9 years ago
grossmj 933bc5a7b0 ACPI shutdown support for VirtualBox VMs.
9 years ago
Julien Duponchelle a1bc815f63 Update crash report key
9 years ago
Julien Duponchelle 668cc3f0a5 1.3.5dev1
9 years ago
Julien Duponchelle 42a8c7147a 1.3.4 release
9 years ago
grossmj a0fe9bb498 Control vm command has to be used instead of modify vm. Fixes #205.
9 years ago
Julien Duponchelle 57f9d875ca Fix AttributeError: 'NIONAT' object has no attribute 'lport' for
9 years ago
Julien Duponchelle a2e51ac090 Avoid duplicate paths in qemu binary list
9 years ago
grossmj edff447483 Catch exception in snapshot dialog.
9 years ago
Jeremy ad27fdf8b9 Bump version to 1.3.4.dev2
9 years ago
Jeremy 9df290f192 Check if port or adapter is connected before starting/stopping a packet capture. Fixes #196.
9 years ago
Julien Duponchelle 05aafb9538 Revert "Start virtualbox VM one by one" because it doesn't fix the issue
9 years ago
Julien Duponchelle da72a9501a Start virtualbox VM one by one
9 years ago
grossmj a60389427b Support for VMware linked clones.
9 years ago
Julien Duponchelle ada94d486a Get server resource independant of working directory
9 years ago
Julien Duponchelle 85c185604e Merge branch 'master' into unstable
9 years ago
Julien Duponchelle a2dfeab315 Load faulthandler module only for dev build
9 years ago
Julien Duponchelle 16cad8426a Enable faulthandler only for dev build
9 years ago
Julien Duponchelle 9442042d7a Merge branch 'master' into unstable
9 years ago
Julien Duponchelle 57a069b027 Support cacert.pem in the new frozen package
9 years ago
grossmj 98e01ff21d Serial console implementation for VMware VMs.
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
grossmj 91c0f05a4e Fixes bug: couldn't set PCMCIA disk1 size for IOS routers.
9 years ago
Julien Duponchelle 74ee73581a Fix crash if you pass an invalid hostname
9 years ago
Julien Duponchelle a86bac4214 Catch VPCS kill errors
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 c98bcedd39 Cleanup the temporary project after modules have been notified of the
9 years ago
Julien Duponchelle 528bb7a7c6 Do not return error if we can't remove the old project directory
9 years ago
Julien Duponchelle 50d7a4f335 Catch encoding errors in windows logger
9 years ago
Julien Duponchelle f1ab682be9 Do not crash if module ioucon is loaded by tests on Windows
9 years ago
Julien Duponchelle 289b68e5c1 Use setter for the qemu_path (allow to pass only the binary name)
9 years ago
grossmj a7dd0d3c51 Fixes TAP connection when using VPCS.
9 years ago
Julien Duponchelle 29ec07d166 Fix crash launching qemu on OSX from another location.
9 years ago
Julien Duponchelle b62efa3bae I'm stupid... Remove fake segfault
9 years ago
Julien Duponchelle c5171b887f Add the fault handler in order to try to get a proper crash stack
9 years ago
grossmj f169455ad4 Adds NAT NIO in device schema validation so they can return an error that it is not supported.
9 years ago
Julien Duponchelle 6f9f004ebb API for list & download files of a project
9 years ago
Julien Duponchelle 8636d3e337 Use setter for the qemu_path (allow to pass only the binary name)
9 years ago
grossmj c43b26d787 Merge remote-tracking branch 'origin/master'
9 years ago
grossmj 08f82e02a0 Fixes TAP connection when using VPCS.
9 years ago
grossmj 3c4a60cd0a Check for VMware lock file.
9 years ago
grossmj 3729a10783 VMware vmnets management almost complete.
9 years ago
Jeremy 0287b4607d Base for supporting VMnet adapters.
9 years ago
Julien Duponchelle 9fa873751d Fix crash launching qemu on OSX from another location.
9 years ago
Julien Duponchelle 8c9758d16b I'm stupid... Remove fake segfault
9 years ago
Julien Duponchelle 0c5b753211 Add the fault handler in order to try to get a proper crash stack
9 years ago
Jeremy cb7b9e8190 Adapters for VMware VMs.
9 years ago
grossmj 221a35baae Adds NAT NIO in device schema validation so they can return an error that it is not supported.
9 years ago
grossmj 0ac27c40da Merge remote-tracking branch 'origin/unstable' into unstable
9 years ago
grossmj a386c5382c Starting VMware VM networking support.
9 years ago
Julien Duponchelle 743187bb2e Merge branch 'master' into unstable
9 years ago
Julien Duponchelle 5bb870dc0f New crash report key
9 years ago
Julien Duponchelle 76be91d544 1.3.4dev1
9 years ago
Julien Duponchelle 078b72cafd Version 1.3.3
9 years ago
Jeremy b2457e0b3b Check for empty iourc path.
9 years ago
Jeremy 2531a05adc Merge remote-tracking branch 'origin/master'
9 years ago
Jeremy dd9f62158f Fixes bugs with IOS router configs. Fixes #354.
9 years ago
Julien Duponchelle a3c0f0754e Fix crash
9 years ago
Jeremy 25a6616cd0 Some wording changes.
9 years ago
Julien Duponchelle 157bc18ebd Use a temporary directory as egg cache
9 years ago
Julien Duponchelle 1e38b11f34 Catch crash error in IOU in case of permission denied
9 years ago
grossmj 8e168dfbe0 Completes VMware VMs searching process.
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
grossmj 13eb461dfe Update default VMware VM location path for OSX.
9 years ago
Julien Duponchelle 00fa1cc370 Merge branch 'master' into unstable
9 years ago
Jeremy c197b39a68 Find VMware VMs using the inventory and alternatively using the default vm location (for VMware player).
9 years ago
Jeremy bebdadc465 Bump version to 1.3.3.dev3
9 years ago
Julien Duponchelle b0ce091a4c 1.3.3rc1
9 years ago
Jeremy d21469a916 Return an error if an adapter slot doesn't exist on an IOS router.
9 years ago
Jeremy b57a023394 NIO NAT support for VirtualBox VMs.
9 years ago
grossmj a929dfea38 Merge remote-tracking branch 'origin/master'
9 years ago
grossmj fcff2d0813 NIO NAT support for QEMU VMs (user mode back-end is used).
9 years ago
Julien Duponchelle ed39afbf3d Throw an error if user put an invalid port range in config file
9 years ago
Julien Duponchelle 3ba4789ba6 New crash report key
9 years ago
grossmj 17b93e6a89 Bump version to 1.3.3dev2
9 years ago
Julien Duponchelle 4b21135ba7 Turn off configuration parser interpolation
9 years ago
Julien Duponchelle a3f00e1f45 Catch configuration file parsing errors
9 years ago
Julien Duponchelle b7dac1bec4 Force closing the event loop to avoid warning with Python 3.4.3
9 years ago
Julien Duponchelle 18c4154376 Catch error when you can't mark a project as no longer temporary
9 years ago
Julien Duponchelle 22efc7488f Catch BrokenPipeError for OSX frozen server
9 years ago
grossmj 9eeb8910fb Match how IOU initial-config is set for VPCS VM.
9 years ago
Jeremy 71e2586e17 Refactors how startup-config and private-config are handled for IOS routers.
9 years ago
Jeremy c4054cf810 Catch the "WinError 0 The operation completed successfully" exception at a higher level.
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
grossmj 3467b42ab5 Ordered MAC addresses for QEMU based VMs.
9 years ago
grossmj 65103e9332 Merge remote-tracking branch 'origin/master'
9 years ago
grossmj f6bc823b58 Fixes #171.
9 years ago
grossmj a260377f0e List all available VMware VMs.
9 years ago
Julien Duponchelle 151788e48a Force utf-8 configuraton files reading
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
grossmj d18293ae7c Fixes list images in VirtualBox.
9 years ago
Jeremy 929c337e8b Merge branch 'unstable'
9 years ago
Julien Duponchelle f8f6f5dc5d Merge branch 'master' into unstable
9 years ago
Julien Duponchelle b9bc73fd01 Do not crash when closing a project if VirtualBox is not accessible
9 years ago
Julien Duponchelle e75fbc9d73 Catch connection reset errors
9 years ago
grossmj 0311a0086e Fixes typo.
9 years ago
Julien Duponchelle 461e3ce53f 1.3.3dev1
9 years ago
Julien Duponchelle 1b4613fbaf Version 1.3.2
9 years ago
grossmj cc03017739 Cleanup the VirtualBox Media Manager after closing a project. Fixes #145.
9 years ago
Julien Duponchelle 5f6d1bfdd6 Merge branch 'master' into unstable
9 years ago
grossmj a884af983f Avoid Cygwin warning with VPCS on Windows.
9 years ago
Jeremy Grossmann 4f021054e0 Merge pull request #158 from GNS3/keep_iou_config
9 years ago
Jeremy 8503472c77 Close VirtualBox VM linked clone disks after the VM is unregistered. Fixes #145.
9 years ago
Julien Duponchelle 77f54848e3 Fix some tests on Windows
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
Julien Duponchelle 4df95efdec Skip IOU test on Windows
9 years ago
grossmj 271cb527d4 Explicit utf-8 decoding.
9 years ago
grossmj 6edf1e3649 Check NIO exists when stopping an IOU capture.
9 years ago
grossmj 017997e0a3 Fixes c7200 NPE setting.
9 years ago
grossmj 3e6996903f Fixes VPCS process termination.
9 years ago
grossmj da2b895c99 Catch FileNotFoundError exception in os.getcwd()
9 years ago
grossmj 683a512917 Fixes #150.
9 years ago
grossmj 80a0e0ebf7 Explicit utf-8 encoding where necessary to avoid Unicode errors on Windows (we require/set an utf-8 locale on other systems).
9 years ago
grossmj d68bf1c263 Removes unnecessary sleep in VirtualBox VM.
9 years ago
Jeremy fa544ef888 Fixes #270. Relative paths management with empty ones.
9 years ago
Jeremy 8f6e5b4ad8 Merge branch 'unstable' into daemon
9 years ago
Julien Duponchelle 24bfd8ab53 New crash report key and doesn't send report for developers
9 years ago
Jeremy 40ce22222e Merge branch 'unstable' into api_list_images
9 years ago
Jeremy Grossmann 7e991cc404 Merge pull request #154 from GNS3/wireshark_remote_capture
9 years ago
Julien Duponchelle 83f2509cfe Cleanup exceptions
9 years ago
Julien Duponchelle 6b862b8397 Correctly show the host in templates
9 years ago
Julien Duponchelle fac0f5ecd9 Proper daemon support
9 years ago
grossmj 3680c40e23 Catch COM errors when connecting to WMI.
9 years ago
grossmj 30f6263146 Don't assume the PATH environment variable exists.
9 years ago
grossmj 161adb781b Use UUIDs instead of the VM names for VirtualBox pipe paths.
9 years ago
Julien Duponchelle 2e39265da1 Merge branch 'master' into unstable
9 years ago
Julien Duponchelle 9c549b175f Add --log options for daemon support
9 years ago
Julien Duponchelle bf618d321c Max 100 thread executor
9 years ago
Julien Duponchelle 8b879c0614 Support wireshark remote capture
9 years ago
Julien Duponchelle cf0adf56a8 Merge branch 'master' into unstable
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
grossmj 343e007809 Ignore the "OSError: [WinError 0] The operation completed successfully" exception in Windows.
9 years ago
grossmj c6dbf296cf Merge remote-tracking branch 'origin/master'
9 years ago
Julien Duponchelle dfdc18b20c Merge branch 'master' into unstable
9 years ago
Julien Duponchelle bca90bc563 API in order to get the list of IOU, Dynamips, Qemu images
9 years ago
Julien Duponchelle b5e01f7560 Fix IOU licence check flag
9 years ago
grossmj 4136c29b0f Config paths are not used when updating Dynamips or IOU VM settings.
9 years ago
grossmj aeab9780d8 Fixes initial-configs that were not restored when opening a project containing IOU VMs.
9 years ago
Julien Duponchelle 789e24795e Merge branch 'master' into unstable
9 years ago
Julien Duponchelle 26a7f83db2 Remove the workaround for dynamips OSX
9 years ago
Julien Duponchelle def453c116 Restore "iourc_path" until I speak with jeremy about it
9 years ago
Julien Duponchelle 997f7cbd6f Fix noise in logs
9 years ago
grossmj aab4a7243b Merge remote-tracking branch 'origin/master'
9 years ago
Julien Duponchelle aa2472fb30 Rewrote image search
9 years ago
Julien Duponchelle e51a129216 Prevent parallel execution of VBox commands
9 years ago
Julien Duponchelle 55fed02299 Fix a crash when in some cases you can't access to VBOX state
9 years ago
Julien Duponchelle 45ca995dea Fix crash if VirtualBox doesn't return API version
9 years ago
Julien Duponchelle af942dc419 Fix a crash in VirtualBox vm creation
9 years ago
Julien Duponchelle 1d5dc2ecf0 1.4.0 dev1
9 years ago
grossmj 443842e9b8 Allocate random names for Dynamips NIOs.
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 c99998d73c Fix version
9 years ago
Julien Duponchelle c4963abcba 1.3.2 dev1
9 years ago
Julien Duponchelle 1ba9a2fcfa Prepare 1.3.1
9 years ago
Julien Duponchelle eac751948e Prepare RC4
9 years ago
Julien Duponchelle b2e53a94d4 Initial config file content can be empty
9 years ago
Julien Duponchelle 2d507fd17a Fix crash if IOU initial config is emtpy
9 years ago
Julien Duponchelle 202032f334 Fix error messages in JSON schema
9 years ago
Julien Duponchelle 1d997d9da5 Return more informations about bad requests for crash reports
9 years ago
Julien Duponchelle 9b79cce488 Dev4 version
9 years ago
grossmj 7e8b0a48ab Merge remote-tracking branch 'origin/master'
9 years ago
grossmj 7d7972afb3 Some spring cleaning.
9 years ago
Julien Duponchelle f799fc1ab7 Prepare 1.3.1rc3
9 years ago
Julien Duponchelle 3b4a060ae9 Fix missing IOU documentation
9 years ago
Julien Duponchelle 1c4a059982 Look in old IOU images location in order to smooth transition
9 years ago
Julien Duponchelle 4189089e1b Prepare 1.3.1rc2
9 years ago
Julien Duponchelle 7efb7c2978 Do not overwrite initial-config IOU if client send an empty
9 years ago
Julien Duponchelle e3239b7e36 Prepare 1.3.1rc1
9 years ago
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