Commit Graph

1080 Commits

Author SHA1 Message Date
Julien Duponchelle
e8805d3fdc When a qemu VM crash send the log to the client.
Fix #243
2015-06-26 14:41:58 +02:00
Julien Duponchelle
2ccb30eeb5 Fix Incorrect vboxmanage sudo command
Fix #247
2015-06-26 10:47:52 +02:00
Julien Duponchelle
ccd3224490 Add a vm_directory field to Dynamips / VPCS / IOU
Fix #246
2015-06-25 11:17:32 +02:00
Julien Duponchelle
2b36746d52 Return the working directory of a Qemu VM 2015-06-25 09:53:16 +02:00
grossmj
d9745644cd Check for /dev/kvm. Fixes #245. 2015-06-24 23:03:04 -06:00
grossmj
ed95bcee97 Moves KVM setting to Qemu server preferences. Fixes #244. 2015-06-24 22:47:30 -06:00
grossmj
f20ee06181 VNC console support for Qemu VMs. 2015-06-24 19:09:17 -06:00
Julien Duponchelle
26df776f4c Move configuration to the GNS3 directory 2015-06-24 11:57:42 +02:00
Julien Duponchelle
08b5aec656 Fix Crash report sending errors when no reliable Internet connection 2015-06-23 19:28:08 +02:00
grossmj
7f6a064ac1 Fixes versions. 2015-06-23 07:34:25 -06:00
Julien Duponchelle
3a3b2c22e3 Fix version number 2015-06-23 10:24:19 +02:00
Julien Duponchelle
82e2a16b27 Merge branch 'master' into unstable 2015-06-23 09:47:01 +02:00
Julien Duponchelle
389788cfdc 1.3.8 dev 2015-06-22 20:19:38 +02:00
Julien Duponchelle
26fc8236c9 1.3.7 2015-06-22 19:06:25 +02:00
Julien Duponchelle
8bd2453bf8 Allow null md5 in request schema 2015-06-19 16:38:22 +02:00
Julien Duponchelle
a8e69d9a0b Do not use the md5 from cache for a missing image 2015-06-19 16:36:25 +02:00
Julien Duponchelle
4aadfa3b67 Test all IOU requirements at VM startup
This allow user to create the node and upload the image after
2015-06-19 16:35:19 +02:00
Julien Duponchelle
5c4a49a8c7 Do not raise a 404 if we send the checksum of the images 2015-06-19 16:18:43 +02:00
Jeremy
f398d15025 Completes #239 (Makes VMX keys reading case insensitive). 2015-06-18 17:53:08 -06:00
Jeremy Grossmann
797b45b1f9 Merge pull request #239 from GNS3/vmx_case_insensitive
Makes VMX keys reading case insensitive.
2015-06-18 14:08:40 -07:00
Jeremy
11e96e6521 ACPI shutdown support for VMware VMs. Fixes #436. 2015-06-18 15:02:31 -06:00
Julien Duponchelle
a577fe9fdb Make VMX reading case insensitive
Fix #237
2015-06-18 16:28:13 +02:00
Jeremy
6d1f060791 Reloads ubridge when connecting or disconnecting VMware VM links. 2015-06-17 17:36:52 -06:00
Jeremy
d779392d7f Find vmrun on Windows. 2015-06-17 17:05:58 -06:00
Julien Duponchelle
f041697311 Compute a md5sum of images for futur purpose
Fix #234
2015-06-17 17:11:25 +02:00
Julien Duponchelle
b1f740c952 Merge branch 'master' into unstable 2015-06-17 14:09:32 +02:00
Julien Duponchelle
afa4ba9b55 Crash report key for 1.3.7 2015-06-17 09:30:56 +02:00
grossmj
7980ae9ab1 Update version_info. 2015-06-16 15:00:25 -06:00
grossmj
3495035dbf Bump version to 1.3.7.dev1 2015-06-16 14:39:20 -06:00
Julien Duponchelle
a2d4c2427d 1.3.6 2015-06-16 21:56:44 +02:00
Julien Duponchelle
0dae4b6930 1.3.6dev1 2015-06-16 19:32:53 +02:00
Julien Duponchelle
d88c5648de 1.3.5 2015-06-16 18:56:50 +02:00
Julien Duponchelle
94fbd3fac9 Ignore invalid characters when reading the output of a process
It should happend only when user try to use another binary and
the code of VPCS, dynamips... Will detect it's not the
correct binary.

For example we detect this error after an user used SupperPutty
instead of VPCS.

Fix #235
2015-06-16 15:48:59 +02:00
Julien Duponchelle
e2ef78a7c4 Ignore invalid characters when reading the output of a process
It should happend only when user try to use another binary and
the code of VPCS, dynamips... Will detect it's not the
correct binary.

For example we detect this error after an user used SupperPutty
instead of VPCS.

Fix #235
2015-06-16 15:48:09 +02:00
grossmj
8bcf749cd5 Adds an IP address for each interface returned by the interfaces API method. 2015-06-12 17:54:02 -06:00
Julien Duponchelle
f39f7be503 Add log when we didn't close a project due to another client 2015-06-12 15:14:30 +02:00
Julien Duponchelle
4e16433a08 Limit file size during upload
Fix #86
2015-06-12 10:10:46 +02:00
Julien Duponchelle
04aac2f3dc Convert old -enable-kvm to kvm settings for Qemu
Fix #233
2015-06-12 09:40:38 +02:00
Julien Duponchelle
6e88ba4c25 Cleanup SSL certificate support
Fix #208
2015-06-11 17:07:13 +02:00
Julien Duponchelle
04e62e429c Merge branch 'master' into unstable 2015-06-11 16:55:09 +02:00
Julien Duponchelle
a2833cf276 Turn on / off authentication 2015-06-10 23:14:18 +02:00
Julien Duponchelle
75267f9d53 Merge branch 'master' into unstable 2015-06-10 16:30:30 +02:00
Julien Duponchelle
2da0b36ee7 Support a platform parameter for Qemu
I'm sure we will discover a distribution with a different
naming conventions...

Fix #220
2015-06-10 15:49:24 +02:00
Julien Duponchelle
b36c5f25d2 Improve memory consumption of file upload with the HTML form
Fix #86
2015-06-10 14:20:06 +02:00
Julien Duponchelle
7c7f8fe3ed Fix ethernet interfaces tests if eth0 doesn't exists
Also on Windows and MacOS it return error if we try
to use a non existing interfaces.

Fix #230
2015-06-09 16:35:21 +02:00
Julien Duponchelle
bd4b6396a8 Ensure in test we didn't load the local configuration 2015-06-09 16:32:36 +02:00
Julien Duponchelle
36d5049c61 More debug for the interfaces up crash debug 2015-06-09 10:10:06 +02:00
Julien Duponchelle
079715bc18 Ensure no colored output on Windows
Fix #228
2015-06-09 10:05:00 +02:00
grossmj
d518ac45f5 Enable KVM acceleration option. 2015-06-08 14:51:06 -06:00
grossmj
c7ea8517a1 Do not stop saving IOS router or IOU configs when there is an exception while a project is committed. 2015-06-08 11:32:00 -06:00
grossmj
5a32d8a779 Merge remote-tracking branch 'origin/master' 2015-06-08 11:28:58 -06:00
grossmj
9f1705a4f1 Do not stop saving IOS router configs when there is an exception while a project is committed. 2015-06-08 11:28:48 -06:00
grossmj
815b7d226c Sync with IOU tools (nvram import/export). 2015-06-08 10:07:54 -06:00
grossmj
65e7f61f96 Fixes issues when setting MAC address for a Qemu VM or IOS router. 2015-06-07 22:18:41 -06:00
grossmj
042472f02c Check interface is up before connecting a NIO (Linux only). Fixes #277. 2015-06-07 13:51:33 -06:00
grossmj
81d417a2b3 Fixes too many arguments to socket.getaddrinfo() 2015-06-07 09:25:54 -06:00
grossmj
81e56e035b IPv6 support. 2015-06-06 21:37:34 -06:00
grossmj
ca331ae2a5 Import/Export support for IOU nvrams. 2015-06-06 15:15:03 -06:00
grossmj
e63b9ff0e6 Option to drop nvram & disk files for IOS routers in order to save disk space. 2015-06-05 14:54:22 -06:00
Julien Duponchelle
02650fa490 Create a private config file if expected
Fix #217
2015-06-05 16:23:52 +02:00
Julien Duponchelle
d9de1718b7 Fix crash if a private config exist in IOS but no private config file
Fix #217
2015-06-05 15:30:30 +02:00
grossmj
b118f9a078 Replace RuntimeError by SystemExit. 2015-06-03 19:58:58 -06:00
grossmj
37ddff9f07 Support for base MAC address for Qemu VMs. 2015-06-03 14:52:49 -06:00
grossmj
9f15fdbc2b Fixes #181 (drop Python 3.3). 2015-06-03 12:08:11 -06:00
Julien Duponchelle
d8fb33dba2 Fix merge conflict 2015-06-03 18:58:17 +02:00
Julien Duponchelle
a1204dca0a Merge branch 'master' into unstable 2015-06-03 18:34:46 +02:00
Julien Duponchelle
78891ae00e Basic Auth support 2015-06-03 15:38:34 +02:00
Julien Duponchelle
b344def887 Fix crash when virtualbox list of VMS return an empty line
Fix #206
2015-06-03 11:59:53 +02:00
grossmj
743f1392b5 ACPI shutdown support for Qemu VMs. 2015-06-02 22:33:38 -06:00
grossmj
933bc5a7b0 ACPI shutdown support for VirtualBox VMs. 2015-06-02 16:30:35 -06:00
Julien Duponchelle
a1bc815f63 Update crash report key 2015-06-02 20:27:33 +02:00
Julien Duponchelle
668cc3f0a5 1.3.5dev1 2015-06-02 20:05:31 +02:00
Julien Duponchelle
42a8c7147a 1.3.4 release 2015-06-02 19:48:04 +02:00
grossmj
a0fe9bb498 Control vm command has to be used instead of modify vm. Fixes #205. 2015-06-02 09:00:37 -06:00
Julien Duponchelle
57f9d875ca Fix AttributeError: 'NIONAT' object has no attribute 'lport' for
VirtualBox

Fix #205
2015-06-02 16:27:48 +02:00
Julien Duponchelle
a2e51ac090 Avoid duplicate paths in qemu binary list
Fix #204
2015-06-02 15:35:14 +02:00
grossmj
edff447483 Catch exception in snapshot dialog. 2015-06-01 21:54:08 -06:00
Jeremy
ad27fdf8b9 Bump version to 1.3.4.dev2 2015-06-01 16:29:49 -06:00
Jeremy
9df290f192 Check if port or adapter is connected before starting/stopping a packet capture. Fixes #196. 2015-06-01 15:42:17 -06:00
Julien Duponchelle
05aafb9538 Revert "Start virtualbox VM one by one" because it doesn't fix the issue
This reverts commit da72a9501a.
2015-06-01 16:16:34 +02:00
Julien Duponchelle
da72a9501a Start virtualbox VM one by one
Related to #190
2015-06-01 11:40:42 +02:00
grossmj
a60389427b Support for VMware linked clones. 2015-05-30 20:26:38 -06:00
Julien Duponchelle
ada94d486a Get server resource independant of working directory 2015-05-28 13:24:45 +02:00
Julien Duponchelle
85c185604e Merge branch 'master' into unstable 2015-05-28 12:18:24 +02:00
Julien Duponchelle
a2dfeab315 Load faulthandler module only for dev build 2015-05-28 12:17:56 +02:00
Julien Duponchelle
16cad8426a Enable faulthandler only for dev build 2015-05-28 12:17:25 +02:00
Julien Duponchelle
9442042d7a Merge branch 'master' into unstable 2015-05-28 12:04:01 +02:00
Julien Duponchelle
57a069b027 Support cacert.pem in the new frozen package 2015-05-28 11:31:23 +02:00
grossmj
98e01ff21d Serial console implementation for VMware VMs. 2015-05-27 21:06:18 -06:00
Vasil Rangelov
9ef4628cbc Added a method for getting qemu-img binaries, and moved the qemu folder into a separate method. 2015-05-28 00:11:36 +03:00
grossmj
0476f2932e Prevent users to add links to running Qemu VMs and start a capture on running VirtualBox VMs. 2015-05-27 13:56:27 -06:00
grossmj
91c0f05a4e Fixes bug: couldn't set PCMCIA disk1 size for IOS routers. 2015-05-27 10:17:46 -06:00
Julien Duponchelle
74ee73581a Fix crash if you pass an invalid hostname
Fix #198
2015-05-27 17:34:01 +02:00
Julien Duponchelle
a86bac4214 Catch VPCS kill errors
Fix #199
2015-05-27 17:21:15 +02:00
Julien Duponchelle
7cad25eb1a Raise a VirtualBox error if adapter doesn't exists
Fix #195
2015-05-27 16:38:57 +02:00
Julien Duponchelle
ecf4e91e55 Ignore VirtualBox VM Name with a carriage return in name
Add tests for get_list of VirtualBox

Fix #200
2015-05-27 16:21:18 +02:00
Julien Duponchelle
c98bcedd39 Cleanup the temporary project after modules have been notified of the
path change
2015-05-26 15:20:14 +02:00
Julien Duponchelle
528bb7a7c6 Do not return error if we can't remove the old project directory 2015-05-26 13:27:12 +02:00
Julien Duponchelle
50d7a4f335 Catch encoding errors in windows logger 2015-05-26 13:05:37 +02:00
Julien Duponchelle
f1ab682be9 Do not crash if module ioucon is loaded by tests on Windows 2015-05-26 11:55:30 +02:00