[libvirt] [PATCH 10/15] tests: Add new fchosttest tests for management of a vHBA
Pavel Hrdina
phrdina at redhat.com
Sat Feb 18 14:08:08 UTC 2017
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 at redhat.com>
> ---
> tests/fchosttest.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++-
> tests/virrandommock.c | 9 ++++++++
> 2 files changed, 70 insertions(+), 1 deletion(-)
ACK
Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170218/1dfde6fd/attachment-0001.sig>
More information about the libvir-list
mailing list