Skip to content

Commit

Permalink
tests: Adapt to added NBFT SSNS unavailable flag
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 9, 2024
1 parent df36aed commit e9ec8e0
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 0 deletions.
2 changes: 2 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,7 @@ 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]->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 +53,4 @@ 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]->unavailable=0
2 changes: 2 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,7 @@ 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]->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 +59,4 @@ 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]->unavailable=0
1 change: 1 addition & 0 deletions test/nbft/diffs/NBFT-auto-ipv6
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ 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]->unavailable=0
1 change: 1 addition & 0 deletions test/nbft/diffs/NBFT-dhcp-ipv4
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ 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]->unavailable=0
1 change: 1 addition & 0 deletions test/nbft/diffs/NBFT-dhcp-ipv6
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ 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]->unavailable=0
1 change: 1 addition & 0 deletions test/nbft/diffs/NBFT-rhpoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ 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]->unavailable=0
1 change: 1 addition & 0 deletions test/nbft/diffs/NBFT-static-ipv4
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ 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]->unavailable=0
1 change: 1 addition & 0 deletions test/nbft/diffs/NBFT-static-ipv4-discovery
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ 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]->unavailable=0
1 change: 1 addition & 0 deletions test/nbft/diffs/NBFT-static-ipv6
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ 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]->unavailable=0
1 change: 1 addition & 0 deletions test/nbft/nbft-dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ 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]->unavailable=%d\n", i, (*ssns)->unavailable);
}
}

Expand Down

0 comments on commit e9ec8e0

Please sign in to comment.