File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -878,6 +878,12 @@ func GetTestCNSResponseSecondaryWindows(macAddress string) map[string]network.In
878878 SkipDefaultRoutes : true ,
879879 NICType : cns .InfraNIC ,
880880 HostSubnetPrefix : * getCIDRNotationForAddress ("20.224.0.0/16" ),
881+ EndpointPolicies : []policy.Policy {
882+ {
883+ Type : policy .EndpointPolicy ,
884+ Data : GetRawACLPolicy (),
885+ },
886+ },
881887 },
882888 macAddress : {
883889 MacAddress : parsedMAC ,
@@ -1226,6 +1232,12 @@ func TestPluginWindowsAdd(t *testing.T) {
12261232 Gateway : net .ParseIP ("10.244.2.1" ),
12271233 },
12281234 },
1235+ EndpointPolicies : []policy.Policy {
1236+ {
1237+ Type : policy .EndpointPolicy ,
1238+ Data : GetRawACLPolicy (),
1239+ },
1240+ },
12291241 },
12301242 epIDRegex : `.*` ,
12311243 },
You can’t perform that action at this time.
0 commit comments