[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [ 1/3] autocreate tap device for ethernet network type

On Wed, Mar 23, 2016 at 03:22:35PM +0100, Michal Privoznik wrote:
> On 23.03.2016 13:08, Daniel P. Berrange wrote:
> > On Wed, Mar 23, 2016 at 02:39:34PM +0300, Vasiliy Tolstov wrote:
> >> 2016-03-23 14:34 GMT+03:00 Daniel P. Berrange <berrange redhat com>:
> >>> RAther than have you re-post again, I'll commit just this patch
> >>> with this IP & route stuff removed now.
> >>
> >>
> >> Ok, no problem with this. If you apply only part, that creates tap
> >> devices, this is good start for me.
> > 
> > Ok it is merged - just resubmit your code to add IP & route stuff as a
> > separate patch now.
> > 
> Thing is, this breaks the build. 'make check' is failing now as it
> really tries to create a tap device - we have used 'ethernet' type of
> interface in our tests to avoid creating any device on the host. Mocking
> all of the virNetDev* is going to be verbose. But I'm already working on it.

Oh damn, sorry I missed that - I mistakenly thought we skipped ethernet
devices in the tests, the same way we skip bridge devices and guess I
only ran syntax-check rather than check.

We could just quickly disable those ethernet tests if virNetDev mocking
is going to take some time. It would let us test type=bridge too once
we do it.

|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]