Skip to content

Commit 2bf6502

Browse files
authored
[NPM Lite] Default Deny - Updating Network Container Contract (#3338)
* added an additional field in network contract from cns to cni * updated default deny acl type * updated name of acl * fixed spelling
1 parent 082f37f commit 2bf6502

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cns/NetworkContainerContract.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99

1010
"github.com/Azure/azure-container-networking/cns/types"
1111
"github.com/Azure/azure-container-networking/crd/nodenetworkconfig/api/v1alpha"
12+
"github.com/Azure/azure-container-networking/network/policy"
1213
"github.com/google/uuid"
1314
"github.com/pkg/errors"
1415
corev1 "k8s.io/api/core/v1"
@@ -503,6 +504,8 @@ type PodIpInfo struct {
503504
Routes []Route
504505
// PnpId is set for backend interfaces, Pnp Id identifies VF. Plug and play id(pnp) is also called as PCI ID
505506
PnPID string
507+
// Default Deny ACL's to configure on HNS endpoints for Swiftv2 window nodes
508+
EndpointPolicies []policy.Policy
506509
}
507510

508511
type HostIPInfo struct {

0 commit comments

Comments
 (0)