File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 88 "strings"
99
1010 "github.com/Azure/azure-container-networking/cns/types"
11+ acn "github.com/Azure/azure-container-networking/common"
1112 "github.com/Azure/azure-container-networking/crd/nodenetworkconfig/api/v1alpha"
1213 "github.com/google/uuid"
1314 "github.com/pkg/errors"
@@ -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+ DefaultDenyACL []acn.KVPair
506509}
507510
508511type HostIPInfo struct {
Original file line number Diff line number Diff line change 33
44package common
55
6+ import "encoding/json"
7+
68// Command line options.
79const (
810 // Operating environment.
@@ -146,3 +148,9 @@ const (
146148 // OptCNIConflistScenarioAlias "shorthand" for the cni conflist scenairo, see above
147149 OptCNIConflistScenarioAlias = "cniconflistscenario"
148150)
151+
152+ // KVPair represents a K-V pair of a json object.
153+ type KVPair struct {
154+ Name string `json:"name"`
155+ Value json.RawMessage `json:"value"`
156+ }
You can’t perform that action at this time.
0 commit comments