mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
tests: Add tests for fc_host
Since the NPIV machine is not easy to get, it's very likely to introduce regressions when doing changes on the existing code. This patch dumps part of the sysfs files (the necessary ones) of fc_host as test input data, to test the related util functions. It could be extended for more fc_host related testing in future.
This commit is contained in:
1
tests/fchostdata/fc_host/host4/fabric_name
Normal file
1
tests/fchostdata/fc_host/host4/fabric_name
Normal file
@@ -0,0 +1 @@
|
||||
0xffffffffffffffff
|
||||
1
tests/fchostdata/fc_host/host4/max_npiv_vports
Normal file
1
tests/fchostdata/fc_host/host4/max_npiv_vports
Normal file
@@ -0,0 +1 @@
|
||||
127
|
||||
1
tests/fchostdata/fc_host/host4/node_name
Normal file
1
tests/fchostdata/fc_host/host4/node_name
Normal file
@@ -0,0 +1 @@
|
||||
0x2000001b3289da4e
|
||||
1
tests/fchostdata/fc_host/host4/npiv_vports_inuse
Normal file
1
tests/fchostdata/fc_host/host4/npiv_vports_inuse
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
tests/fchostdata/fc_host/host4/port_name
Normal file
1
tests/fchostdata/fc_host/host4/port_name
Normal file
@@ -0,0 +1 @@
|
||||
0x2100001b3289da4e
|
||||
1
tests/fchostdata/fc_host/host4/port_state
Normal file
1
tests/fchostdata/fc_host/host4/port_state
Normal file
@@ -0,0 +1 @@
|
||||
Linkdown
|
||||
0
tests/fchostdata/fc_host/host4/vport_create
Normal file
0
tests/fchostdata/fc_host/host4/vport_create
Normal file
0
tests/fchostdata/fc_host/host4/vport_delete
Normal file
0
tests/fchostdata/fc_host/host4/vport_delete
Normal file
1
tests/fchostdata/fc_host/host5/fabric_name
Normal file
1
tests/fchostdata/fc_host/host5/fabric_name
Normal file
@@ -0,0 +1 @@
|
||||
0x2001000dec9877c1
|
||||
1
tests/fchostdata/fc_host/host5/max_npiv_vports
Normal file
1
tests/fchostdata/fc_host/host5/max_npiv_vports
Normal file
@@ -0,0 +1 @@
|
||||
127
|
||||
1
tests/fchostdata/fc_host/host5/node_name
Normal file
1
tests/fchostdata/fc_host/host5/node_name
Normal file
@@ -0,0 +1 @@
|
||||
0x2001001b32a9da4e
|
||||
1
tests/fchostdata/fc_host/host5/npiv_vports_inuse
Normal file
1
tests/fchostdata/fc_host/host5/npiv_vports_inuse
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
tests/fchostdata/fc_host/host5/port_name
Normal file
1
tests/fchostdata/fc_host/host5/port_name
Normal file
@@ -0,0 +1 @@
|
||||
0x2101001b32a9da4e
|
||||
1
tests/fchostdata/fc_host/host5/port_state
Normal file
1
tests/fchostdata/fc_host/host5/port_state
Normal file
@@ -0,0 +1 @@
|
||||
Online
|
||||
0
tests/fchostdata/fc_host/host5/vport_create
Normal file
0
tests/fchostdata/fc_host/host5/vport_create
Normal file
0
tests/fchostdata/fc_host/host5/vport_delete
Normal file
0
tests/fchostdata/fc_host/host5/vport_delete
Normal file
Reference in New Issue
Block a user