@@ -21,8 +21,9 @@ const (
21
21
)
22
22
23
23
const (
24
- thisNode = "this-node"
25
- otherNode = "other-node"
24
+ testNodeIP = "6.7.8.9"
25
+ thisNode = "this-node"
26
+ otherNode = "other-node"
26
27
27
28
ip1 = "10.0.0.1"
28
29
ip2 = "10.0.0.2"
62
63
AddEmptySetToLists : true ,
63
64
},
64
65
PolicyManagerCfg : & policies.PolicyManagerCfg {
66
+ NodeIP : testNodeIP ,
65
67
PolicyMode : policies .IPSetPolicyMode ,
66
68
},
67
69
}
73
75
AddEmptySetToLists : true ,
74
76
},
75
77
PolicyManagerCfg : & policies.PolicyManagerCfg {
78
+ NodeIP : testNodeIP ,
76
79
PolicyMode : policies .IPSetPolicyMode ,
77
80
},
78
81
}
@@ -301,6 +304,13 @@ func basicTests() []*SerialTestCase {
301
304
RemotePorts : "" ,
302
305
Priority : 222 ,
303
306
},
307
+ {
308
+ ID : "azure-acl-x-base" ,
309
+ Action : "Allow" ,
310
+ Direction : "In" ,
311
+ RemoteAddresses : testNodeIP ,
312
+ Priority : 201 ,
313
+ },
304
314
},
305
315
},
306
316
},
@@ -403,6 +413,13 @@ func basicTests() []*SerialTestCase {
403
413
RemotePorts : "" ,
404
414
Priority : 222 ,
405
415
},
416
+ {
417
+ ID : "azure-acl-x-base" ,
418
+ Action : "Allow" ,
419
+ Direction : "In" ,
420
+ RemoteAddresses : testNodeIP ,
421
+ Priority : 201 ,
422
+ },
406
423
},
407
424
},
408
425
},
@@ -580,6 +597,13 @@ func basicTests() []*SerialTestCase {
580
597
RemotePorts : "" ,
581
598
Priority : 222 ,
582
599
},
600
+ {
601
+ ID : "azure-acl-x-base" ,
602
+ Action : "Allow" ,
603
+ Direction : "In" ,
604
+ RemoteAddresses : testNodeIP ,
605
+ Priority : 201 ,
606
+ },
583
607
},
584
608
},
585
609
},
@@ -745,6 +769,13 @@ func capzCalicoTests() []*SerialTestCase {
745
769
RemotePorts : "" ,
746
770
Priority : 222 ,
747
771
},
772
+ {
773
+ ID : "azure-acl-x-base" ,
774
+ Action : "Allow" ,
775
+ Direction : "In" ,
776
+ RemoteAddresses : testNodeIP ,
777
+ Priority : 201 ,
778
+ },
748
779
},
749
780
},
750
781
},
@@ -883,6 +914,13 @@ func updatePodTests() []*SerialTestCase {
883
914
RemotePorts : "" ,
884
915
Priority : 222 ,
885
916
},
917
+ {
918
+ ID : "azure-acl-x-base2" ,
919
+ Action : "Allow" ,
920
+ Direction : "In" ,
921
+ RemoteAddresses : testNodeIP ,
922
+ Priority : 201 ,
923
+ },
886
924
},
887
925
},
888
926
},
@@ -943,6 +981,13 @@ func updatePodTests() []*SerialTestCase {
943
981
RemotePorts : "" ,
944
982
Priority : 222 ,
945
983
},
984
+ {
985
+ ID : "azure-acl-x-base2" ,
986
+ Action : "Allow" ,
987
+ Direction : "In" ,
988
+ RemoteAddresses : testNodeIP ,
989
+ Priority : 201 ,
990
+ },
946
991
},
947
992
},
948
993
},
@@ -1002,6 +1047,13 @@ func updatePodTests() []*SerialTestCase {
1002
1047
RemotePorts : "" ,
1003
1048
Priority : 222 ,
1004
1049
},
1050
+ {
1051
+ ID : "azure-acl-x-base2" ,
1052
+ Action : "Allow" ,
1053
+ Direction : "In" ,
1054
+ RemoteAddresses : testNodeIP ,
1055
+ Priority : 201 ,
1056
+ },
1005
1057
},
1006
1058
},
1007
1059
},
@@ -1060,6 +1112,13 @@ func updatePodTests() []*SerialTestCase {
1060
1112
RemotePorts : "" ,
1061
1113
Priority : 222 ,
1062
1114
},
1115
+ {
1116
+ ID : "azure-acl-x-base2" ,
1117
+ Action : "Allow" ,
1118
+ Direction : "In" ,
1119
+ RemoteAddresses : testNodeIP ,
1120
+ Priority : 201 ,
1121
+ },
1063
1122
},
1064
1123
},
1065
1124
},
@@ -1122,6 +1181,13 @@ func updatePodTests() []*SerialTestCase {
1122
1181
RemotePorts : "" ,
1123
1182
Priority : 222 ,
1124
1183
},
1184
+ {
1185
+ ID : "azure-acl-x-base2" ,
1186
+ Action : "Allow" ,
1187
+ Direction : "In" ,
1188
+ RemoteAddresses : testNodeIP ,
1189
+ Priority : 201 ,
1190
+ },
1125
1191
{
1126
1192
ID : "azure-acl-baseazurewireserver" ,
1127
1193
Action : "Block" ,
@@ -1222,6 +1288,13 @@ func updatePodTests() []*SerialTestCase {
1222
1288
RemotePorts : "" ,
1223
1289
Priority : 222 ,
1224
1290
},
1291
+ {
1292
+ ID : "azure-acl-x-base2" ,
1293
+ Action : "Allow" ,
1294
+ Direction : "In" ,
1295
+ RemoteAddresses : testNodeIP ,
1296
+ Priority : 201 ,
1297
+ },
1225
1298
},
1226
1299
},
1227
1300
},
@@ -1282,6 +1355,13 @@ func updatePodTests() []*SerialTestCase {
1282
1355
RemotePorts : "" ,
1283
1356
Priority : 222 ,
1284
1357
},
1358
+ {
1359
+ ID : "azure-acl-x-base2" ,
1360
+ Action : "Allow" ,
1361
+ Direction : "In" ,
1362
+ RemoteAddresses : testNodeIP ,
1363
+ Priority : 201 ,
1364
+ },
1285
1365
},
1286
1366
},
1287
1367
},
@@ -1342,6 +1422,13 @@ func updatePodTests() []*SerialTestCase {
1342
1422
RemotePorts : "" ,
1343
1423
Priority : 222 ,
1344
1424
},
1425
+ {
1426
+ ID : "azure-acl-x-base2" ,
1427
+ Action : "Allow" ,
1428
+ Direction : "In" ,
1429
+ RemoteAddresses : testNodeIP ,
1430
+ Priority : 201 ,
1431
+ },
1345
1432
},
1346
1433
},
1347
1434
},
@@ -1402,6 +1489,13 @@ func updatePodTests() []*SerialTestCase {
1402
1489
RemotePorts : "" ,
1403
1490
Priority : 222 ,
1404
1491
},
1492
+ {
1493
+ ID : "azure-acl-x-base2" ,
1494
+ Action : "Allow" ,
1495
+ Direction : "In" ,
1496
+ RemoteAddresses : testNodeIP ,
1497
+ Priority : 201 ,
1498
+ },
1405
1499
},
1406
1500
},
1407
1501
},
@@ -1577,6 +1671,13 @@ func updatePodTests() []*SerialTestCase {
1577
1671
RemotePorts : "" ,
1578
1672
Priority : 222 ,
1579
1673
},
1674
+ {
1675
+ ID : "azure-acl-x-base2" ,
1676
+ Action : "Allow" ,
1677
+ Direction : "In" ,
1678
+ RemoteAddresses : testNodeIP ,
1679
+ Priority : 201 ,
1680
+ },
1580
1681
},
1581
1682
},
1582
1683
},
@@ -1685,6 +1786,13 @@ func podAssignmentSequence3Tests() []*SerialTestCase {
1685
1786
RemotePorts : "" ,
1686
1787
Priority : 222 ,
1687
1788
},
1789
+ {
1790
+ ID : "azure-acl-x-base2" ,
1791
+ Action : "Allow" ,
1792
+ Direction : "In" ,
1793
+ RemoteAddresses : testNodeIP ,
1794
+ Priority : 201 ,
1795
+ },
1688
1796
},
1689
1797
},
1690
1798
},
@@ -1816,6 +1924,13 @@ func podAssignmentSequence3Tests() []*SerialTestCase {
1816
1924
RemotePorts : "" ,
1817
1925
Priority : 222 ,
1818
1926
},
1927
+ {
1928
+ ID : "azure-acl-x-base2" ,
1929
+ Action : "Allow" ,
1930
+ Direction : "In" ,
1931
+ RemoteAddresses : testNodeIP ,
1932
+ Priority : 201 ,
1933
+ },
1819
1934
},
1820
1935
},
1821
1936
},
@@ -1881,6 +1996,13 @@ func podAssignmentSequence3Tests() []*SerialTestCase {
1881
1996
RemotePorts : "" ,
1882
1997
Priority : 222 ,
1883
1998
},
1999
+ {
2000
+ ID : "azure-acl-x-base2" ,
2001
+ Action : "Allow" ,
2002
+ Direction : "In" ,
2003
+ RemoteAddresses : testNodeIP ,
2004
+ Priority : 201 ,
2005
+ },
1884
2006
{
1885
2007
ID : "azure-acl-x-base3" ,
1886
2008
Protocols : "" ,
@@ -1903,6 +2025,13 @@ func podAssignmentSequence3Tests() []*SerialTestCase {
1903
2025
RemotePorts : "" ,
1904
2026
Priority : 222 ,
1905
2027
},
2028
+ {
2029
+ ID : "azure-acl-x-base3" ,
2030
+ Action : "Allow" ,
2031
+ Direction : "In" ,
2032
+ RemoteAddresses : testNodeIP ,
2033
+ Priority : 201 ,
2034
+ },
1906
2035
},
1907
2036
},
1908
2037
},
@@ -2036,6 +2165,13 @@ func remoteEndpointTests() []*SerialTestCase {
2036
2165
RemotePorts : "" ,
2037
2166
Priority : 222 ,
2038
2167
},
2168
+ {
2169
+ ID : "azure-acl-x-base" ,
2170
+ Action : "Allow" ,
2171
+ Direction : "In" ,
2172
+ RemoteAddresses : testNodeIP ,
2173
+ Priority : 201 ,
2174
+ },
2039
2175
},
2040
2176
},
2041
2177
},
@@ -2109,6 +2245,13 @@ func getAllMultiJobTests() []*MultiJobTestCase {
2109
2245
RemotePorts : "" ,
2110
2246
Priority : 222 ,
2111
2247
},
2248
+ {
2249
+ ID : "azure-acl-x-base" ,
2250
+ Action : "Allow" ,
2251
+ Direction : "In" ,
2252
+ RemoteAddresses : testNodeIP ,
2253
+ Priority : 201 ,
2254
+ },
2112
2255
},
2113
2256
},
2114
2257
},
0 commit comments