Skip to content

Commit

Permalink
Tests for AdminNetworkPolicy (#388)
Browse files Browse the repository at this point in the history
* Added some ANP tests from policy-assistant.
Fixed a small bug in handling named ports in ANP

* fixing lint errors

* Fixing lint error

* Reorganized testing infrastructure from for tests fro parsed resources - creating pod and namespace resources per test; reading expected results from file.
Added more tests from policy assistant.

* fixing lint errors

* return error if ANPs are without name or not unique names

* Revert "return error if ANPs are without name or not unique names"

This reverts commit 1805549.

* Added ANP/BANP names in tests.
Added more tests, including BANP tests, currently commented out.

* Fixed lint errors.

* Fixed lint errors

* Added eval parsed resources tests (along with connlist tests).
Moved all parsed resources tests to a separate file.

* fixing lint errors

* fixing lint errors

* Added testing of CheckIfAllowed and CheckIfAllowedNew

* fixing lint errors

* making linter happy

* Reorganized eval ANP tests, to not depend on connlist.

* Small fixes.

* small fixes

* Changed expected results to not use "all but" expressions.

* making linter happy

* making linter happy

* making lint happy

* making linter happy

* make linter happy

* Creating k8sObjects during a test run, rather then in a test creation.

* making lint happy

* make lint happy

* linter

* shutting up linter

* Moved to parsed_resources_tests some functions used only there.

* Added fake pod status IP fields

* Avoiding unnecessary exports;
Fixing lint errors.

* Making linter happy

* Update pkg/internal/testutils/parsed_resources_tests.go

Co-authored-by: Adi Sosnovich <[email protected]>

* Update pkg/internal/testutils/parsed_resources_tests.go

Co-authored-by: Adi Sosnovich <[email protected]>

* Fixed typos;
removed unneeded change.

---------

Co-authored-by: shireenf-ibm <[email protected]>
Co-authored-by: Adi Sosnovich <[email protected]>
  • Loading branch information
3 people authored Sep 3, 2024
1 parent d3f70e7 commit 0778788
Show file tree
Hide file tree
Showing 15 changed files with 1,578 additions and 1 deletion.
1,158 changes: 1,158 additions & 0 deletions pkg/internal/testutils/parsed_resources_tests.go

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions pkg/netpol/connlist/connlist_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1236,3 +1236,30 @@ var goodPathTests = []struct {
outputFormats: []string{output.TextFormat},
},
}

func runParsedResourcesConnlistTests(t *testing.T, testList []testutils.ParsedResourcesTest) {
t.Helper()
for i := 0; i < len(testList); i++ {
test := &testList[i]
t.Run(test.Name, func(t *testing.T) {
t.Parallel()
analyzer := NewConnlistAnalyzer(WithOutputFormat(test.OutputFormat))
res, _, err := analyzer.connsListFromParsedResources(test.Getk8sObjects())
require.Nil(t, err, test.TestInfo)
out, err := analyzer.ConnectionsListToString(res)
require.Nil(t, err, test.TestInfo)
if test.Banp == nil { // Tanya - remove this 'if' whenever BaselineAdminNetworkPolicy is implemented
testutils.CheckActualVsExpectedOutputMatch(t, test.ExpectedOutputFileName, out,
test.TestInfo, currentPkg)
}
})
}
}

func TestAllParsedResourcesConnlistTests(t *testing.T) {
runParsedResourcesConnlistTests(t, testutils.ANPConnectivityFromParsedResourcesTest)
runParsedResourcesConnlistTests(t, testutils.BANPConnectivityFromParsedResourcesTest)
runParsedResourcesConnlistTests(t, testutils.ANPWithNetPolV1FromParsedResourcesTest)
runParsedResourcesConnlistTests(t, testutils.BANPWithNetPolV1FromParsedResourcesTest)
runParsedResourcesConnlistTests(t, testutils.ANPWithBANPFromParsedResourcesTest)
}
84 changes: 83 additions & 1 deletion pkg/netpol/eval/eval_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import (
"k8s.io/apimachinery/pkg/util/intstr"
"sigs.k8s.io/yaml"

"github.com/stretchr/testify/require"

"github.com/np-guard/netpol-analyzer/pkg/internal/output"
"github.com/np-guard/netpol-analyzer/pkg/internal/testutils"
"github.com/np-guard/netpol-analyzer/pkg/logger"
Expand Down Expand Up @@ -1090,7 +1092,7 @@ func TestGeneralPerformance(t *testing.T) {
t.Skip("skipping TestGeneralPerformance")
}
path := testutils.GetTestDirPath("onlineboutique")
// list of connections to test with, for CheckIfAllowed / CheckIfAllowedNew
// list of connections to test with, for CheckIfAllowed / checkIfAllowedNew
connectionsListForTest := []TestEntry{
{protocol: "tcp", port: "5050"},
{protocol: "tcp", port: "3550"},
Expand Down Expand Up @@ -1792,3 +1794,83 @@ func TestPolicyEngineWithWorkloads(t *testing.T) {
t.Fatalf("TestPolicyEngineWithWorkloads: unexpected podsMap len: %d ", len(pe.podsMap))
}
}

const defaultPort = "80"

func pickContainedConn(conn *common.ConnectionSet) (resProtocol, resPort string) {
if conn.IsEmpty() {
return "", ""
}
if conn.AllowAll {
return string(v1.ProtocolTCP), defaultPort
}
for protocol, portSet := range conn.AllowedProtocols {
resProtocol = string(protocol)
if portSet.IsAll() {
resPort = defaultPort
} else {
resPort = fmt.Sprintf("%d", portSet.Ports.Min())
}
break
}
return resProtocol, resPort
}

func pickUncontainedConn(conn *common.ConnectionSet) (resProtocol, resPort string) {
complementSet := common.MakeConnectionSet(true)
complementSet.Subtract(conn)
return pickContainedConn(complementSet)
}

func runParsedResourcesEvalTests(t *testing.T, testList []testutils.ParsedResourcesTest) {
t.Helper()
for i := 0; i < len(testList); i++ {
test := &testList[i]
t.Run(test.Name, func(t *testing.T) {
t.Parallel()
if test.Banp != nil { // Tanya - remove this 'if' whenever BaselineAdminNetworkPolicy is implemented
return // Skip tests with BANP, until implemented
}
pe, err := NewPolicyEngineWithObjects(test.Getk8sObjects())
require.Nil(t, err, test.TestInfo)
for _, evalTest := range test.EvalTests {
src := evalTest.Src
dst := evalTest.Dst
allowedConns, err := pe.allAllowedConnections(src, dst)
require.Nil(t, err, test.TestInfo)
require.Equal(t, evalTest.ExpResult, allowedConns.String())

contProtocol, contPort := pickContainedConn(allowedConns)
if contPort != "" {
var res bool
// Tanya: uncomment whenever CheckIfAllowed supports ANPs
// res, err := pe.CheckIfAllowed(srcForEval, dstForEval, contProtocol, contPort)
// require.Nil(t, err, test.TestInfo)
// require.Equal(t, true, res, test.TestInfo)
res, err = pe.checkIfAllowedNew(src, dst, contProtocol, contPort)
require.Nil(t, err, test.TestInfo)
require.Equal(t, true, res, test.TestInfo)
}
uncontProtocol, uncontPort := pickUncontainedConn(allowedConns)
if uncontPort != "" {
var res bool
// Tanya: uncomment whenever CheckIfAllowed supports ANPs
// res, err := pe.CheckIfAllowed(srcForEval, dstForEval, uncontProtocol, uncontPort)
// require.Nil(t, err, test.TestInfo)
// require.Equal(t, false, res, test.TestInfo)
res, err = pe.checkIfAllowedNew(src, dst, uncontProtocol, uncontPort)
require.Nil(t, err, test.TestInfo)
require.Equal(t, false, res, test.TestInfo)
}
}
})
}
}

func TestAllParsedResourcesEvalTests(t *testing.T) {
runParsedResourcesEvalTests(t, testutils.ANPConnectivityFromParsedResourcesTest)
runParsedResourcesEvalTests(t, testutils.BANPConnectivityFromParsedResourcesTest)
runParsedResourcesEvalTests(t, testutils.ANPWithNetPolV1FromParsedResourcesTest)
runParsedResourcesEvalTests(t, testutils.BANPWithNetPolV1FromParsedResourcesTest)
runParsedResourcesEvalTests(t, testutils.ANPWithBANPFromParsedResourcesTest)
}
20 changes: 20 additions & 0 deletions test_outputs/connlist/test10_anp_conn_from_parsed_res.txt
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-79,82-65535,UDP 1-79,82-65535
x/a[Pod] => y/a[Pod] : SCTP 1-65535,TCP 1-79,82-65535,UDP 1-79,82-65535
x/a[Pod] => y/b[Pod] : SCTP 1-65535,TCP 1-79,82-65535,UDP 1-79,82-65535
x/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections
x/b[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-79,82-65535,UDP 1-79,82-65535
x/b[Pod] => y/a[Pod] : SCTP 1-65535,TCP 1-79,82-65535,UDP 1-79,82-65535
x/b[Pod] => y/b[Pod] : SCTP 1-65535,TCP 1-79,82-65535,UDP 1-79,82-65535
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,82-65535,UDP 1-79,82-65535
y/a[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-79,82-65535,UDP 1-79,82-65535
y/a[Pod] => y/b[Pod] : SCTP 1-65535,TCP 1-79,82-65535,UDP 1-79,82-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,82-65535,UDP 1-79,82-65535
y/b[Pod] => x/b[Pod] : SCTP 1-65535,TCP 1-79,82-65535,UDP 1-79,82-65535
y/b[Pod] => y/a[Pod] : SCTP 1-65535,TCP 1-79,82-65535,UDP 1-79,82-65535
20 changes: 20 additions & 0 deletions test_outputs/connlist/test1_anp_conn_from_parsed_res.txt
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-79,81-65535,UDP 1-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] : 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
20 changes: 20 additions & 0 deletions test_outputs/connlist/test1_anp_npv1_conn_from_parsed_res.txt
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] : UDP 80
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] : TCP 80-81,UDP 80-81
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] : TCP 80-81,UDP 80-81
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] : TCP 80-81,UDP 80-81
y/b[Pod] => x/b[Pod] : All Connections
y/b[Pod] => y/a[Pod] : All Connections
20 changes: 20 additions & 0 deletions test_outputs/connlist/test2_anp_conn_from_parsed_res.txt
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] : SCTP 1-65535,TCP 1-79,81-65535,UDP 1-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] : 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
20 changes: 20 additions & 0 deletions test_outputs/connlist/test2_anp_npv1_conn_from_parsed_res.txt
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] : UDP 80
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] : TCP 80-81,UDP 80-81
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] : UDP 80
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] : UDP 80
y/b[Pod] => x/b[Pod] : All Connections
y/b[Pod] => y/a[Pod] : All Connections
20 changes: 20 additions & 0 deletions test_outputs/connlist/test3_anp_conn_from_parsed_res.txt
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] : SCTP 1-65535,TCP 1-79,81-65535,UDP 1-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] : 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
90 changes: 90 additions & 0 deletions test_outputs/connlist/test4_anp_conn_from_parsed_res.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
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 => x/c[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
0.0.0.0-255.255.255.255 => y/c[Pod] : All Connections
0.0.0.0-255.255.255.255 => z/a[Pod] : All Connections
0.0.0.0-255.255.255.255 => z/b[Pod] : All Connections
0.0.0.0-255.255.255.255 => z/c[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] => x/c[Pod] : All Connections
x/a[Pod] => y/a[Pod] : All Connections
x/a[Pod] => y/b[Pod] : All Connections
x/a[Pod] => y/c[Pod] : All Connections
x/a[Pod] => z/a[Pod] : All Connections
x/a[Pod] => z/b[Pod] : All Connections
x/a[Pod] => z/c[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-79,82-65535,UDP 1-65535
x/b[Pod] => x/c[Pod] : All Connections
x/b[Pod] => y/a[Pod] : All Connections
x/b[Pod] => y/b[Pod] : All Connections
x/b[Pod] => y/c[Pod] : All Connections
x/b[Pod] => z/a[Pod] : All Connections
x/b[Pod] => z/b[Pod] : All Connections
x/b[Pod] => z/c[Pod] : All Connections
x/c[Pod] => 0.0.0.0-255.255.255.255 : All Connections
x/c[Pod] => x/a[Pod] : SCTP 1-65535,TCP 1-79,82-65535,UDP 1-65535
x/c[Pod] => x/b[Pod] : All Connections
x/c[Pod] => y/a[Pod] : All Connections
x/c[Pod] => y/b[Pod] : All Connections
x/c[Pod] => y/c[Pod] : All Connections
x/c[Pod] => z/a[Pod] : All Connections
x/c[Pod] => z/b[Pod] : All Connections
x/c[Pod] => z/c[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] => x/c[Pod] : All Connections
y/a[Pod] => y/b[Pod] : All Connections
y/a[Pod] => y/c[Pod] : All Connections
y/a[Pod] => z/a[Pod] : All Connections
y/a[Pod] => z/b[Pod] : All Connections
y/a[Pod] => z/c[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] => x/c[Pod] : All Connections
y/b[Pod] => y/a[Pod] : All Connections
y/b[Pod] => y/c[Pod] : All Connections
y/b[Pod] => z/a[Pod] : All Connections
y/b[Pod] => z/b[Pod] : All Connections
y/b[Pod] => z/c[Pod] : All Connections
y/c[Pod] => 0.0.0.0-255.255.255.255 : All Connections
y/c[Pod] => x/a[Pod] : All Connections
y/c[Pod] => x/b[Pod] : All Connections
y/c[Pod] => x/c[Pod] : All Connections
y/c[Pod] => y/a[Pod] : All Connections
y/c[Pod] => y/b[Pod] : All Connections
y/c[Pod] => z/a[Pod] : All Connections
y/c[Pod] => z/b[Pod] : All Connections
y/c[Pod] => z/c[Pod] : All Connections
z/a[Pod] => 0.0.0.0-255.255.255.255 : All Connections
z/a[Pod] => x/a[Pod] : All Connections
z/a[Pod] => x/b[Pod] : All Connections
z/a[Pod] => x/c[Pod] : All Connections
z/a[Pod] => y/a[Pod] : All Connections
z/a[Pod] => y/b[Pod] : All Connections
z/a[Pod] => y/c[Pod] : All Connections
z/a[Pod] => z/b[Pod] : All Connections
z/a[Pod] => z/c[Pod] : All Connections
z/b[Pod] => 0.0.0.0-255.255.255.255 : All Connections
z/b[Pod] => x/a[Pod] : All Connections
z/b[Pod] => x/b[Pod] : All Connections
z/b[Pod] => x/c[Pod] : All Connections
z/b[Pod] => y/a[Pod] : All Connections
z/b[Pod] => y/b[Pod] : All Connections
z/b[Pod] => y/c[Pod] : All Connections
z/b[Pod] => z/a[Pod] : All Connections
z/b[Pod] => z/c[Pod] : All Connections
z/c[Pod] => 0.0.0.0-255.255.255.255 : All Connections
z/c[Pod] => x/a[Pod] : All Connections
z/c[Pod] => x/b[Pod] : All Connections
z/c[Pod] => x/c[Pod] : All Connections
z/c[Pod] => y/a[Pod] : All Connections
z/c[Pod] => y/b[Pod] : All Connections
z/c[Pod] => y/c[Pod] : All Connections
z/c[Pod] => z/a[Pod] : All Connections
z/c[Pod] => z/b[Pod] : All Connections
20 changes: 20 additions & 0 deletions test_outputs/connlist/test5_anp_conn_from_parsed_res.txt
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] : 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] : SCTP 1-65535,TCP 1-65535,UDP 1-79,81-65535
y/b[Pod] => x/b[Pod] : All Connections
y/b[Pod] => y/a[Pod] : All Connections
Loading

0 comments on commit 0778788

Please sign in to comment.