Jeremy
439e0df058
Bind host on 0.0.0.0 when checking for a free UDP port.
2015-07-20 19:27:14 -06:00
Julien Duponchelle
ed39afbf3d
Throw an error if user put an invalid port range in config file
...
Fix #117
2015-05-06 10:40:51 +02:00
Julien Duponchelle
26a7f83db2
Remove the workaround for dynamips OSX
2015-04-15 15:58:31 +02:00
grossmj
7d7972afb3
Some spring cleaning.
2015-04-08 11:17:34 -06:00
Julien Duponchelle
b46e2cf013
Fix issues with macos X dynamips not freeing UDP port
...
Fix #133
2015-04-03 13:32:07 +02: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
80fd857658
Fix tests
2015-03-03 14:37:34 +01: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
Jeremy
46cbcd6132
New Dynamips integration part 1
2015-02-09 18:24:13 -07:00
Jeremy
45ca493ecf
Use module settings from the config file.
2015-02-02 14:52:58 -07:00
Jeremy
a3a304bd12
Load port ranges from the config file.
2015-02-01 20:43:55 -07:00
Jeremy
334835c985
PEP8 + documentation.
2015-01-31 14:34:49 -07:00
Julien Duponchelle
70faf76c10
PEP8, documentation update, test fix
2015-01-26 09:36:26 +01:00
Jeremy
50fea669b5
Network handler for UDP port allocation and server network interfaces.
2015-01-24 15:32:58 -07:00
Jeremy
6460e94311
More VirtualBox implementation.
2015-01-23 16:38:46 -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
f3e07d5ad9
Fix random failure related to ports
2015-01-21 22:21:01 +01:00
Julien Duponchelle
df31b2ad5a
Fix project path
2015-01-21 11:33:24 +01:00
Jeremy
7a19c9062e
Pass *args to VM_CLASS.
...
Move Config the the base manager.
More checks for projects (UUID, makedirs).
Return error 500 when a VMError exception is raised.
Some more progress to VirtualBox.
2015-01-20 19:02:22 -07:00
Julien Duponchelle
984d47f9c8
Test work without vpcs binary
2015-01-20 22:50:26 +01:00
Julien Duponchelle
649d4e5143
Allow user to set console port
2015-01-20 20:54:46 +01:00
Julien Duponchelle
f2289874af
Raise exception if we try to reserve an already reserve port
2015-01-20 20:09:20 +01:00
Julien Duponchelle
f5ed9fbcf1
PEP 8 clean thanks to auto pep8
2015-01-20 13:24:00 +01:00
Jeremy
fe22576ae2
Some quick cleaning.
2015-01-19 14:43:35 -07:00
Julien Duponchelle
73a481e510
Refactor port manager
2015-01-19 11:22:24 +01:00
Jeremy
b6212fc885
Improve Port Manager to handle UDP ports.
2015-01-18 15:41:53 -07:00
Jeremy
9e83329f14
Rename Device to VM.
2015-01-15 16:50:36 -07:00
Julien Duponchelle
c1ef406311
A basic implementation of port manager
2015-01-15 16:59:01 +01:00