azure-container-networking/cns/wireserver
Kshitija Murudi b9b8627220
Add swiftv2 middleware support for standalone service fabric scenario (windows) (#2634)
* feature: add sfswiftv2 middleware support for standalone service fabric swiftv2 windows path

* feat: add switch case for middlewaretype

* review: address comments

* pkg: move swiftv2mode for cnsconfig from configuration to cns package to avoid import-cycle

* address review comment

* linter: context check, wrap error

* linter: fix errors wrap return static err

* review: address comments:

* refactor: keep old variable enableswiftv2, initialization pattern

* address pr comments

* rename the middleware to standaloneswiftv2middleware

* remove HostSecondaryIPInfo from podIpInfo

* address review comments-1

* address review comments-2

* Update cns/service/main.go

Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
Signed-off-by: Kshitija Murudi <kmurudi@microsoft.com>

* fix an linter issue

* rename the IPConfigRequest func

* fix a comment linter issue

* fix a comment linter issue

* remove checking hnsTransparent network mdoe

* remove orchestrator checker

---------

Signed-off-by: Kshitija Murudi <kmurudi@microsoft.com>
Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
Co-authored-by: Paul Yu <129891899+paulyufan2@users.noreply.github.com>
Co-authored-by: paulyufan2 <paulyu01@outlook.com>
2024-07-10 00:07:14 +00:00
..
testdata chore: tidy up the wireserver client and usage (#1065) 2021-10-20 14:23:05 -05:00
client.go Revert "Enable CNS swiftv2 path for SF/Standalone scenario to program secondary nics" (#2608) 2024-03-04 07:30:26 +00:00
client_test.go Fix missing Wireserver IP configuration in Wireserver Client (#2271) 2023-11-07 08:51:04 -06:00
net.go Add swiftv2 middleware support for standalone service fabric scenario (windows) (#2634) 2024-07-10 00:07:14 +00:00
net_test.go chore: tidy up the wireserver client and usage (#1065) 2021-10-20 14:23:05 -05:00
proxy.go Include body for unpublishNC calls to support AZR (#1826) 2023-03-01 13:44:32 -08:00
types.go chore: tidy up the wireserver client and usage (#1065) 2021-10-20 14:23:05 -05:00
types_test.go chore: tidy up the wireserver client and usage (#1065) 2021-10-20 14:23:05 -05:00