Skip to content

Commit 30c87cb

Browse files
tbzatekigaw
authored andcommitted
tests: Add an empty NBFT table
Some machines still do provide an empty NBFT table even when the whole NVMeoF subsystem is not enabled in the UEFI Setup. Contains just the HostNQN and HostID configured from the time it was enabled. Signed-off-by: Tomas Bzatek <[email protected]>
1 parent 86d5ed9 commit 30c87cb

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

test/nbft/diffs/NBFT-empty

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
raw_nbft_size=315
2+
host.id=78563412aaaabbbbcccc123456789012
3+
host.nqn=nqn.2014-08.org.nvmexpress:uuid:12345678-aaaa-bbbb-cccc-123456789012
4+
host.host_id_configured=1
5+
host.host_nqn_configured=1
6+
host.primary=0

test/nbft/meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ tables = [
2222
'NBFT-Dell.PowerEdge.R660-fw1.5.5-single',
2323
'NBFT-Dell.PowerEdge.R660-fw1.5.5-mpath+discovery',
2424
'NBFT-mpath+disc-ipv4+6_half',
25-
'NBFT-ipv6-noip+disc'
25+
'NBFT-ipv6-noip+disc',
26+
'NBFT-empty'
2627
]
2728

2829
tables_bad = [

test/nbft/tables/NBFT-empty

315 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)