From cde0754cabd9f0d53f09d4c62dc698715ac6eba7 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 23 Jan 2024 17:42:38 +0100 Subject: [PATCH] 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 --- .../NBFT-Dell.PowerEdge.R660-fw1.5.5-single | 54 ++++++++++++++++++ test/nbft/meson.build | 3 +- .../NBFT-Dell.PowerEdge.R660-fw1.5.5-single | Bin 0 -> 930 bytes 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 test/nbft/diffs/NBFT-Dell.PowerEdge.R660-fw1.5.5-single create mode 100644 test/nbft/tables/NBFT-Dell.PowerEdge.R660-fw1.5.5-single diff --git a/test/nbft/diffs/NBFT-Dell.PowerEdge.R660-fw1.5.5-single b/test/nbft/diffs/NBFT-Dell.PowerEdge.R660-fw1.5.5-single new file mode 100644 index 00000000..72a34def --- /dev/null +++ b/test/nbft/diffs/NBFT-Dell.PowerEdge.R660-fw1.5.5-single @@ -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) diff --git a/test/nbft/meson.build b/test/nbft/meson.build index 56d9df1b..919bf831 100644 --- a/test/nbft/meson.build +++ b/test/nbft/meson.build @@ -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 = [ diff --git a/test/nbft/tables/NBFT-Dell.PowerEdge.R660-fw1.5.5-single b/test/nbft/tables/NBFT-Dell.PowerEdge.R660-fw1.5.5-single new file mode 100644 index 0000000000000000000000000000000000000000..845a8e21945f838cf918ccb0bd067c51aa5c2198 GIT binary patch literal 930 zcmb`G!D|yi6vn?d8!SPQSV06Ydu+i;XJ=n_XG1}gZuV5PSW5*#A<0%NX_6*3dXn6F z5&Rd#ix;UE51u3*JbCaBP&|0?Ac9DaLS#2Ki6S1P-(}{#`QH1@3^SL?(bXpwK(E8f z>Z)z8Rc@}YxV8-dwr$&|0U8kSiGXC>NET*91Y886pZGy|JRWHPpbrv<)};1t5_1VR zL@w;BmxIgUHTR4F!im))vL*q5>munpRfcd1spEqHa`-BM41kjai1q%9rNNtzyAR)G zZ{yYSQxLujfG`w*kMkBVKW+72%7{b$1uNmNS!4eGF+dDYZ2kD0dHz1-KR7r5VI#R~ zY+4Eb(Gl>Y-hvl+k@hspigG>4VW?$L^2)Ljl*^{%Ij-jy7MG%4wB3joDrGi4JFZl0 zl;o8_%OG-m89D(Q9lE*@78cRmZRWLdSSpimb#CRGy`A`eyAyZ2#l5}ldXZ~f;{vl( zidix{N*d)VSv57qTg(OHx|k!22o~-Ds2+d&r48Je-tlPkZ2lXaolT_k;mkuBjZ+i- zJI?*`o!i{MGAS7=g)M_wD^PkmCoo1jPQKRK$=BmXqu6fUi#y%BtxjB2s%T7=m9B5; cy6@>y$uC6#BTIy2ciCL}J$~0wA;h1EpRAIO0RR91 literal 0 HcmV?d00001 -- 2.50.1