Jeremy
25a6616cd0
Some wording changes.
2015-05-13 13:53:42 -06:00
Jeremy Grossmann
61fb641215
Merge pull request #168 from GNS3/listen
...
A notification stream with process monitoring.
2015-05-09 17:15:58 -06:00
grossmj
fcff2d0813
NIO NAT support for QEMU VMs (user mode back-end is used).
2015-05-06 14:59:01 -06:00
grossmj
3467b42ab5
Ordered MAC addresses for QEMU based VMs.
2015-05-03 13:18:18 -06:00
Julien Duponchelle
e9ec5c8a37
A notification stream with process monitoring
2015-05-01 13:20:30 +02:00
Jeremy
f208b472a1
TAP interface support for QEMU VMs. Fixes #153 .
2015-04-27 14:38:15 -06:00
grossmj
271cb527d4
Explicit utf-8 decoding.
2015-04-26 21:19:39 -06:00
grossmj
da2b895c99
Catch FileNotFoundError exception in os.getcwd()
2015-04-26 12:49:29 -06:00
grossmj
80a0e0ebf7
Explicit utf-8 encoding where necessary to avoid Unicode errors on Windows (we require/set an utf-8 locale on other systems).
2015-04-25 11:58:34 -06:00
grossmj
30f6263146
Don't assume the PATH environment variable exists.
2015-04-22 21:42:36 -06:00
Julien Duponchelle
531e95463c
Add qemu-kvm to the list of binary
2015-04-20 10:12:17 +02:00
Julien Duponchelle
aa2472fb30
Rewrote image search
...
This code is more generic and support all cases. Previously
we had bug where the user lost his image path if the image
was not located in image directory.
2015-04-14 18:46:55 +02:00
grossmj
7d7972afb3
Some spring cleaning.
2015-04-08 11:17:34 -06:00
Julien Duponchelle
026fe3df9b
Catch error when qemu additional options are invalid
...
Fix #119
2015-03-31 22:14:08 +02:00
grossmj
980e63e667
Allocate a random port for Qemu monitor. Fixes issue with pre 1.3 projects.
2015-03-23 22:52:02 -06:00
grossmj
f451ed144e
Prevent error when suspend/resume is not supported in QEMU VM.
2015-03-22 20:40:19 -06:00
grossmj
153914bf97
Make sure used ports in a project are cleaned up when closing it.
2015-03-21 17:19:12 -06:00
Julien Duponchelle
bb7eda63af
Support more all QEMU status
...
Fix #98
2015-03-17 11:02:14 +01:00
Jeremy
cc9b575b77
Bind UDP tunnels to the correct source address. Fixes #96 .
2015-03-16 12:45:21 -06:00
grossmj
4f7b896a6a
Fixes tests.
2015-03-11 23:09:01 -06:00
Jeremy
aebcd9f08b
Relative path support of IOU, IOS and Qemu images.
2015-03-11 15:04:11 -06:00
grossmj
1610067eee
Support for HDC and HDD disk images in Qemu.
2015-03-10 11:50:30 -06:00
grossmj
03dfd177f9
Use TCP instead of Telnet to communicate with Qemu monitor.
2015-03-10 00:34:57 -06:00
grossmj
5910b4b0be
Have the server look in the right place for relative image paths.
2015-03-09 21:57:21 -06:00
grossmj
0d379f428e
Makes absolute path checks work on Windows.
2015-03-07 18:16:46 -07:00
Julien Duponchelle
1b68a54234
Look for qemu images in ~/GNS3/images
2015-03-07 11:56:51 +01:00
Jeremy
ee578d3c12
Fixes Qemu networking.
2015-03-06 20:08:00 -07:00
Jeremy
d87ebb3ed2
Fixes suspend and resume for Qemu.
2015-03-06 15:16:19 -07:00
Jeremy
6208cb997d
Fixes Qemu adapters support.
2015-03-02 19:59:44 -07:00
Jeremy
3472f19519
Use console_host from the PortManager.
2015-03-02 18:19:11 -07:00
Julien Duponchelle
c07b8c746e
Drop poll from Qemu
2015-02-26 10:18:52 +01:00
Jeremy
0eaad579c2
IOU + VirtualBox conversion of old projects.
2015-02-25 18:55:35 -07:00
Jeremy
54fc873be5
Prevent multiple projects with the same ID to be created.
2015-02-25 16:05:57 -07:00
Julien Duponchelle
47f8ac00c0
Remove debug
2015-02-25 16:04:18 +01:00
Julien Duponchelle
4ea25739e5
Correctly check if qemu is running
...
Fixes #71
Related to #70
2015-02-25 15:46:05 +01:00
Jeremy
42c07cee1a
Properly release UDP ports when closing a project or deleting a link.
2015-02-23 19:00:34 -07:00
Jeremy
3d3300e83a
Rename console methods in port manager to use the generic tcp term in the name.
...
Fixes bug when a console port is allocated to a Ghost VM instance and not released.
Warnings at exit when TCP/UDP ports are still allocated.
2015-02-23 17:42:55 -07:00
Julien Duponchelle
4d1f08c96e
Turn off Qemu graphics if no display is available
...
Fixes #66
2015-02-23 20:21:00 +01:00
Jeremy
210aa6f12a
Bit of cleaning.
2015-02-22 19:56:52 -07:00
Julien Duponchelle
cecf2f5014
Async qemu monitor reading
2015-02-21 00:15:56 +01:00
Julien Duponchelle
47be57dca7
Fix qemu close
2015-02-20 17:31:02 +01:00
Julien Duponchelle
8aa5514890
Qemu binary list
2015-02-20 14:39:13 +01:00
Julien Duponchelle
48f5c7c8b3
All params for qemu
2015-02-19 20:22:30 +01:00
Julien Duponchelle
d0244824bf
Get a working Qemu handler. Next step add all parameters
2015-02-19 19:43:45 +01:00
Julien Duponchelle
b03b9226ff
So we have running code for a qemu module
...
Now the handlers. The telnet code is not yet async
2015-02-19 16:46:57 +01:00
Julien Duponchelle
25bcbfb073
Allocation of console port in base vm
2015-02-19 11:45:43 +01:00
Julien Duponchelle
bbee5f90a0
Yet another PEP 8 :)
2015-01-20 16:37:18 +01:00
Julien Duponchelle
f5ed9fbcf1
PEP 8 clean thanks to auto pep8
2015-01-20 13:24:00 +01:00
Jeremy
2ef45781ad
Checks connection failure to Qemu monitor.
2015-01-11 18:24:13 -07:00
Jeremy Grossmann
c77ebca036
Merge pull request #62 from shmygov/qemunio
...
Dynamically configure network connections of running QEMU VMs
2015-01-05 15:46:09 -07:00
Jeremy
a6fd457cff
Bump the maximum network adapters to 32 for Qemu.
2015-01-03 16:16:07 -07:00
Dmitry Shmygov
4eedc9c74c
Dynamically configure network connections of running QEMU VMs (including new QEMU versions)
2015-01-03 05:04:52 +03:00
Dmitry Shmygov
ccb4ccd612
Return QEMU monitor responses as Match Objects (more flexibility for future uses)
2014-12-29 01:59:45 +03:00
Dmitry Shmygov
c775b05d33
Dynamically configure network connections of running QEMU VMs
2014-12-29 01:43:56 +03:00
Dmitry Shmygov
9cedb1cc99
Add sleep after write to QEMU monitor (to work with new QEMU versions)
2014-12-27 12:44:10 +03:00
Jeremy
1f615430ae
Checks for broken symbolic links.
2014-12-24 17:19:42 -07:00
grossmj
d9f44edcaf
Fixes incompatibility for IOS startup-config and private-config paths created on Windows and loaded from a project on Linux/Mac OS X.
2014-12-23 15:29:27 -07:00
Dmitry Shmygov
84511d7b39
QEMU VM suspend/resume and reload
2014-12-23 14:42:58 +03:00
Dmitry Shmygov
3590985c07
Add QEMU monitor port to control running QEMU VMs
2014-12-23 14:42:58 +03:00
Jeremy
7f37f649da
Catch OSError exception for subprocess calls.
2014-12-11 12:15:24 -07:00
Jerry Seutter
f1503ae655
Handle initrd and kernel paths in qemu
2014-12-08 20:14:55 -07:00
Jeremy
f58c7960c9
Use bundled Qemu on Windows and OSX by default and checks if remote server are registered.
2014-12-04 12:25:49 -07:00
Jeremy
5a468888c8
Bump version to 1.2.1.dev2
2014-12-02 18:52:28 -07:00
Jeremy
8f53d51c05
Support for CPU throttling and process priority for Qemu.
2014-12-02 18:12:37 -07:00
Jeremy
1e01c85be9
Change search paths for Qemu on Windows.
2014-12-02 14:49:39 -07:00
grossmj
632134a02a
Support for older Qemu versions like the 0.11.0 on Windows.
2014-11-29 14:11:51 -07:00
Jeremy
4918675cd5
Fixes Qemu version detection.
2014-11-24 11:44:27 -07:00
Jeremy
09948a366f
Use SubprocessError to catch Subprocess exceptions.
2014-11-22 17:45:04 -07:00
Jeremy
e2e4f4f38b
Fixes remote server issue when creating a new project while already in a project.
2014-11-14 19:59:06 -07:00
Jeremy Grossmann
e75dde3ebf
Merge pull request #48 from planctechnologies/pr3
...
Add support for Qemu devices on cloud instances (server)
2014-11-12 21:19:15 -07:00
Jeremy
a9e924934a
Fixes important issue when searching for a free port.
2014-11-12 19:49:02 -07:00
Jerry Seutter
5b73786653
Move image path manipulation to server side
2014-11-10 11:28:19 -07:00
Jeremy
f44fbd1f16
Option to allow console connections to any local IP address when using the local server.
2014-11-09 23:01:13 -07:00
Jeremy
1982ff8100
Allows Qemu VM to have 0 interface.
2014-11-09 18:27:40 -07:00
Jerry Seutter
faa3ef8cb4
Add support for Qemu devices on cloud instances
2014-11-07 20:42:08 -07:00
Jeremy
7809160ea1
Add detection of qemu and qemu.exe binaries.
2014-11-03 17:36:14 -07:00
grossmj
4d23c5917c
Add REUSE flag to socket when scanning for unused ports.
2014-11-01 15:44:18 -06:00
grossmj
20acca64b5
Bump version to 1.2.dev1
2014-10-25 18:01:14 -06:00
grossmj
f0c344939b
Polish and bump up to version 1.0!
2014-10-20 18:40:05 -06:00
grossmj
e261263aab
Add path lookup directory for Qemu on OSX.
2014-10-20 11:56:30 -06:00
grossmj
1a96a150bc
Fix shemas for QEMU.
2014-09-30 11:15:15 -06:00
grossmj
a8193fa063
Split the PATH environment variable using os.pathsep
2014-09-28 18:23:27 -06:00
grossmj
e7141685cc
Tweaks to support Qemu on Windows.
2014-09-23 21:38:51 -06:00
grossmj
aca9e0de56
Qemu integration stage 2, support for ASA and IDS.
2014-09-22 21:24:55 -06:00
grossmj
d1715baae1
Base QEMU support.
2014-09-18 15:47:43 -06:00