azure-container-networking/cnm
Matthew Long 580c3e4072
feat: don't use CNS for CNI DEL command in windows multitenancy (#1216)
* feat: don't use CNS for CNI DEL command in windows multitenancy

* go fmt

* go fmt take 2

* fix: don't fallback to CNS for getNetwork or deleteHostNCApipaEndpoint, handle errNetworkNotFound

* test: add test for FindNetworkIDFromNetNs

* fix: getNetworkName needs to fallback to CNS when not found in state file for ADD

* fix: simplify the deleteHostNCApipaEndpoint function

* fix: linter

* fix: cnm should compile

* fix: always return retriable error for endpoint deletion failure

* fix: handle npe in cns/hnsclient by not using that package

* fix: logging

* fix: don't try cns if there is no multitenancy client

* fix: don't call CNS twice during ADD cmd

* fix: use hns wrapper, add some logging, don't return error when endpoint is already deleted
2022-02-03 19:14:31 -08:00
..
ipam chore: appease the linter (3/?), the big gofumpt (#987) 2021-09-02 16:33:18 -05:00
network feat: don't use CNS for CNI DEL command in windows multitenancy (#1216) 2022-02-03 19:14:31 -08:00
plugin Use Lockedfile api to acquire lock (#1070) 2021-11-09 08:19:44 -08:00
api.go chore: appease the linter (3/?), the big gofumpt (#987) 2021-09-02 16:33:18 -05:00
config.json Add mounts for log and modules to CNM plugin manifest 2017-05-10 16:12:12 -07:00
plugin.go refactor: move from io/ioutil to io and os packages (#1096) 2021-11-17 16:31:42 -06:00
plugin_linux.go chore: appease the linter (3/?), the big gofumpt (#987) 2021-09-02 16:33:18 -05:00
plugin_windows.go Added support for custom API server URLs to CNM plugins 2017-05-02 18:39:32 -07:00