-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new parsed tests with expected outputs and a fix to the func computin…
…g "intersection" between ANP's egress-ingress
- Loading branch information
1 parent
060e428
commit 793d3cb
Showing
11 changed files
with
759 additions
and
47 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
test_outputs/connlist/test11_anp_banp_unmatched_ingress_egress_from_parsed_res.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
0.0.0.0-255.255.255.255 => x/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => x/b[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/b[Pod] : All Connections | ||
x/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/a[Pod] => x/b[Pod] : All Connections | ||
x/a[Pod] => y/a[Pod] : All Connections | ||
x/a[Pod] => y/b[Pod] : All Connections | ||
x/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/b[Pod] => x/a[Pod] : All Connections | ||
x/b[Pod] => y/a[Pod] : All Connections | ||
x/b[Pod] => y/b[Pod] : All Connections | ||
y/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/a[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/a[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/a[Pod] => y/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/b[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => y/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 |
20 changes: 20 additions & 0 deletions
20
test_outputs/connlist/test12_anp_banp_unmatched_ingress_egress_from_parsed_res.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
0.0.0.0-255.255.255.255 => x/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => x/b[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/b[Pod] : All Connections | ||
x/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/a[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
x/a[Pod] => y/a[Pod] : All Connections | ||
x/a[Pod] => y/b[Pod] : All Connections | ||
x/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/b[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
x/b[Pod] => y/a[Pod] : All Connections | ||
x/b[Pod] => y/b[Pod] : All Connections | ||
y/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/a[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/a[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/a[Pod] => y/b[Pod] : All Connections | ||
y/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/b[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => y/a[Pod] : All Connections |
16 changes: 16 additions & 0 deletions
16
test_outputs/connlist/test13_anp_unmatched_ingress_egress_from_parsed_res.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
0.0.0.0-255.255.255.255 => x/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => x/b[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/b[Pod] : All Connections | ||
x/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/a[Pod] => x/b[Pod] : TCP 80 | ||
x/a[Pod] => y/a[Pod] : All Connections | ||
x/a[Pod] => y/b[Pod] : All Connections | ||
x/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/b[Pod] => x/a[Pod] : TCP 80 | ||
x/b[Pod] => y/a[Pod] : All Connections | ||
x/b[Pod] => y/b[Pod] : All Connections | ||
y/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/a[Pod] => y/b[Pod] : UDP 80 | ||
y/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/b[Pod] => y/a[Pod] : UDP 80 |
20 changes: 20 additions & 0 deletions
20
test_outputs/connlist/test14_anp_banp_unmatched_ingress_egress_from_parsed_res.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
0.0.0.0-255.255.255.255 => x/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => x/b[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/b[Pod] : All Connections | ||
x/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/a[Pod] => x/b[Pod] : All Connections | ||
x/a[Pod] => y/a[Pod] : All Connections | ||
x/a[Pod] => y/b[Pod] : All Connections | ||
x/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/b[Pod] => x/a[Pod] : All Connections | ||
x/b[Pod] => y/a[Pod] : All Connections | ||
x/b[Pod] => y/b[Pod] : All Connections | ||
y/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/a[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-79,81-65535,UDP 1-79,81-65535 | ||
y/a[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-79,81-65535,UDP 1-79,81-65535 | ||
y/a[Pod] => y/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/b[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-79,81-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-79,81-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => y/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 |
16 changes: 16 additions & 0 deletions
16
test_outputs/connlist/test1_anp_unmatched_ingress_egress_from_parsed_res.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
0.0.0.0-255.255.255.255 => x/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => x/b[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/b[Pod] : All Connections | ||
x/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/a[Pod] => x/b[Pod] : TCP 80 | ||
x/a[Pod] => y/a[Pod] : All Connections | ||
x/a[Pod] => y/b[Pod] : All Connections | ||
x/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/b[Pod] => x/a[Pod] : TCP 80 | ||
x/b[Pod] => y/a[Pod] : All Connections | ||
x/b[Pod] => y/b[Pod] : All Connections | ||
y/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/a[Pod] => y/b[Pod] : UDP 80 | ||
y/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/b[Pod] => y/a[Pod] : UDP 80 |
20 changes: 20 additions & 0 deletions
20
test_outputs/connlist/test2_anp_unmatched_ingress_egress_from_parsed_res.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
0.0.0.0-255.255.255.255 => x/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => x/b[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/b[Pod] : All Connections | ||
x/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/a[Pod] => x/b[Pod] : All Connections | ||
x/a[Pod] => y/a[Pod] : All Connections | ||
x/a[Pod] => y/b[Pod] : All Connections | ||
x/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/b[Pod] => x/a[Pod] : All Connections | ||
x/b[Pod] => y/a[Pod] : All Connections | ||
x/b[Pod] => y/b[Pod] : All Connections | ||
y/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/a[Pod] => x/a[Pod] : All Connections | ||
y/a[Pod] => x/b[Pod] : All Connections | ||
y/a[Pod] => y/b[Pod] : All Connections | ||
y/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/b[Pod] => x/a[Pod] : All Connections | ||
y/b[Pod] => x/b[Pod] : All Connections | ||
y/b[Pod] => y/a[Pod] : All Connections |
16 changes: 16 additions & 0 deletions
16
test_outputs/connlist/test3_anp_banp_unmatched_ingress_egress_from_parsed_res.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
0.0.0.0-255.255.255.255 => x/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => x/b[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/b[Pod] : All Connections | ||
x/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/a[Pod] => x/b[Pod] : All Connections | ||
x/a[Pod] => y/a[Pod] : All Connections | ||
x/a[Pod] => y/b[Pod] : All Connections | ||
x/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/b[Pod] => x/a[Pod] : All Connections | ||
x/b[Pod] => y/a[Pod] : All Connections | ||
x/b[Pod] => y/b[Pod] : All Connections | ||
y/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/a[Pod] => y/b[Pod] : UDP 80 | ||
y/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/b[Pod] => y/a[Pod] : UDP 80 |
20 changes: 20 additions & 0 deletions
20
test_outputs/connlist/test4_anp_unmatched_ingress_egress_from_parsed_res.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
0.0.0.0-255.255.255.255 => x/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => x/b[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/b[Pod] : All Connections | ||
x/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/a[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
x/a[Pod] => y/a[Pod] : All Connections | ||
x/a[Pod] => y/b[Pod] : All Connections | ||
x/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/b[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
x/b[Pod] => y/a[Pod] : All Connections | ||
x/b[Pod] => y/b[Pod] : All Connections | ||
y/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/a[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/a[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/a[Pod] => y/b[Pod] : All Connections | ||
y/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/b[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => y/a[Pod] : All Connections |
20 changes: 20 additions & 0 deletions
20
test_outputs/connlist/test6_anp_unmatched_ingress_egress_from_parsed_res.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
0.0.0.0-255.255.255.255 => x/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => x/b[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/a[Pod] : All Connections | ||
0.0.0.0-255.255.255.255 => y/b[Pod] : All Connections | ||
x/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/a[Pod] => x/b[Pod] : All Connections | ||
x/a[Pod] => y/a[Pod] : All Connections | ||
x/a[Pod] => y/b[Pod] : All Connections | ||
x/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
x/b[Pod] => x/a[Pod] : All Connections | ||
x/b[Pod] => y/a[Pod] : All Connections | ||
x/b[Pod] => y/b[Pod] : All Connections | ||
y/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/a[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/a[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/a[Pod] => y/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections | ||
y/b[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 | ||
y/b[Pod] => y/a[Pod] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535 |