Commit Graph

1316 Commits (a9eae691f6892ef2b552263d551aa564d88f9a0c)

Author SHA1 Message Date
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
Jeremy f761fb77f8 Fixes UnicodeDecodeError when reading a VMware file.
9 years ago
Jeremy a721d7d910 Fixes KeyError: "ethernet0.connectiontype". Fixes #276.
9 years ago
Jeremy 1419b7c8dc Fixes replace errors. Fixes #284.
9 years ago
Julien Duponchelle c2ba3f923e 1.3.9dev1
9 years ago
Jeremy bdb23d6d3b 1.3.8
9 years ago
Jeremy 2ed0ef770e Catch ProcessLookupError when updating iouyap config. Fixes #255.
9 years ago
Jeremy 5986849b67 Catch ProcessLookupError when updating iouyap config. Fixes #255.
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
Jeremy fcd4fda68e Prevent starting different hypervisors that leverage hardware virtualization (VT-x/AMD-V). Fixes #548.
9 years ago
Jeremy eb5e019a26 Fixes IOS adapters and WICS cannot be removed. Fixes #282.
9 years ago
Jeremy 76fe0cb316 Fixes IOS adapters and WICS cannot be removed. Fixes #282.
9 years ago
Jeremy 4aeb451ffd Makes sure the loop is running when closing the app.
9 years ago
Jeremy 5f5d9347b9 Makes sure the loop is running when closing the app.
9 years ago
Jeremy 31b168aa42 Catch Permission denied when writing to VMX file while closing VMware VM. Fixes #277.
9 years ago
Jeremy 382747a2f2 Catch GeneratorExit exception. Fixes #231.
9 years ago
Jeremy 64bf935222 Fixes missing chipset info for VirtualBox VM (maybe some older VirtualBox version don't have it). Fixes #254.
9 years ago
Jeremy 7b001e4d36 Catch GeneratorExit exception. Fixes #231.
9 years ago
Jeremy b1b602db3b Merge remote-tracking branch 'origin/master'
9 years ago
Jeremy cf5af8a6f7 Fixes missing chipset info for VirtualBox VM (maybe some older VirtualBox version don't have it). Fixes #254.
9 years ago
Jeremy 8a257b3b2e Changes how to look for the vmrun.exe location.
9 years ago
Julien Duponchelle d9f1a7c7d3 API for listing current projects
9 years ago
Julien Duponchelle 4814bc6c65 Fix IOURC upload
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
Jeremy 9b3b5f1884 Bump version to 1.4.0dev3
9 years ago
Jeremy 2655d426c2 Backport: option to drop nvram & disk files for IOS routers in order to save disk space.
9 years ago
Jeremy 1b499571b1 Deactivate uBridge process monitoring (process returns 1 on Windows when stopping).
9 years ago
Jeremy 8e236a7045 Prevent using different hypervisors that leverage hardware virtualization.
9 years ago
Jeremy f1bbacecd6 Backport: Remove timeout to wait for connections to finish.
9 years ago
Jeremy accaa2159b Remove timeout to wait for connections to finish.
9 years ago
Jeremy fc0409286b Check for uBridge version and catch uBridge errors.
9 years ago
Jeremy f0649b4ac3 Remove default FLASH when no hda disk for Qemu VMs. Fixes #535.
9 years ago
Jeremy 8cc46f66c6 Fixes indentation mistakes.
9 years ago
Jeremy a8142a04f8 Merge remote-tracking branch 'origin/master'
9 years ago
Jeremy 19425b1e9c Backport: Fixes RuntimeError: Event loop is closed.
9 years ago
Jeremy abd9c1dc48 Use the registry to find vmrun if the default VMware install path does not exist.
9 years ago
Jeremy Grossmann 1b066bef92 Merge pull request #272 from GNS3/backup_upload_images_projects
9 years ago
Julien Duponchelle 6bf7a6aa38 Fix after jeremy feedback
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
Jeremy 439e0df058 Bind host on 0.0.0.0 when checking for a free UDP port.
9 years ago
Jeremy d5c0584d25 Bind host on 0.0.0.0 when checking for a free UDP port. Fixes #265.
9 years ago
Jeremy 6ee94331d4 Fixes RuntimeError: Event loop is closed. Fixes #266.
9 years ago
grossmj dfd6af3c22 Merge remote-tracking branch 'origin/unstable' into unstable
9 years ago
grossmj 1f890b4cad Implements uBridge hypervisor.
9 years ago
Julien Duponchelle 639f6bc68c New crash report key
9 years ago
Julien Duponchelle 5125ddcde4 Fix gns3server.utils.images in md5sum NameError: name 'log' is not
9 years ago
Julien Duponchelle ddddac426b Fix invalid umask
9 years ago
Julien Duponchelle 6d678898ef Client disconnect should not be logged as an error
9 years ago
Jeremy ccd29ab500 Take VMware file encoding into account. Fixes #261.
9 years ago
Jeremy e785baaa29 Take VMware file encoding into account. Fixes #261.
9 years ago
Julien Duponchelle 9e2a22fc8e 1.4.0dev2
9 years ago
Julien Duponchelle 9cfc7c0423 Typo in version number
9 years ago
Julien Duponchelle 65410e23e2 1.4.0 alpha1
9 years ago
grossmj 1e04e1e123 Fixes bug with vmrun VIX path.
9 years ago
Julien Duponchelle a461cb71c6 Allow to send the iourc when starting the VM
9 years ago
grossmj 2fc63601bf Merge remote-tracking branch 'origin/unstable' into unstable
9 years ago
grossmj 27532cd037 Add debug to help resolve https://community.gns3.com/thread/9193
9 years ago
Jeremy 32e0d49e1e VMware VMs always have a working directory (to store the ubrige.ini and ubrige.log files).
9 years ago
Jeremy 870029123c Netifaces is not used on Windows. Fixes #257.
9 years ago
Jeremy 37f4ff2f63 Do not monitor the ubridge process because it creates an issue on Windows.
9 years ago
grossmj 8455d8a155 Merge remote-tracking branch 'origin/unstable' into unstable
9 years ago
grossmj 205f624730 Fixes GUI crash on unset vmrun_path variable. Fixes #507.
9 years ago
Jeremy 78d847e9ac ubridge source Ethernet interface must be quoted on Windows.
9 years ago
Julien Duponchelle dfe95cce63 Fix qemu binary lookup in frozen OSX application
9 years ago
Jeremy 83929119be Return stdout when a process crash for IOU, Dynamips, uBridge and VPCS.
9 years ago
Jeremy 9235c3a913 Adds -no-kvm to the ASA template and ignore -no-kvm on platforms other than Linux. Should resolve #472.
9 years ago
Jeremy 442aa31065 Make sure VNC ports are between 5900 and 6000. Fixes #490.
9 years ago
Jeremy 8e652778f9 Remove running VBoxManage as another user option (root for instance). See #248.
9 years ago
Julien Duponchelle 65953847f6 Fix an error in frozen ressources loading
9 years ago
Julien Duponchelle f3f152cd2a Use the ressource system in order to locate the templates directory
9 years ago
Julien Duponchelle c6bbc34a56 Allow user to change the configuration file
9 years ago
Julien Duponchelle 06e193231c Fix double loading of config from working directory
9 years ago
Jeremy 731d24f497 Get Windows interfaces for VMware support.
9 years ago
Julien Duponchelle 3ed95148b2 CORS support
9 years ago
Julien Duponchelle caf7af7ad5 Support server config in current working directory
9 years ago
Julien Duponchelle 472faa97c5 Due to the migration to cx_freeze darwin and windows share
9 years ago
grossmj 4171aebfdb List only valid existing IOS images (for IOS router wizard).
9 years ago
Jeremy be85d95ff7 Checks if IOS image exist at startup and not during node creation. Fixes #240.
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 90b0dfebbd Merge branch 'master' into unstable
9 years ago
Julien Duponchelle e8805d3fdc When a qemu VM crash send the log to the client.
9 years ago
Julien Duponchelle 2ccb30eeb5 Fix Incorrect vboxmanage sudo command
9 years ago
Julien Duponchelle ccd3224490 Add a vm_directory field to Dynamips / VPCS / IOU
9 years ago
Julien Duponchelle 2b36746d52 Return the working directory of a Qemu VM
9 years ago
grossmj d9745644cd Check for /dev/kvm. Fixes #245.
9 years ago
grossmj ed95bcee97 Moves KVM setting to Qemu server preferences. Fixes #244.
9 years ago
grossmj f20ee06181 VNC console support for Qemu VMs.
9 years ago
Julien Duponchelle 26df776f4c Move configuration to the GNS3 directory
9 years ago
Julien Duponchelle 08b5aec656 Fix Crash report sending errors when no reliable Internet connection
9 years ago
grossmj 7f6a064ac1 Fixes versions.
9 years ago
Julien Duponchelle 3a3b2c22e3 Fix version number
9 years ago
Julien Duponchelle 82e2a16b27 Merge branch 'master' into unstable
9 years ago
Julien Duponchelle 389788cfdc 1.3.8 dev
9 years ago
Julien Duponchelle 26fc8236c9 1.3.7
9 years ago
Julien Duponchelle 8bd2453bf8 Allow null md5 in request schema
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 5c4a49a8c7 Do not raise a 404 if we send the checksum of the images
9 years ago
Jeremy f398d15025 Completes #239 (Makes VMX keys reading case insensitive).
9 years ago
Jeremy Grossmann 797b45b1f9 Merge pull request #239 from GNS3/vmx_case_insensitive
9 years ago
Jeremy 11e96e6521 ACPI shutdown support for VMware VMs. Fixes #436.
9 years ago
Julien Duponchelle a577fe9fdb Make VMX reading case insensitive
9 years ago
Jeremy 6d1f060791 Reloads ubridge when connecting or disconnecting VMware VM links.
9 years ago
Jeremy d779392d7f Find vmrun on Windows.
9 years ago
Julien Duponchelle f041697311 Compute a md5sum of images for futur purpose
9 years ago
Julien Duponchelle b1f740c952 Merge branch 'master' into unstable
9 years ago
Julien Duponchelle afa4ba9b55 Crash report key for 1.3.7
9 years ago
grossmj 7980ae9ab1 Update version_info.
9 years ago
grossmj 3495035dbf Bump version to 1.3.7.dev1
9 years ago
Julien Duponchelle a2d4c2427d 1.3.6
9 years ago
Julien Duponchelle 0dae4b6930 1.3.6dev1
9 years ago
Julien Duponchelle d88c5648de 1.3.5
9 years ago
Julien Duponchelle 94fbd3fac9 Ignore invalid characters when reading the output of a process
9 years ago
Julien Duponchelle e2ef78a7c4 Ignore invalid characters when reading the output of a process
9 years ago
grossmj 8bcf749cd5 Adds an IP address for each interface returned by the interfaces API method.
9 years ago
Julien Duponchelle f39f7be503 Add log when we didn't close a project due to another client
9 years ago
Julien Duponchelle 4e16433a08 Limit file size during upload
9 years ago
Julien Duponchelle 04aac2f3dc Convert old -enable-kvm to kvm settings for Qemu
9 years ago
Julien Duponchelle 6e88ba4c25 Cleanup SSL certificate support
9 years ago
Julien Duponchelle 04e62e429c Merge branch 'master' into unstable
9 years ago
Julien Duponchelle a2833cf276 Turn on / off authentication
9 years ago
Julien Duponchelle 75267f9d53 Merge branch 'master' into unstable
9 years ago
Julien Duponchelle 2da0b36ee7 Support a platform parameter for Qemu
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 bd4b6396a8 Ensure in test we didn't load the local configuration
9 years ago
Julien Duponchelle 36d5049c61 More debug for the interfaces up crash debug
9 years ago
Julien Duponchelle 079715bc18 Ensure no colored output on Windows
9 years ago
grossmj d518ac45f5 Enable KVM acceleration option.
9 years ago
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