Paul Callahan
0db41d0a92
add code and tests to detect vboxnet collision with host interfaces
...
+ exclude existing host-only nets from list of host interfaces
+ interface and mocks for system calls to net.*
Signed-off-by: Paul Callahan <paul.callahan@gmail.com>
2016-03-10 15:05:26 -08:00
David Gageot
b6b99747bf
Add more logs, specially for windows users
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-25 15:02:30 +01:00
David Gageot
6ed2ab0e79
Always wait for the host-only adapter to appear
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-21 07:55:28 +01:00
David Gageot
8553dd2d6c
Fix multiple bugs with host-only adapterss
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-11 11:09:18 +01:00
David Gageot
6fe81d3dd4
Point to working version of vbox
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-28 11:23:15 +01:00
David Gageot
3c4fd63f93
FIX #2624 reject duplicate hostonlyifs name/IP
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-21 09:15:01 +01:00
David Gageot
dd379d33c8
FIX #2617 Check hostonlyif after its creation
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-18 17:44:52 +01:00
David Gageot
84199a12e3
Improve test coverage
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-24 11:29:39 +01:00
David Gageot
bf52eceed5
FIX #2231 - Detect duplicate interfaces
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 18:47:39 +01:00
David Gageot
308f9d025c
Add more tests to virtualbox driver
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 15:01:55 +01:00
David Gageot
bbe59b8020
Don't rely on empty lines
...
It could lead to creating multiple host only
interfaces
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 15:01:55 +01:00
David Gageot
e812df723c
Add somes tests to virtualbox driver
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 15:01:55 +01:00
David Gageot
53c5198a5a
Use the passed VBoxManager
...
This makes the code easier to test.
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 15:01:55 +01:00
David Gageot
b8c9ad071d
Remove dead code in virtualbox
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 14:27:59 +01:00
David Gageot
94361315a8
Add tests to virtualbox driver
...
Signed-off-by: David Gageot <david@gageot.net>
2015-10-20 19:08:18 +02:00
Gianpaolo Macario
b01442c6bb
fix IPV6NetworkMaskPrefixLength value parsing #1692
...
Adapted from 941c70cb01
Signed-off-by: Gianpaolo Macario <gmacario@gmail.com>
2015-10-06 22:43:55 +02:00
Nathan LeClaire
3b85723982
Fix failing case creating host only interface
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-09-22 20:02:14 -07:00
Nathan LeClaire
fe5b5cf86d
Add tests for host only network retrieval feature
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-09-22 16:29:25 -07:00
Ron Williams
0b5f4c8454
Handle bad netmask returned by virtualbox after hostonlyif creation. Fixes #1843
...
Signed-off-by: Ron Williams <ron.a.williams@gmail.com>
2015-09-21 14:09:29 -07:00
Ben Firshman
73d19108bf
Initial commit
...
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-04 15:05:11 +01:00