Граф коммитов

2256 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 78a3b13ad6
deps: bump google.golang.org/grpc from 1.62.0 to 1.62.1 (#2630)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.62.0 to 1.62.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.62.0...v1.62.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 16:49:46 +00:00
dependabot[bot] 396ba438ce
deps: bump golang.org/x/sys from 0.17.0 to 0.18.0 (#2629)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/sys/compare/v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 16:49:38 +00:00
dependabot[bot] 5635e7f960
deps: bump github.com/Microsoft/hcsshim from 0.11.4 to 0.12.0 (#2627)
Bumps [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim) from 0.11.4 to 0.12.0.
- [Release notes](https://github.com/Microsoft/hcsshim/releases)
- [Commits](https://github.com/Microsoft/hcsshim/compare/v0.11.4...v0.12.0)

---
updated-dependencies:
- dependency-name: github.com/Microsoft/hcsshim
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 21:02:40 +00:00
Paul Johnston ab54979bd5
fix: add in missing ACLs for windows multitenancy (#2617)
* test: test conflist for windows multitenancy on an aks cluster

* fix: add in allow acls
2024-03-07 20:18:51 +00:00
dependabot[bot] 988974f710
deps: bump github.com/golang/protobuf from 1.5.3 to 1.5.4 (#2631)
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.5.3...v1.5.4)

---
updated-dependencies:
- dependency-name: github.com/golang/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 17:34:42 +00:00
Evan Baker 7ed3327429
deps: update controller-runtime (#2636)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2024-03-07 01:29:13 +00:00
John Payne 03f28b8e01
ci: update Linux CNS dockerfile (#2637)
* ci: update cns dockerfile

* ci: combine install commands
2024-03-06 22:07:14 +00:00
John Payne cc68e88585
ci: update NPM Windows daemonset for k8s version 1.28 (#2622)
* ci: add working directory for k8s 1.28

* ci: match workflows

* ci: use branch daemonset
2024-03-06 18:39:18 +00:00
dependabot[bot] ad1585f18f
deps: bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /build/tools (#2633)
deps: bump google.golang.org/protobuf in /build/tools

Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-06 18:12:45 +00:00
dependabot[bot] 4eae98ad06
deps: bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /azure-ipam (#2624)
deps: bump github.com/stretchr/testify in /azure-ipam

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 18:01:34 +00:00
Camryn Lee 4d90d23c22
ci: cilium dualstack for load test pipeline (#2603)
* adding cilium dualstack to load test pipeline

* updating cni default
2024-03-04 20:35:50 +00:00
Camryn Lee a4f3a40577
chore: adding templates for cilium 1.13 (#2585)
* adding templates for cilium 1.13

* fix resources in clusterrole

* address comment

* Revert "address comment"

This reverts commit 7627154b66.

* remove extra lines
2024-03-04 20:35:38 +00:00
ZetaoZhuang 8dcabc868e
fix SupportedAPIs in nmagent client to handle non-200 resp correctly (#2623)
Co-authored-by: Ashvin Deodhar <asdeodha@microsoft.com>
2024-03-04 20:26:06 +00:00
Evan Baker f0ff6cfae0
fix: remove pool monitor from debug api response (#2621)
fix: remove IPAM pool monitor plumbing from restserver, debug api, and tests

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2024-03-04 19:43:50 +00:00
dependabot[bot] e475038704
deps: bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.9.2 to 1.10.0 (#2619)
deps: bump github.com/Azure/azure-sdk-for-go/sdk/azcore

Bumps [github.com/Azure/azure-sdk-for-go/sdk/azcore](https://github.com/Azure/azure-sdk-for-go) from 1.9.2 to 1.10.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.9.2...sdk/azcore/v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azcore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 18:27:25 +00:00
dependabot[bot] 1ba02981d7
deps: bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#2625)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 18:27:01 +00:00
John Payne fb6527aee5
ci: Add safeguards to prevent race condition resulting from MustRestartDaemonset() (#2618)
* test: retrier fn

* chore: cleanup log output

* ci: Magic Number

* chore: address comments
2024-03-04 18:19:24 +00:00
John Payne ef31188ea5
ci: Add Windows2019 to CNI Release Test pipeline (#2580)
* ci: Add proc/os to windows

* chore: remove windows RDMA

* ci: add osSkuWin Defaults
2024-03-04 17:50:07 +00:00
Kshitija Murudi d8de157af7
Revert "Enable CNS swiftv2 path for SF/Standalone scenario to program secondary nics" (#2608)
* Revert "Enable CNS swiftv2 path for SF/Standalone scenario to program seconda…"

This reverts commit bc218edb4e.

* fix linter errors-1

* fix linter errors-2

* fix linter errors-3

* fix linter errors-4

* address comment, add todo
2024-03-04 07:30:26 +00:00
Paul Yu 3aa7b20a3f
add ipv6 default route to dualstack windows nodes (#2508)
* add ipv6 default route to dualstack windows nodes

* fix comments

* add UT for adding ipv6 default route

* add UT for adding ipv6 default route

* fix linter issue

* fix comments

* fix comments

* fix an issue

* fix comments and UT

* fix the UT test

* fix the subnet family afINET

* fix the UT test

* fix an UT test

* fix Ramiro's comments

* fix latest comments

* fix a linter issue

* add context to failure of UT test

* Update network/network_windows.go

Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
Signed-off-by: Paul Yu <129891899+paulyufan2@users.noreply.github.com>

* add an UT to  cover failure case

* change the UT name

* add UT to mock powershell command

* fix UT

* fix linter issue

---------

Signed-off-by: Paul Yu <129891899+paulyufan2@users.noreply.github.com>
Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
2024-03-01 14:01:33 +00:00
dependabot[bot] d5f687bcb6
deps: bump go.uber.org/zap from 1.26.0 to 1.27.0 (#2602)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 07:03:46 +00:00
dependabot[bot] 6ada413869
deps: bump github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v5 from 5.0.0 to 5.1.0 (#2610)
deps: bump github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v5

Bumps [github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v5](https://github.com/Azure/azure-sdk-for-go) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/resourcemanager/netapp/armnetapp/v5.0.0...sdk/resourcemanager/netapp/armnetapp/v5.1.0)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 07:03:04 +00:00
dependabot[bot] 45f8c81ead
deps: bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 (#2596)
Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/prometheus/client_model/releases)
- [Commits](https://github.com/prometheus/client_model/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_model
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 06:09:32 +00:00
John Payne 09ee662767
ci: add trigger:none to ACN Network Observability E2E pipeline (#2605)
ci: add trigger:none

Signed-off-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
2024-02-29 02:59:27 +00:00
dependabot[bot] fc6ef0d087
deps: bump google.golang.org/grpc from 1.61.1 to 1.62.0 (#2604)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 02:58:08 +00:00
dependabot[bot] bb4b3753bc
deps: bump go.uber.org/zap from 1.26.0 to 1.27.0 in /zapai (#2601)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 02:57:43 +00:00
rayaisaiah e89223e29f
chore: [NPM] Updated NPM to Not Use Privileged containers and to Mount Container's Root Filesystem as Read Only (#2598)
Resolved NPM vulnerability Do not use privileged containers and  Mount container's root filesystem as read only
2024-02-29 02:56:16 +00:00
John Payne 9807bf116c
ci: Kernel Upgrade Script (#2552)
* ci: Kernel Upgrade Script

* chore: address comments

* ci: add payload script

* ci: limit exec calls
2024-02-29 02:56:05 +00:00
dependabot[bot] 0d678619da
deps: bump golang.org/x/crypto from 0.19.0 to 0.20.0 (#2611)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/crypto/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 02:55:18 +00:00
dependabot[bot] 0352249c2b
deps: bump go.uber.org/zap from 1.26.0 to 1.27.0 in /azure-ipam (#2599)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 02:53:22 +00:00
QxBytes 6b5ea17cc6
fix: delete endpoint on cni state save failure (#2577)
* Delete endpoint on cni state save failure

* Move code to defer

* Address feedback

* Log create endpoint error before deleting endpoint

* Adjust logs
2024-02-29 01:34:51 +00:00
QxBytes 65d80ac134
fix: remove cnms code (#2592)
Begin removal of cnms code
2024-02-29 01:34:30 +00:00
ZetaoZhuang 2ddfde9430
Remove azr enabled from cns (#2606)
* Remove EnableAZR config flag for CNS

* read channelMode form cnsconfig

* address comment

* address comment

* fix lint

* move defer stop() to main

---------

Co-authored-by: Ashvin Deodhar <asdeodha@microsoft.com>
2024-02-28 23:31:51 +00:00
Behzad Mirkhanzadeh cb484c3d58
fix: fixing CNS IP releae for azure CNI in case of managed endpoint s… (#2588)
* fix: fixing CNS IP releae for azure CNI in case of managed endpoint state.

* fix: changing PodInfo Key to InfraContainerID when Mange Endpoint State is enabled.
2024-02-16 18:17:56 +00:00
dependabot[bot] 1a48e2fd20
deps: bump github.com/golangci/golangci-lint from 1.56.1 to 1.56.2 in /build/tools (#2594)
deps: bump github.com/golangci/golangci-lint in /build/tools

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.56.1 to 1.56.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.56.1...v1.56.2)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 16:26:06 +00:00
Evan Baker d0a50a65c0
fix: test v1.5 train on k8s 1.28 (#2564)
* fix: test main/v1.5 branch on k8s 1.28

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

* 1.28 ds changes

* ci: specify vars for envsubst

---------

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Co-authored-by: jpayne3506 <payne.3506@gmail.com>
2024-02-15 22:29:24 +00:00
rayaisaiah 8d68e7527a
chore: [NPM] Updated NPM to Not Share Host's UTS Namespace + Image/Configmap Alignment with Prod (#2589)
* Added a security context for allowPrivilegeEscalation and readOnlyRootFilesystem

* Update npm linux to not share the host's UTS namespace and tested locally

* Updated image and configmap of npm to match prod/managed

* kept EnablePprof on for debugging

* Updating k8s version for kind for cyclonus tests

* test

* test

* updated cluster name

* Revert "updated cluster name"

This reverts commit 7715c91098.

* update name

* Updated k8s version

* updated k8s version

* changed k8s version to version of local cluster

* updated kind node version for control plane

* version update

* updated kind version

* updated worker images for kind
2024-02-15 22:28:26 +00:00
QxBytes b26ca5e135
fix: remove unsupported targets when building all binaries (#2591)
* Remove cnm and windows transparent vlan targets when building all binaries

* Remove azure ipam from transparent vlan build
2024-02-15 21:28:17 +00:00
dependabot[bot] 4ca2d5324d
deps: bump google.golang.org/grpc from 1.61.0 to 1.61.1 (#2586)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.0 to 1.61.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.0...v1.61.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-15 17:25:43 +00:00
Camryn Lee e419d2fcbd
chore: create directory for cilium 1.12 templates (#2582)
* add v1.12 files to its own directory

* update e2e scripts

* overlay cilium e2e changes

* update load template

* update configmap path

* move call to configmap

* remove hubble config from 1.12 dir
2024-02-15 17:06:11 +00:00
John Payne aa5a9a3040
fix: no longer use pip and keyring for az devops login (#2593)
* fix: no longer use pip keyring for login

* chore: address comments

Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: John Payne <89417863+jpayne3506@users.noreply.github.com>

---------

Signed-off-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2024-02-15 17:04:13 +00:00
Mathew Merrick 9cace8977c
ci: scope scenario parameters instead of whole job (#2578)
* scenario vars

* refined scenario scope

* linux agnhost

* add delete resource

* lint
2024-02-15 16:35:17 +00:00
Aranta Rokade 6e66efd7cf
[refactor] make podname optional (#2584)
* [refactor] make podname optional

* push manifest yaml

* remove podame from mtpnc (the correct way)

---------

Co-authored-by: Aranta Rokade <arantarokade@microsoft.com>
2024-02-15 04:17:26 +00:00
John Payne 3d95a18e86
ci: Replace k8s conformance tests within aks-swift CI (#2590)
ci: k8se2e for aks-swift
2024-02-14 22:43:09 +00:00
Camryn Lee a12222bd1a
ci: parameterize cilium 1.14 templates (#2562)
* parameterize version cilium 1.14.x for pipelines

* fix tag substitution

* update dualstack step

* update load test template
2024-02-12 17:16:14 +00:00
dependabot[bot] 8386efc3fc
deps: bump github.com/Azure/azure-container-networking from 1.5.20 to 1.5.21 in /azure-ipam (#2576)
deps: bump github.com/Azure/azure-container-networking in /azure-ipam

Bumps [github.com/Azure/azure-container-networking](https://github.com/Azure/azure-container-networking) from 1.5.20 to 1.5.21.
- [Release notes](https://github.com/Azure/azure-container-networking/releases)
- [Commits](https://github.com/Azure/azure-container-networking/compare/v1.5.20...v1.5.21)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-container-networking
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 16:36:50 +00:00
dependabot[bot] 5627d0a2cc
ci: bump golangci/golangci-lint-action from 3 to 4 (#2575)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 16:18:52 +00:00
Kshitija Murudi bc218edb4e
Enable CNS swiftv2 path for SF/Standalone scenario to program secondary nics (#2444)
* changes for adding swiftv2 SF config

* refactor: getSecondaryInterfaceInfo

* checks for sf orch

* Add hnsclient new mode & NCID in PodIpInfo

* undoing cni part changes

* undoing cni part changes

* fix: reordering code

* fix: golint errors

* fix: add new macaddressEqualCheck func

* feat: adding swiftv2-SF middleware, refactor

* review: address comments

* review: address comments-2

* feat: change middleware initialization at right cns channel mode

* test:UTs to validate IP configs request, refactor cnsclient import, api.go new packages, remove cnsclient dependency on restserver package

* fix: updatepodinfowithinterfaces & linters fix

* fix: linter errors

* fix: linter errors context check & govet

* removed validateIpConfigs, removed failureHandler, removed swiftv2sf_test file, removed addInterfaces config field

* test: move out UTs to restserver package, avoid import cycle

* test: modify tests

* test: fix constant values used in UT

* test: fix linter errors

* remove enableswiftv2, add new field in podipinfo, remove ipconfigsrequest passed as a pointer

* fix: address comment

* fix: remove enableswiftv2, replace by swiftv2mode

---------

Signed-off-by: Kshitija Murudi <kmurudi@microsoft.com>
2024-02-09 21:14:34 +00:00
John Payne 58d9599412
ci: Capture privileged pod failure (#2546)
fix: capture privileged pod failure
2024-02-09 19:42:02 +00:00
jc2543 c165215b4f
fix: add status field to PodNetworkInterface to identify if the PNI is in a ready or error state (#2555)
update statuses

Co-authored-by: Chloe Chen <chlochen@microsoft.com>
2024-02-09 19:31:00 +00:00