<br><tt><font size=2>Eric Blake <eblake@redhat.com> wrote on 05/11/2010
03:31:10 PM:<br>
<br>
</font></tt>
<br><tt><font size=2>> <br>
> On 05/07/2010 03:39 PM, Stefan Berger wrote:<br>
> > This is a repost of a previously posted patch.<br>
> > <br>
> > Attached is a test for automatic testing of of the nwfilter rules
as the<br>
> > are instantiated in form of ebtables, iptables and ip6tables
rules on<br>
> > running VMs.<br>
> > <br>
> > The test automatically starts libvirtd from the build directory
unless<br>
> > it finds libvirtd running. My hope is that one won't notice this.
It<br>
> > uses virsh from the build directory to create two dummy VMs with
random<br>
> > name suffixes. The VMs don't boot any OS but just stop in the
BIOS. This<br>
> > is enough to run the nwfilter tests. Afterwards the nwfilter
of the one<br>
> > VM are continuously modified and the instantiation is checked.
The<br>
> > instantiation of rules of the 2nd VM are also continously checked
to<br>
> > verify that the modifications on the 1st VM has had no effect
on the<br>
> > instantiated rules of the 2nd VM.<br>
> <br>
> I'm still a bit wary of this patch.  Is this something that can
be done<br>
> with 'virsh -c test:///default' can do?  Or can we at least copy
how</font></tt>
<br>
<br><tt><font size=2>test doesn't support the functionality, so no, it
cannot be used like that.</font></tt>
<br><tt><font size=2><br>
> daemon-conf runs an instance of libvirtd pointing to an independent
pid<br>
> and config file, whether or not the system libvirtd is running?</font></tt>
<br>
<br><tt><font size=2>yes, I am looking into this.</font></tt>
<br><tt><font size=2><br>
> <br>
> Or should we be trying to do this as part of libvirt-tck instead?</font></tt>
<br>
<br><tt><font size=2>I know. Hurdle being Perl for me and I so far have
had lots of problems getting that test suite to run; some problems were
related just to compile the dependent libvirt perl project, others then
with a perl dependency and my FC13 installation etc.</font></tt>
<br>
<br><tt><font size=2>   Stefan</font></tt>
<br><tt><font size=2><br>
> <br>
> -- <br>
> Eric Blake   eblake@redhat.com    +1-801-349-2682<br>
> Libvirt virtualization library </font></tt><a href=http://libvirt.org/><tt><font size=2>http://libvirt.org</font></tt></a><tt><font size=2><br>
> <br>
> [attachment "signature.asc" deleted by Stefan Berger/Watson/IBM]
</font></tt>