Commit Graph

72 Commits

Author SHA1 Message Date
fcff2d0813 NIO NAT support for QEMU VMs (user mode back-end is used). 2015-05-06 14:59:01 -06:00
0dea63c9ea If image is not found in VM directory look in images folder 2015-05-04 10:57:08 +02:00
359abb0286 Revert "Merge branch 'unstable'"
This reverts commit 929c337e8b, reversing
changes made to b9bc73fd01.
2015-04-30 16:43:30 +02:00
929c337e8b Merge branch 'unstable'
Conflicts:
	gns3server/modules/virtualbox/__init__.py
	gns3server/version.py
	tests/modules/test_manager.py
2015-04-29 16:29:45 -06:00
f208b472a1 TAP interface support for QEMU VMs. Fixes #153. 2015-04-27 14:38:15 -06:00
fa544ef888 Fixes #270. Relative paths management with empty ones. 2015-04-24 17:27:32 -06:00
bca90bc563 API in order to get the list of IOU, Dynamips, Qemu images 2015-04-16 18:32:12 +02:00
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
7d7972afb3 Some spring cleaning. 2015-04-08 11:17:34 -06:00
2d6d153262 Save configs when project is committed. 2015-03-21 14:52:17 -06:00
8415117d2d Save IOS router configs when saving the project (done right this time). 2015-03-18 15:34:31 -06:00
46fe973a96 Save IOS router configs when the user saves a project. 2015-03-16 16:33:37 -06:00
ad5548f70b Convert more that IOU pre 1.3 projects but also other modules on remote servers. 2015-03-09 21:46:23 -06:00
95766fa30d Let the server know about the project name and convert old IOU projects on remote servers. 2015-03-08 19:13:01 -06:00
2934232afb Convert legacy IOU directories on remote servers. 2015-03-08 17:45:29 -06:00
b673b898a8 Fixes problem when trying to convert VirtualBox projects without cloned VMs. 2015-03-02 13:04:30 -07:00
a9afaa028c Garbage collect VM when closing a project 2015-03-02 17:17:28 +01:00
66860655b9 If a VM is already loaded, we return a VM instead of creating it twice
Partial fix for #81
2015-03-02 15:35:36 +01:00
c48ca212bd Stop Dynamips hypervisors used by devices before the project is closed.
This is to avoid locked files by hypervisors preventing temporary project working directories to be deleted.
2015-03-01 19:20:33 -07:00
7223005acd Restore device IDs and fixes race condition when converting an old project. 2015-03-01 13:05:51 -07:00
dfce18a48f Fixes migration issues for pre-1.3 projects. 2015-02-28 18:55:53 -07:00
d762c43314 Include the images directory when converting an old project. 2015-02-28 15:00:00 -07:00
708f66b608 Fixes asyncio Lock instantiation issues on Windows.
Because the event loop is essentially a global variable, asyncio Lock objects that get instantiated early could grab a reference to the wrong loop (Selector instead of Proactor).
2015-02-27 22:12:43 -07:00
0e8b8fa66f Update hypervisors working dir when the project is moved. 2015-02-27 16:51:17 -07:00
0eaad579c2 IOU + VirtualBox conversion of old projects. 2015-02-25 18:55:35 -07:00
9dc713f31d Fixes race condition when deleting empty legacy project files dir. 2015-02-25 17:38:36 -07:00
54fc873be5 Prevent multiple projects with the same ID to be created. 2015-02-25 16:05:57 -07:00
f12d3f07f7 Drop the old -files in the project 2015-02-25 18:23:41 +01:00
42c07cee1a Properly release UDP ports when closing a project or deleting a link. 2015-02-23 19:00:34 -07:00
d65617657c Fix old project directories renames 2015-02-18 16:13:09 +01:00
78ffe313fd Dynamips VM & device deletion and ghost support. 2015-02-15 22:13:24 -07:00
f99e834c37 Dynamips devices support (packet capture to complete). 2015-02-15 12:18:12 -07:00
1550ca01e6 IOU support nio ethernet 2015-02-13 16:41:18 +01:00
f99d825346 Support network for IOU 2015-02-12 22:29:34 +01:00
0d7d0a05c3 Handle old projects. 2015-02-08 18:10:04 -07:00
2a3b37a3bd VirtualBox packet capture. 2015-02-08 14:44:56 -07:00
8118d7762f Parallel execution when closing VMs. 2015-02-05 14:24:06 -07:00
291fac7084 Add project_id in all VM calls. 2015-02-04 17:13:35 -07:00
1bea78194c Explicit ID names, remove {uuid} from URLs and add vms in URLs for VMs. 2015-02-04 13:48:29 -07:00
81f9252554 Fixes nasty bug when close a cloned VirtualBox VM. 2015-02-02 18:56:13 -07:00
66569f26a4 Make sure to wait for the unload coroutine to finish when the server is shutting down. 2015-02-02 17:01:25 -07:00
365af02f37 Packet capture support for VirtualBox. 2015-01-23 18:33:49 -07:00
bc3d63081b Unload should not delete VMs, just close them. 2015-01-23 16:36:58 -07:00
39e3ca91a9 Fixes module unload & adds host, port and allow-remote-console command line args. 2015-01-23 13:01:23 -07:00
7bed9f56bc Avoid crash when closing vms
Otherwise the size of dict change and Python raise
an exception.
2015-01-23 17:33:58 +01:00
4f2764c0b4 Fixes module unload. 2015-01-23 08:44:00 -07:00
7bf121c6da When we remove a VM, the VM is removed from the project. 2015-01-23 14:37:21 +01:00
f97c2b2cbe Delete a VM, mark it as destroyable 2015-01-23 11:28:58 +01:00
0d503b779e Explicitly close VM when the server is shutdown. 2015-01-22 23:40:51 -07:00
e61e976368 Adapters support for VirtualBox. 2015-01-22 21:31:26 -07:00