Skip to content

Commit cde0754

Browse files
tbzatekigaw
authored andcommitted
tests: Add sample NBFT table from Dell PowerEdge R660
What's special on this table is the second SSNS record that is roughly equal to the first one except of the 'nsid' and 'nid' values, although only a single subsystem has been configured and enabled in the EFI Setup. Signed-off-by: Tomas Bzatek <[email protected]>
1 parent d9c3084 commit cde0754

3 files changed

Lines changed: 56 additions & 1 deletion

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
raw_nbft_size=930
2+
host.id=44454c4c44010448030b8c04f445833
3+
host.nqn=nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0044-4410-8030-b8c04f445833
4+
host.host_id_configured=1
5+
host.host_nqn_configured=1
6+
host.primary=0
7+
hfi_list[0]->index=1
8+
hfi_list[0]->transport=tcp
9+
hfi_list[0]->tcp_info.pci_sbdf=27136
10+
hfi_list[0]->tcp_info.mac_addr=062bcbeb70
11+
hfi_list[0]->tcp_info.vlan=0
12+
hfi_list[0]->tcp_info.ip_origin=94
13+
hfi_list[0]->tcp_info.ipaddr=172.18.240.1
14+
hfi_list[0]->tcp_info.subnet_mask_prefix=24
15+
hfi_list[0]->tcp_info.gateway_ipaddr=0.0.0.0
16+
hfi_list[0]->tcp_info.route_metric=500
17+
hfi_list[0]->tcp_info.primary_dns_ipaddr=0.0.0.0
18+
hfi_list[0]->tcp_info.secondary_dns_ipaddr=0.0.0.0
19+
hfi_list[0]->tcp_info.dhcp_server_ipaddr=
20+
hfi_list[0]->tcp_info.host_name=(null)
21+
hfi_list[0]->tcp_info.this_hfi_is_default_route=1
22+
hfi_list[0]->tcp_info.dhcp_override=0
23+
subsystem_ns_list[0]->index=1
24+
subsystem_ns_list[0]->num_hfis=1
25+
subsystem_ns_list[0]->hfis[0]->index=1
26+
subsystem_ns_list[0]->transport=tcp
27+
subsystem_ns_list[0]->traddr=172.18.240.60
28+
subsystem_ns_list[0]->trsvcid=4420
29+
subsystem_ns_list[0]->subsys_port_id=0
30+
subsystem_ns_list[0]->nsid=270
31+
subsystem_ns_list[0]->nid_type=2
32+
subsystem_ns_list[0]->nid=5380b42fc0c5de718ccf9680be3ca7
33+
subsystem_ns_list[0]->subsys_nqn=nqn.1988-11.com.dell:powerstore:00:88b402df2d762AA7AF94
34+
subsystem_ns_list[0]->pdu_header_digest_required=0
35+
subsystem_ns_list[0]->data_digest_required=0
36+
subsystem_ns_list[0]->controller_id=4105
37+
subsystem_ns_list[0]->asqsz=0
38+
subsystem_ns_list[0]->dhcp_root_path_string=(null)
39+
subsystem_ns_list[1]->index=2
40+
subsystem_ns_list[1]->num_hfis=1
41+
subsystem_ns_list[1]->hfis[0]->index=1
42+
subsystem_ns_list[1]->transport=tcp
43+
subsystem_ns_list[1]->traddr=172.18.240.60
44+
subsystem_ns_list[1]->trsvcid=4420
45+
subsystem_ns_list[1]->subsys_port_id=0
46+
subsystem_ns_list[1]->nsid=1671
47+
subsystem_ns_list[1]->nid_type=2
48+
subsystem_ns_list[1]->nid=f4c66fce74afdb8ccf96807eaeae
49+
subsystem_ns_list[1]->subsys_nqn=nqn.1988-11.com.dell:powerstore:00:88b402df2d762AA7AF94
50+
subsystem_ns_list[1]->pdu_header_digest_required=0
51+
subsystem_ns_list[1]->data_digest_required=0
52+
subsystem_ns_list[1]->controller_id=4105
53+
subsystem_ns_list[1]->asqsz=0
54+
subsystem_ns_list[1]->dhcp_root_path_string=(null)

test/nbft/meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ tables = [
1818
'NBFT-static-ipv4',
1919
'NBFT-static-ipv4-discovery',
2020
'NBFT-static-ipv6',
21-
'NBFT-Dell.PowerEdge.R760'
21+
'NBFT-Dell.PowerEdge.R760',
22+
'NBFT-Dell.PowerEdge.R660-fw1.5.5-single'
2223
]
2324

2425
tables_bad = [
930 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)