Skip to content

Commit

Permalink
tests: Add sample NBFT table from Dell PowerEdge R660
Browse files Browse the repository at this point in the history
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 <tbzatek@redhat.com>
  • Loading branch information
tbzatek authored and igaw committed Feb 5, 2024
1 parent d9c3084 commit cde0754
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
54 changes: 54 additions & 0 deletions test/nbft/diffs/NBFT-Dell.PowerEdge.R660-fw1.5.5-single
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
raw_nbft_size=930
host.id=44454c4c44010448030b8c04f445833
host.nqn=nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0044-4410-8030-b8c04f445833
host.host_id_configured=1
host.host_nqn_configured=1
host.primary=0
hfi_list[0]->index=1
hfi_list[0]->transport=tcp
hfi_list[0]->tcp_info.pci_sbdf=27136
hfi_list[0]->tcp_info.mac_addr=062bcbeb70
hfi_list[0]->tcp_info.vlan=0
hfi_list[0]->tcp_info.ip_origin=94
hfi_list[0]->tcp_info.ipaddr=172.18.240.1
hfi_list[0]->tcp_info.subnet_mask_prefix=24
hfi_list[0]->tcp_info.gateway_ipaddr=0.0.0.0
hfi_list[0]->tcp_info.route_metric=500
hfi_list[0]->tcp_info.primary_dns_ipaddr=0.0.0.0
hfi_list[0]->tcp_info.secondary_dns_ipaddr=0.0.0.0
hfi_list[0]->tcp_info.dhcp_server_ipaddr=
hfi_list[0]->tcp_info.host_name=(null)
hfi_list[0]->tcp_info.this_hfi_is_default_route=1
hfi_list[0]->tcp_info.dhcp_override=0
subsystem_ns_list[0]->index=1
subsystem_ns_list[0]->num_hfis=1
subsystem_ns_list[0]->hfis[0]->index=1
subsystem_ns_list[0]->transport=tcp
subsystem_ns_list[0]->traddr=172.18.240.60
subsystem_ns_list[0]->trsvcid=4420
subsystem_ns_list[0]->subsys_port_id=0
subsystem_ns_list[0]->nsid=270
subsystem_ns_list[0]->nid_type=2
subsystem_ns_list[0]->nid=5380b42fc0c5de718ccf9680be3ca7
subsystem_ns_list[0]->subsys_nqn=nqn.1988-11.com.dell:powerstore:00:88b402df2d762AA7AF94
subsystem_ns_list[0]->pdu_header_digest_required=0
subsystem_ns_list[0]->data_digest_required=0
subsystem_ns_list[0]->controller_id=4105
subsystem_ns_list[0]->asqsz=0
subsystem_ns_list[0]->dhcp_root_path_string=(null)
subsystem_ns_list[1]->index=2
subsystem_ns_list[1]->num_hfis=1
subsystem_ns_list[1]->hfis[0]->index=1
subsystem_ns_list[1]->transport=tcp
subsystem_ns_list[1]->traddr=172.18.240.60
subsystem_ns_list[1]->trsvcid=4420
subsystem_ns_list[1]->subsys_port_id=0
subsystem_ns_list[1]->nsid=1671
subsystem_ns_list[1]->nid_type=2
subsystem_ns_list[1]->nid=f4c66fce74afdb8ccf96807eaeae
subsystem_ns_list[1]->subsys_nqn=nqn.1988-11.com.dell:powerstore:00:88b402df2d762AA7AF94
subsystem_ns_list[1]->pdu_header_digest_required=0
subsystem_ns_list[1]->data_digest_required=0
subsystem_ns_list[1]->controller_id=4105
subsystem_ns_list[1]->asqsz=0
subsystem_ns_list[1]->dhcp_root_path_string=(null)
3 changes: 2 additions & 1 deletion test/nbft/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ tables = [
'NBFT-static-ipv4',
'NBFT-static-ipv4-discovery',
'NBFT-static-ipv6',
'NBFT-Dell.PowerEdge.R760'
'NBFT-Dell.PowerEdge.R760',
'NBFT-Dell.PowerEdge.R660-fw1.5.5-single'
]

tables_bad = [
Expand Down
Binary file not shown.

0 comments on commit cde0754

Please sign in to comment.