Skip to content

Commit

Permalink
tests: Adapt to added NBFT SSNS flags
Browse files Browse the repository at this point in the history
+ regenerate the sample table outputs.

Signed-off-by: Tomas Bzatek <[email protected]>
  • Loading branch information
tbzatek committed Feb 19, 2024
1 parent e6f780b commit 3f382c4
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/nbft/diffs/NBFT-Dell.PowerEdge.R660-fw1.5.5-single
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ 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[0]->discovered=0
subsystem_ns_list[0]->unavailable=0
subsystem_ns_list[1]->index=2
subsystem_ns_list[1]->num_hfis=1
subsystem_ns_list[1]->hfis[0]->index=1
Expand All @@ -52,3 +54,5 @@ 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)
subsystem_ns_list[1]->discovered=0
subsystem_ns_list[1]->unavailable=0
4 changes: 4 additions & 0 deletions test/nbft/diffs/NBFT-Dell.PowerEdge.R760
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ subsystem_ns_list[0]->data_digest_required=0
subsystem_ns_list[0]->controller_id=5
subsystem_ns_list[0]->asqsz=0
subsystem_ns_list[0]->dhcp_root_path_string=(null)
subsystem_ns_list[0]->discovered=1
subsystem_ns_list[0]->unavailable=0
subsystem_ns_list[1]->index=2
subsystem_ns_list[1]->discovery->index=1
subsystem_ns_list[1]->num_hfis=1
Expand All @@ -58,3 +60,5 @@ subsystem_ns_list[1]->data_digest_required=0
subsystem_ns_list[1]->controller_id=4166
subsystem_ns_list[1]->asqsz=0
subsystem_ns_list[1]->dhcp_root_path_string=(null)
subsystem_ns_list[1]->discovered=1
subsystem_ns_list[1]->unavailable=0
2 changes: 2 additions & 0 deletions test/nbft/diffs/NBFT-auto-ipv6
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ subsystem_ns_list[0]->data_digest_required=0
subsystem_ns_list[0]->controller_id=1
subsystem_ns_list[0]->asqsz=0
subsystem_ns_list[0]->dhcp_root_path_string=(null)
subsystem_ns_list[0]->discovered=0
subsystem_ns_list[0]->unavailable=0
2 changes: 2 additions & 0 deletions test/nbft/diffs/NBFT-dhcp-ipv4
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ subsystem_ns_list[0]->data_digest_required=0
subsystem_ns_list[0]->controller_id=7
subsystem_ns_list[0]->asqsz=0
subsystem_ns_list[0]->dhcp_root_path_string=(null)
subsystem_ns_list[0]->discovered=1
subsystem_ns_list[0]->unavailable=0
2 changes: 2 additions & 0 deletions test/nbft/diffs/NBFT-dhcp-ipv6
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ subsystem_ns_list[0]->data_digest_required=0
subsystem_ns_list[0]->controller_id=34
subsystem_ns_list[0]->asqsz=0
subsystem_ns_list[0]->dhcp_root_path_string=(null)
subsystem_ns_list[0]->discovered=0
subsystem_ns_list[0]->unavailable=0
2 changes: 2 additions & 0 deletions test/nbft/diffs/NBFT-rhpoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ subsystem_ns_list[0]->data_digest_required=0
subsystem_ns_list[0]->controller_id=12
subsystem_ns_list[0]->asqsz=0
subsystem_ns_list[0]->dhcp_root_path_string=(null)
subsystem_ns_list[0]->discovered=0
subsystem_ns_list[0]->unavailable=0
2 changes: 2 additions & 0 deletions test/nbft/diffs/NBFT-static-ipv4
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ subsystem_ns_list[0]->data_digest_required=0
subsystem_ns_list[0]->controller_id=38
subsystem_ns_list[0]->asqsz=0
subsystem_ns_list[0]->dhcp_root_path_string=(null)
subsystem_ns_list[0]->discovered=0
subsystem_ns_list[0]->unavailable=0
2 changes: 2 additions & 0 deletions test/nbft/diffs/NBFT-static-ipv4-discovery
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ subsystem_ns_list[0]->data_digest_required=0
subsystem_ns_list[0]->controller_id=13
subsystem_ns_list[0]->asqsz=0
subsystem_ns_list[0]->dhcp_root_path_string=(null)
subsystem_ns_list[0]->discovered=1
subsystem_ns_list[0]->unavailable=0
2 changes: 2 additions & 0 deletions test/nbft/diffs/NBFT-static-ipv6
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ subsystem_ns_list[0]->data_digest_required=0
subsystem_ns_list[0]->controller_id=9
subsystem_ns_list[0]->asqsz=0
subsystem_ns_list[0]->dhcp_root_path_string=(null)
subsystem_ns_list[0]->discovered=0
subsystem_ns_list[0]->unavailable=0
2 changes: 2 additions & 0 deletions test/nbft/nbft-dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ static void print_nbft(struct nbft_info *table)
printf("subsystem_ns_list[%u]->controller_id=%d\n", i, (*ssns)->controller_id);
printf("subsystem_ns_list[%u]->asqsz=%d\n", i, (*ssns)->asqsz);
printf("subsystem_ns_list[%u]->dhcp_root_path_string=%s\n", i, (*ssns)->dhcp_root_path_string);
printf("subsystem_ns_list[%u]->discovered=%d\n", i, (*ssns)->discovered);
printf("subsystem_ns_list[%u]->unavailable=%d\n", i, (*ssns)->unavailable);
}
}

Expand Down

0 comments on commit 3f382c4

Please sign in to comment.