Julien Duponchelle
5f6d1bfdd6
Merge branch 'master' into unstable
...
Conflicts:
tests/modules/test_manager.py
2015-04-28 10:46:59 +02:00
Jeremy
f208b472a1
TAP interface support for QEMU VMs. Fixes #153 .
2015-04-27 14:38:15 -06:00
Jeremy
fa544ef888
Fixes #270 . Relative paths management with empty ones.
2015-04-24 17:27:32 -06:00
Julien Duponchelle
bca90bc563
API in order to get the list of IOU, Dynamips, Qemu images
2015-04-16 18:32:12 +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
grossmj
2d6d153262
Save configs when project is committed.
2015-03-21 14:52:17 -06:00
Jeremy
8415117d2d
Save IOS router configs when saving the project (done right this time).
2015-03-18 15:34:31 -06:00
Jeremy
46fe973a96
Save IOS router configs when the user saves a project.
2015-03-16 16:33:37 -06:00
grossmj
ad5548f70b
Convert more that IOU pre 1.3 projects but also other modules on remote servers.
2015-03-09 21:46:23 -06:00
grossmj
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
grossmj
2934232afb
Convert legacy IOU directories on remote servers.
2015-03-08 17:45:29 -06:00
Jeremy
b673b898a8
Fixes problem when trying to convert VirtualBox projects without cloned VMs.
2015-03-02 13:04:30 -07:00
Julien Duponchelle
a9afaa028c
Garbage collect VM when closing a project
2015-03-02 17:17:28 +01:00
Julien Duponchelle
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
grossmj
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
grossmj
7223005acd
Restore device IDs and fixes race condition when converting an old project.
2015-03-01 13:05:51 -07:00
grossmj
dfce18a48f
Fixes migration issues for pre-1.3 projects.
2015-02-28 18:55:53 -07:00
grossmj
d762c43314
Include the images directory when converting an old project.
2015-02-28 15:00:00 -07:00
grossmj
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
Jeremy
0e8b8fa66f
Update hypervisors working dir when the project is moved.
2015-02-27 16:51:17 -07:00
Jeremy
0eaad579c2
IOU + VirtualBox conversion of old projects.
2015-02-25 18:55:35 -07:00
Jeremy
9dc713f31d
Fixes race condition when deleting empty legacy project files dir.
2015-02-25 17:38:36 -07:00
Jeremy
54fc873be5
Prevent multiple projects with the same ID to be created.
2015-02-25 16:05:57 -07:00
Julien Duponchelle
f12d3f07f7
Drop the old -files in the project
2015-02-25 18:23:41 +01:00
Jeremy
42c07cee1a
Properly release UDP ports when closing a project or deleting a link.
2015-02-23 19:00:34 -07:00
Julien Duponchelle
d65617657c
Fix old project directories renames
2015-02-18 16:13:09 +01:00
grossmj
78ffe313fd
Dynamips VM & device deletion and ghost support.
2015-02-15 22:13:24 -07:00
grossmj
f99e834c37
Dynamips devices support (packet capture to complete).
2015-02-15 12:18:12 -07:00
Julien Duponchelle
1550ca01e6
IOU support nio ethernet
2015-02-13 16:41:18 +01:00
Julien Duponchelle
f99d825346
Support network for IOU
2015-02-12 22:29:34 +01:00
grossmj
0d7d0a05c3
Handle old projects.
2015-02-08 18:10:04 -07:00
grossmj
2a3b37a3bd
VirtualBox packet capture.
2015-02-08 14:44:56 -07:00
Jeremy
8118d7762f
Parallel execution when closing VMs.
2015-02-05 14:24:06 -07:00
Jeremy
291fac7084
Add project_id in all VM calls.
2015-02-04 17:13:35 -07:00
Jeremy
1bea78194c
Explicit ID names, remove {uuid} from URLs and add vms in URLs for VMs.
2015-02-04 13:48:29 -07:00
Jeremy
81f9252554
Fixes nasty bug when close a cloned VirtualBox VM.
2015-02-02 18:56:13 -07:00
Jeremy
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
Jeremy
365af02f37
Packet capture support for VirtualBox.
2015-01-23 18:33:49 -07:00
Jeremy
bc3d63081b
Unload should not delete VMs, just close them.
2015-01-23 16:36:58 -07:00
Jeremy
39e3ca91a9
Fixes module unload & adds host, port and allow-remote-console command line args.
2015-01-23 13:01:23 -07:00
Julien Duponchelle
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
grossmj
4f2764c0b4
Fixes module unload.
2015-01-23 08:44:00 -07:00
Julien Duponchelle
7bf121c6da
When we remove a VM, the VM is removed from the project.
2015-01-23 14:37:21 +01:00
Julien Duponchelle
f97c2b2cbe
Delete a VM, mark it as destroyable
2015-01-23 11:28:58 +01:00
grossmj
0d503b779e
Explicitly close VM when the server is shutdown.
2015-01-22 23:40:51 -07:00
grossmj
e61e976368
Adapters support for VirtualBox.
2015-01-22 21:31:26 -07:00
Jeremy
d9b02efbfa
Rename destroy to close or unload (more friendly).
2015-01-22 19:06:17 -07:00
Jeremy
2681defe27
Moves NIO creation to the base manager.
2015-01-22 18:04:24 -07:00
Julien Duponchelle
6644c640db
Attribute mac address
2015-01-22 16:12:21 +01:00