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

26 Коммитов

Автор SHA1 Сообщение Дата
Nashwan Azhari 2137a67aa0
Add CNI config 1.0.0 support. (#101)
* Dep: Update containernetwork/cni to 1.1.2.

Note that this is only a dependency update which does
NOT enable reading CNI configs > 0.3.0.

Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>

* Allow plugins to read CNI 1.0.0 configs.

Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>

---------

Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>
2023-12-25 12:32:39 +05:30
Nashwan Azhari 3a5374cb7c
QA: update code for golangci-lint and run `go fmt`. (#87)
* QA: update code for golangci-lint.

Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>

* CI: Make linting failures stop test pipeline.

Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>

---------

Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>
2023-09-13 23:58:08 +05:30
Mike Zappa baacbec53b
Handle nil pointer if network not created (#82) 2023-09-13 23:57:43 +05:30
Nashwan Azhari 866ccfc5d4
CI: Add GitHub-based workflows for testing and releases. (#86)
* Cherry-pick test fixes from microsoft/windows-container-networking#85.

Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>

* CI: Add GitHub workflows for testing and releases.

This PR adds the following workflows:
* `ci.yml`: workflow to run tests on Windows 2019 and 2022
            on any pushes/prs done against the `master` branch.
* `release.yml`: workflow to cross-build the CNI plugin binaries,
                 on an Ubuntu runner, upload the resulting binaries
                 as a GitHub artifact, and automatically create a
                 release for pushes of tags of the form `v1.2.3`.

Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>

---------

Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>
Co-authored-by: Debjit Mondal <debjitmondal@microsoft.com>
2023-09-08 00:56:51 +05:30
Vikas Bhardwaj 4200fb1173 Merge branch 'master' into ipv6_test_1 2021-05-21 12:33:04 -07:00
Vikas Bhardwaj 5595195e68 Address code review comments 2021-05-21 12:21:32 -07:00
Vikas Bhardwaj 61f5488164 (1) sdnbridge ipv6 tests (2) provide ability to specify default gateways 2021-05-18 17:43:20 -07:00
DavidSchott b9911ee83c vendor changes for hcsshim version bump 2021-05-07 17:24:01 -07:00
DavidSchott 8ce93fba3f adds optional loopbackDSR argument to cni conf 2021-05-07 17:23:20 -07:00
Vikas Bhardwaj 4077d162c7 Initial changes for ipv6 support for l2bridge network 2021-04-26 09:52:31 -07:00
wadecai 4a62e82e25 Fix log 2020-04-19 13:14:06 +08:00
Nathan Gieseker 7ea1054d4b Adds resiliency to sync delete calls for same endpoint, gofmt 2019-10-23 20:26:49 -07:00
Dario P Bazan 2fb237d140 Adding support for multiple CNI versions 2019-09-26 17:23:41 -07:00
Nathan Gieseker 8c3607f0a6 allows for forcing .2 gateway for bridge networks (flannel workaround 2019-08-08 20:58:32 -07:00
Nathan Gieseker 66775c55b2 Adds delete call for ipam. Correctly clean up on failure for ipam add 2019-04-23 17:28:36 -07:00
Nathan Gieseker 4720e83570 Adds endpoint information to most logging, some more descriptive error messages. Log Result 2019-04-22 18:45:55 -07:00
Nathan Gieseker c69423411d removes namespace being added by default, some style fixes 2019-04-09 15:50:13 -07:00
Nathan Gieseker 0705ce7da9 Don't treat endpoint not found as an error during DEL cmd 2019-03-20 17:52:28 -07:00
Nathan Gieseker 803ba11897 add logging 2019-03-19 16:47:11 -07:00
Nathan Gieseker 75beafa579 Cleanup code and add more feedback for tests 2019-03-14 15:58:29 -07:00
Nathan Gieseker ab56dc82ee Returns Result on Error
Previously we were erroring out on a failure or internal error. We now return the result properly with the error. Go Formatting Fixes. Enable Nat Test.
2019-03-08 21:08:14 -08:00
Nathan Gieseker 6f2ddc28e0 Stops usage of ifName as host adpater 2019-02-22 18:38:07 -08:00
Saswat Bhattacharya f3b5afc2dd Updated use of DelegateAdd to take a context for new api 2019-01-15 17:16:56 -08:00
Nathan Gieseker e9885bfd77 Restructures the Repo, adds a makefile, contains various bug fixes and also includes 2 commits from Madhan and Eric (adding dns capabilities and fixing policies and a bug fix) 2019-01-11 18:22:42 -08:00
Madhan Raj Mookkandy acdacd9269 Handle netns=empty. Fix DNS name to override 2017-08-24 18:26:54 -07:00
Madhan Raj Mookkandy 6fb794102b InitialCommit 2017-03-29 14:34:16 -07:00