Skip to content

Commit

Permalink
[NPM Lite] Default Deny - Updating Network Container Contract (#3338)
Browse files Browse the repository at this point in the history
* added an additional field in network contract from cns to cni

* updated default deny acl type

* updated name of acl

* fixed spelling
  • Loading branch information
rejain456 authored Jan 11, 2025
1 parent 082f37f commit 79bb8bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cns/NetworkContainerContract.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

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

type HostIPInfo struct {
Expand Down

0 comments on commit 79bb8bb

Please sign in to comment.