[libvirt] test driver for interface config
Daniel P. Berrange
berrange at redhat.com
Tue Apr 7 15:50:13 UTC 2009
On Tue, Apr 07, 2009 at 11:41:39AM -0400, Laine Stump wrote:
> On 04/07/2009 11:16 AM, Cole Robinson wrote:
> >As an example of how the driver will likely be used, think of supporting
> >the interface APIs in virt-manager. As a developer, it would be nice to
> >use the test driver to ensure that all the UI updating as interfaces go
> >up and down, appear and disappear, etc. is in working order, and that
> >the XML we are building at least isn't completely bogus. Mopping up
> >those simple issues with the test driver will ideally make the live
> >functional testing less painful, and help isolate bugs in the app vs.
> >bugs in the library.
> >
>
> Thanks, I hadn't considered that end of testing. It definitely sounds
> useful. I guess I need to make something more general purpose.
>
> A netcf test mode might help, but it may not be useful enough - for
> example it wouldn't work if the test client was one that didn't support
> netcf - when connecting to a test driver, it's always on the local
> machine, correct?
The test impl needs to be within libvirt so it is always available no
matter whether netcf is available for the build, so it shouldn't use
netcf at all.
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list