Skip to content

Commit 8104743

Browse files
tbzatekigaw
authored andcommitted
tests: Adapt to added NBFT SSNS flags
+ regenerate the sample table outputs. Signed-off-by: Tomas Bzatek <[email protected]>
1 parent ab7cd43 commit 8104743

10 files changed

Lines changed: 24 additions & 0 deletions

test/nbft/diffs/NBFT-Dell.PowerEdge.R660-fw1.5.5-single

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ subsystem_ns_list[0]->data_digest_required=0
3636
subsystem_ns_list[0]->controller_id=4105
3737
subsystem_ns_list[0]->asqsz=0
3838
subsystem_ns_list[0]->dhcp_root_path_string=(null)
39+
subsystem_ns_list[0]->discovered=0
40+
subsystem_ns_list[0]->unavailable=0
3941
subsystem_ns_list[1]->index=2
4042
subsystem_ns_list[1]->num_hfis=1
4143
subsystem_ns_list[1]->hfis[0]->index=1
@@ -52,3 +54,5 @@ subsystem_ns_list[1]->data_digest_required=0
5254
subsystem_ns_list[1]->controller_id=4105
5355
subsystem_ns_list[1]->asqsz=0
5456
subsystem_ns_list[1]->dhcp_root_path_string=(null)
57+
subsystem_ns_list[1]->discovered=0
58+
subsystem_ns_list[1]->unavailable=0

test/nbft/diffs/NBFT-Dell.PowerEdge.R760

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ subsystem_ns_list[0]->data_digest_required=0
4141
subsystem_ns_list[0]->controller_id=5
4242
subsystem_ns_list[0]->asqsz=0
4343
subsystem_ns_list[0]->dhcp_root_path_string=(null)
44+
subsystem_ns_list[0]->discovered=1
45+
subsystem_ns_list[0]->unavailable=0
4446
subsystem_ns_list[1]->index=2
4547
subsystem_ns_list[1]->discovery->index=1
4648
subsystem_ns_list[1]->num_hfis=1
@@ -58,3 +60,5 @@ subsystem_ns_list[1]->data_digest_required=0
5860
subsystem_ns_list[1]->controller_id=4166
5961
subsystem_ns_list[1]->asqsz=0
6062
subsystem_ns_list[1]->dhcp_root_path_string=(null)
63+
subsystem_ns_list[1]->discovered=1
64+
subsystem_ns_list[1]->unavailable=0

test/nbft/diffs/NBFT-auto-ipv6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ subsystem_ns_list[0]->data_digest_required=0
3636
subsystem_ns_list[0]->controller_id=1
3737
subsystem_ns_list[0]->asqsz=0
3838
subsystem_ns_list[0]->dhcp_root_path_string=(null)
39+
subsystem_ns_list[0]->discovered=0
40+
subsystem_ns_list[0]->unavailable=0

test/nbft/diffs/NBFT-dhcp-ipv4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ subsystem_ns_list[0]->data_digest_required=0
4141
subsystem_ns_list[0]->controller_id=7
4242
subsystem_ns_list[0]->asqsz=0
4343
subsystem_ns_list[0]->dhcp_root_path_string=(null)
44+
subsystem_ns_list[0]->discovered=1
45+
subsystem_ns_list[0]->unavailable=0

test/nbft/diffs/NBFT-dhcp-ipv6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ subsystem_ns_list[0]->data_digest_required=0
3636
subsystem_ns_list[0]->controller_id=34
3737
subsystem_ns_list[0]->asqsz=0
3838
subsystem_ns_list[0]->dhcp_root_path_string=(null)
39+
subsystem_ns_list[0]->discovered=0
40+
subsystem_ns_list[0]->unavailable=0

test/nbft/diffs/NBFT-rhpoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ subsystem_ns_list[0]->data_digest_required=0
3636
subsystem_ns_list[0]->controller_id=12
3737
subsystem_ns_list[0]->asqsz=0
3838
subsystem_ns_list[0]->dhcp_root_path_string=(null)
39+
subsystem_ns_list[0]->discovered=0
40+
subsystem_ns_list[0]->unavailable=0

test/nbft/diffs/NBFT-static-ipv4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ subsystem_ns_list[0]->data_digest_required=0
3636
subsystem_ns_list[0]->controller_id=38
3737
subsystem_ns_list[0]->asqsz=0
3838
subsystem_ns_list[0]->dhcp_root_path_string=(null)
39+
subsystem_ns_list[0]->discovered=0
40+
subsystem_ns_list[0]->unavailable=0

test/nbft/diffs/NBFT-static-ipv4-discovery

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ subsystem_ns_list[0]->data_digest_required=0
4141
subsystem_ns_list[0]->controller_id=13
4242
subsystem_ns_list[0]->asqsz=0
4343
subsystem_ns_list[0]->dhcp_root_path_string=(null)
44+
subsystem_ns_list[0]->discovered=1
45+
subsystem_ns_list[0]->unavailable=0

test/nbft/diffs/NBFT-static-ipv6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ subsystem_ns_list[0]->data_digest_required=0
3636
subsystem_ns_list[0]->controller_id=9
3737
subsystem_ns_list[0]->asqsz=0
3838
subsystem_ns_list[0]->dhcp_root_path_string=(null)
39+
subsystem_ns_list[0]->discovered=0
40+
subsystem_ns_list[0]->unavailable=0

test/nbft/nbft-dump.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ static void print_nbft(struct nbft_info *table)
9696
printf("subsystem_ns_list[%u]->controller_id=%d\n", i, (*ssns)->controller_id);
9797
printf("subsystem_ns_list[%u]->asqsz=%d\n", i, (*ssns)->asqsz);
9898
printf("subsystem_ns_list[%u]->dhcp_root_path_string=%s\n", i, (*ssns)->dhcp_root_path_string);
99+
printf("subsystem_ns_list[%u]->discovered=%d\n", i, (*ssns)->discovered);
100+
printf("subsystem_ns_list[%u]->unavailable=%d\n", i, (*ssns)->unavailable);
99101
}
100102
}
101103

0 commit comments

Comments
 (0)