Re: [PATCH 10/15] tests: Add new fchosttest tests for management of a vHBA

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

 



On Wed, Jan 25, 2017 at 03:27:36PM -0500, John Ferlan wrote:
> Add a test that will mimic creation and destruction of a vHBA
> by using node device XML. The design will allow for testing the
> multiple mechanisms.
> 
> The first test uses just <parent> in the node device XML. This is
> somewhat similar to the existing objecteventtest, except that this
> test will not provide input wwnn/wwpn's (similar to how the process
> is described for the the libvirt wiki).
> 
> This requires mocking the virRandomGenerateWWN since parsing the
> input XML (virNodeDevCapSCSIHostParseXML) requires either a provided
> wwnn/wwpn in the XML or the ability to randomly generate the wwnn/wwpn.
> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  tests/fchosttest.c    | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++-
>  tests/virrandommock.c |  9 ++++++++
>  2 files changed, 70 insertions(+), 1 deletion(-)

ACK

Pavel

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux