Gabe Rosenhouse [Wed, 8 Nov 2017 04:02:14 +0000 (20:02 -0800)]
Merge pull request #518 from porridge/patch-1
Fix indentation
Marcin Owsiany [Tue, 7 Nov 2017 19:30:02 +0000 (20:30 +0100)]
Fix indentation
Gabe Rosenhouse [Wed, 1 Nov 2017 15:11:26 +0000 (08:11 -0700)]
Merge pull request #514 from rosenhouse/no-vendor
Remove vendor directory
Gabriel Rosenhouse [Wed, 1 Nov 2017 05:32:18 +0000 (22:32 -0700)]
Remove vendor dir, simplify build & test tooling
"Libraries should never vendor their dependencies"
https://peter.bourgon.org/go-best-practices-2016/#dependency-management
The only thing in there were test-support packages anyhow
Remove Godeps folder, nothing to manage!
Remove build.sh
- not much here to build now that we've split out plugins
- for non-AMD64 platforms, travis just runs go build directly
Clean up test.sh
- no vendor --> simpler logic for enumerating packages
- use "bash strict mode"
http://redsymbol.net/articles/unofficial-bash-strict-mode
- coveralls token not required for public repos
Simplify .travis.yml, update to work without vendor
- fewer env vars
- go get -t ./...
Clean up Vagrantfile
- no godep required anymore
- bump Golang version 1.9.2
Gabriel Rosenhouse [Wed, 1 Nov 2017 05:21:33 +0000 (22:21 -0700)]
libcni: fix go vet error
Casey Callendrello [Wed, 25 Oct 2017 12:58:57 +0000 (14:58 +0200)]
Merge pull request #508 from squeed/cnitool-cid
cnitool: generate container id from the netns path
Gabe Rosenhouse [Mon, 23 Oct 2017 15:19:28 +0000 (08:19 -0700)]
Merge pull request #515 from rosenhouse/appveyor
Add CI for Windows
Gabriel Rosenhouse [Mon, 23 Oct 2017 06:21:14 +0000 (23:21 -0700)]
ci: add appveyor file for Windows CI coverage
Gabriel Rosenhouse [Mon, 23 Oct 2017 06:21:08 +0000 (23:21 -0700)]
Windows compatibility: all tests pass!
Gabe Rosenhouse [Sat, 21 Oct 2017 19:29:23 +0000 (12:29 -0700)]
Merge pull request #510 from squeed/containerid
spec, skel: Make the container ID required and unique.
Casey Callendrello [Thu, 21 Sep 2017 11:25:57 +0000 (13:25 +0200)]
cnitool: generate container id from the netns path, add docs
We shouldn't be creating networks with a blank containerid. Let's
synthesize one from the netns path.
Also, add a basic README.
Casey Callendrello [Fri, 22 Sep 2017 12:48:55 +0000 (14:48 +0200)]
spec, skel: Make the container ID required and unique.
Previously, the spec did not require the container id to be set.
However, almost every plugin relies on it being unique, including the
CNI-maintained plugins. So, change the spec to require the use of
containerid and that plugins should treat it as a primary key.
Casey Callendrello [Fri, 20 Oct 2017 12:25:55 +0000 (14:25 +0200)]
Add "spec containes unreleased changes" warning.
Gabe Rosenhouse [Wed, 18 Oct 2017 22:34:51 +0000 (15:34 -0700)]
Merge pull request #499 from rosenhouse/golang-to-1.9
Golang versions: add 1.9, drop 1.7
Gabe Rosenhouse [Wed, 18 Oct 2017 21:51:35 +0000 (14:51 -0700)]
pkg/invoke: fix test pollution
Gabe Rosenhouse [Wed, 18 Oct 2017 21:51:33 +0000 (14:51 -0700)]
Golang versions: add 1.9.1, drop 1.7
Casey Callendrello [Fri, 22 Sep 2017 09:39:36 +0000 (11:39 +0200)]
Merge pull request #509 from containernetworking/update-community-sync
Add 2017-10-04 community sync
Casey Callendrello [Fri, 22 Sep 2017 09:39:09 +0000 (11:39 +0200)]
Add 2017-10-04 community sync
Dan Williams [Wed, 20 Sep 2017 14:50:34 +0000 (09:50 -0500)]
Merge pull request #497 from squeed/args-add-ip
Conventions: add the "ips" arg
Gabe Rosenhouse [Tue, 19 Sep 2017 03:20:24 +0000 (20:20 -0700)]
Merge pull request #505 from dcbw/op-ordering
spec: add notes about ADD/DEL ordering
Dan Williams [Thu, 14 Sep 2017 20:10:44 +0000 (15:10 -0500)]
spec: add notes about ADD/DEL ordering
Dan Williams [Mon, 18 Sep 2017 17:24:09 +0000 (12:24 -0500)]
Merge pull request #504 from dcbw/gov-voting
governance: add notes about public voting
Gabe Rosenhouse [Mon, 18 Sep 2017 16:34:26 +0000 (09:34 -0700)]
Merge pull request #506 from Intel-Corp/dev/vhostuser3rdparty-pr
README: List vhostuser CNI as a 3rd party plugin
kuralamudhan ramakrishnan [Fri, 15 Sep 2017 23:47:37 +0000 (00:47 +0100)]
README: List vhostuser as a 3rd party plugin
Dan Williams [Thu, 14 Sep 2017 19:46:52 +0000 (14:46 -0500)]
Merge pull request #500 from matthewdupre/spec-language
Use more RFC2119 style language in specification (must, should...)
Dan Williams [Thu, 14 Sep 2017 18:25:24 +0000 (13:25 -0500)]
Merge pull request #502 from anfernee/version
skel: VERSION shouldn't block on stdin
Dan Williams [Wed, 13 Sep 2017 22:24:40 +0000 (17:24 -0500)]
governance: add notes about public voting
Yongkun Anfernee Gui [Thu, 7 Sep 2017 18:40:14 +0000 (11:40 -0700)]
VERSION shouldn't block on stdin
Right now, I have to do the following
$ echo | CNI_COMMAND=VERSION bridge
or
CNI_COMMAND=VERSION bridge
^D
to be able to get the result back.
But VERSION doesn't need to read from stdin.
Gabe Rosenhouse [Thu, 31 Aug 2017 02:32:53 +0000 (19:32 -0700)]
Merge pull request #501 from rosenhouse/test-all-packages
Test all non-vendored packages
Gabe Rosenhouse [Wed, 30 Aug 2017 21:59:16 +0000 (14:59 -0700)]
Test all non-vendored packages
Casey Callendrello [Wed, 30 Aug 2017 15:14:54 +0000 (17:14 +0200)]
Merge pull request #493 from dcbw/governance
docs: add Governance procedure documentation
Gabe Rosenhouse [Wed, 30 Aug 2017 15:12:30 +0000 (08:12 -0700)]
Merge pull request #492 from dcbw/roadmap
roadmap: add 1.0 items and clean things up
Dan Williams [Wed, 16 Aug 2017 19:17:34 +0000 (14:17 -0500)]
docs: add Governance procedure documentation
Matt Dupre [Wed, 30 Aug 2017 14:35:18 +0000 (15:35 +0100)]
Use more RFC2119 style language in specification (must, should...)
Gabe Rosenhouse [Wed, 23 Aug 2017 16:25:12 +0000 (09:25 -0700)]
Merge pull request #489 from squeed/clean-build
Release: clean the builddir when building.
Casey Callendrello [Tue, 22 Aug 2017 16:10:07 +0000 (18:10 +0200)]
Conventions: add the "ips" arg
Dan Williams [Fri, 18 Aug 2017 17:50:31 +0000 (12:50 -0500)]
Merge pull request #494 from dcbw/validate-type
libcni: return error if Type is empty
Dan Williams [Fri, 18 Aug 2017 17:49:39 +0000 (12:49 -0500)]
Merge pull request #495 from rosenhouse/spec-list-older-versions
Spec lists git tags pointing to old spec versions
Gabriel Rosenhouse [Fri, 18 Aug 2017 03:43:48 +0000 (20:43 -0700)]
spec: table of git tags to older versions
Dan Williams [Fri, 18 Aug 2017 03:33:23 +0000 (22:33 -0500)]
libcni: return error if Type is empty
A network config missing Type is pretty useless since it means we can't
find the plugin to execute. So return an error if Type isn't given.
Dan Williams [Wed, 16 Aug 2017 15:23:54 +0000 (10:23 -0500)]
roadmap: add 1.0 items and clean things up
Casey Callendrello [Mon, 14 Aug 2017 12:27:44 +0000 (14:27 +0200)]
Release: clean the builddir when building.
Bryan Boreham [Fri, 28 Jul 2017 13:30:50 +0000 (14:30 +0100)]
Merge pull request #487 from John-Lin/readme-add-plugin-linen
README plugins list: add Linen CNI plugin
John-Lin [Thu, 27 Jul 2017 10:35:42 +0000 (18:35 +0800)]
README plugins list: add Linen CNI plugin
Dan Williams [Wed, 12 Jul 2017 15:03:31 +0000 (10:03 -0500)]
Merge pull request #482 from feiskyer/cnitool
cnitool: add support for CNI_ARGS
Pengfei Ni [Mon, 10 Jul 2017 10:02:50 +0000 (18:02 +0800)]
cnitool: add support for CNI_ARGS
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
Casey Callendrello [Thu, 6 Jul 2017 17:46:10 +0000 (19:46 +0200)]
Merge pull request #481 from tomdee/s390x
scripts/release.sh: Add in s390x architecture
Tom Denham [Thu, 6 Jul 2017 17:39:44 +0000 (10:39 -0700)]
scripts/release.sh: Add in s390x architecture
Gabe Rosenhouse [Wed, 5 Jul 2017 15:32:19 +0000 (08:32 -0700)]
Merge pull request #427 from squeed/convention-chaining
Conventions: add convention around chaining interfaces
Casey Callendrello [Wed, 5 Jul 2017 15:15:23 +0000 (17:15 +0200)]
Merge pull request #460 from aaithal/loadArgsPanic
pkg/types: safer typecasting for TextUnmarshaler when loading args
Casey Callendrello [Thu, 29 Jun 2017 09:06:28 +0000 (11:06 +0200)]
Merge pull request #473 from tomdee/improve-and-document-release
Update and document release process
Tom Denham [Wed, 7 Jun 2017 22:58:34 +0000 (15:58 -0700)]
Update and document release process
Replace the rkt release process with a docker one.
Document the process that we follow for each release.
Dan Williams [Thu, 22 Jun 2017 14:39:14 +0000 (09:39 -0500)]
Merge pull request #477 from dcbw/fix-interface-index-marshaling
types: fix marshalling of omitted "interfaces" key in IPConfig JSON
Dan Williams [Thu, 15 Jun 2017 03:16:30 +0000 (22:16 -0500)]
types: fix marshalling of omitted "interfaces" key in IPConfig JSON
Plugins that don't have knowledge of interfaces, like host-local or
other IPAM plugins, should not set the 'interfaces' key of their
returned "Result" JSON. This should then not be translated into
an interface index of 0, which it was due to the int marshaling and
omitempty.
Instead, ensure that an omitted 'interface' in JSON ends up being
nil in the IPConfig structure, and that a nil ensures that no 'interfaces'
key is present in the JSON.
Yes, this means that plugins must call the 'current.Int(x)' method
when setting the Interfaces member. Oh well.
Fixes: https://github.com/containernetworking/cni/issues/404
Casey Callendrello [Fri, 16 Jun 2017 11:43:57 +0000 (13:43 +0200)]
Merge pull request #478 from squeed/community-sync
Update note about next Community Sync, 2017-06-21
Casey Callendrello [Fri, 16 Jun 2017 11:43:05 +0000 (13:43 +0200)]
Update note about next Community Sync, 2017-06-21
Gabe Rosenhouse [Mon, 12 Jun 2017 17:06:42 +0000 (10:06 -0700)]
Merge pull request #474 from rosenhouse/readme-updates
readme updates
Gabe Rosenhouse [Mon, 12 Jun 2017 05:04:12 +0000 (22:04 -0700)]
Merge pull request #475 from rosenhouse/backfill-test-delegate
pkg/invoke: backfill tests of delegate add & del
Gabe Rosenhouse [Fri, 9 Jun 2017 06:09:58 +0000 (23:09 -0700)]
pkg/invoke: backfill tests of delegate add & del
Gabe Rosenhouse [Fri, 9 Jun 2017 04:27:52 +0000 (21:27 -0700)]
readme: update link for Cloud Foundry CNI integration
Gabe Rosenhouse [Fri, 9 Jun 2017 04:23:10 +0000 (21:23 -0700)]
readme updates
- update some links to the new plugins repo.
- update guidance on golang versions
Casey Callendrello [Thu, 8 Jun 2017 18:02:11 +0000 (20:02 +0200)]
Merge pull request #406 from GheRivero/cni_error
Return cni.type.Error instead of plain error
Gabe Rosenhouse [Thu, 8 Jun 2017 01:05:18 +0000 (18:05 -0700)]
Merge pull request #472 from caniszczyk/add-cncf-ref
Add CNCF reference in README
Gabe Rosenhouse [Wed, 7 Jun 2017 19:19:40 +0000 (12:19 -0700)]
Merge pull request #471 from rosenhouse/clean-up-vendor
Clean up vendor
Chris Aniszczyk [Wed, 7 Jun 2017 18:23:59 +0000 (11:23 -0700)]
Add CNCF reference in README
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Gabe Rosenhouse [Wed, 7 Jun 2017 14:41:19 +0000 (07:41 -0700)]
Merge pull request #470 from rosenhouse/fixup-vagrantfile
Vagrantfile updates
Casey Callendrello [Wed, 7 Jun 2017 07:57:31 +0000 (09:57 +0200)]
Merge pull request #467 from containernetworking/clarify-args-release
Clarify first released spec with 'args' was 0.2.0
Gabe Rosenhouse [Wed, 7 Jun 2017 04:08:57 +0000 (21:08 -0700)]
vendor: cleanup unused dependencies after plugin split
Gabe Rosenhouse [Wed, 7 Jun 2017 03:58:48 +0000 (20:58 -0700)]
godeps: update Go version to 1.8
Gabe Rosenhouse [Wed, 7 Jun 2017 03:40:07 +0000 (20:40 -0700)]
Vagrantfile updates
- installs latest Golang
Gabe Rosenhouse [Wed, 7 Jun 2017 01:58:28 +0000 (18:58 -0700)]
Merge pull request #464 from squeed/remove-pkg
pkg: move packages from cni to plugins
Gabe Rosenhouse [Wed, 7 Jun 2017 01:52:09 +0000 (18:52 -0700)]
Merge pull request #469 from mcastelino/document_fix
Documentation: Update README.md to reflect plugin split
Gabe Rosenhouse [Wed, 7 Jun 2017 01:48:43 +0000 (18:48 -0700)]
Merge pull request #461 from ericchiang/fix-env-order
pkg/invoke: ensure that custom env vars are prepended to the env
Manohar Castelino [Mon, 5 Jun 2017 22:44:22 +0000 (15:44 -0700)]
Documentation: Update README.md to reflect plugin split
Update README.md to call out how to use priv-net-run.sh and
docker-run.sh scripts post plugin split.
Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
Gabe Rosenhouse [Wed, 7 Jun 2017 01:37:04 +0000 (18:37 -0700)]
pkg/invoke: add unit test for env var ordering in Args.AsEnv
Bryan Boreham [Sat, 3 Jun 2017 13:21:43 +0000 (14:21 +0100)]
Clarify first released spec with 'args' was 0.2.0
Bryan Boreham [Sat, 3 Jun 2017 12:47:28 +0000 (13:47 +0100)]
Merge pull request #465 from caniszczyk/add-coc
Add Code of Conduct
Bryan Boreham [Sat, 3 Jun 2017 12:45:58 +0000 (13:45 +0100)]
Merge pull request #463 from rosenhouse/readme-add-plugin-silk
readme plugins list: add Silk CNI plugin
Chris Aniszczyk [Fri, 2 Jun 2017 16:10:25 +0000 (09:10 -0700)]
Add Code of Conduct
CNCF projects are expected to follow a CoC.
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Casey Callendrello [Fri, 2 Jun 2017 14:25:42 +0000 (16:25 +0200)]
pkg: move packages from cni to plugins
Gabe Rosenhouse [Wed, 31 May 2017 18:23:45 +0000 (11:23 -0700)]
readme: add Silk CNI plugin
Aithal [Wed, 31 May 2017 16:11:48 +0000 (09:11 -0700)]
pkg/types: modify LoadArgs to return a named error when an unmarshalable condition is detected
Dan Williams [Wed, 31 May 2017 15:14:48 +0000 (10:14 -0500)]
Merge pull request #462 from christx2/patch-1
Update Readme.md
ChristophLondon [Wed, 31 May 2017 11:04:23 +0000 (12:04 +0100)]
Update Readme.md
adding nuage networks cni plugin and repo location
Eric Chiang [Tue, 30 May 2017 00:28:59 +0000 (17:28 -0700)]
pkg/invoke: ensure that custom env vars are prepended to the env
Ensure that custom values take priority over values defined in the
environment by prepending them to the env, not appending.
Casey Callendrello [Wed, 24 May 2017 16:46:33 +0000 (18:46 +0200)]
Merge pull request #457 from dcbw/move-plugins
plugins: moved to containernetworking/plugins
Dan Williams [Wed, 17 May 2017 13:32:37 +0000 (08:32 -0500)]
plugins: moved to containernetworking/plugins
Aithal [Mon, 22 May 2017 20:09:19 +0000 (13:09 -0700)]
pkg/types: safer typecasting for TextUnmarshaler when loading args
types.LoadArgs does an unsafe typecast for env args key value pairs.
This can cause a panic if the config type fields do not implement
the encoding.TextUnmarshaler interface. This commit modifies it to
do a safe type cast and return an error in such scenarios.
Casey Callendrello [Wed, 17 May 2017 08:52:33 +0000 (10:52 +0200)]
Merge pull request #455 from knobunc/docs/add-openshift-to-readme
Add OpenShift to the list of container runtimes that support CNI
Dan Williams [Tue, 16 May 2017 19:32:03 +0000 (14:32 -0500)]
Merge pull request #452 from caniszczyk/add-cni-logo
Add CNI Logo to README
Benjamin Bennett [Tue, 16 May 2017 12:33:35 +0000 (08:33 -0400)]
Add OpenShift to the list of container runtimes that support CNI
OpenShift uses CNI, so I thought a link to the appropriate docs made
sense in the top-level readme where it lists the other supporting
runtimes.
Chris Aniszczyk [Mon, 15 May 2017 13:15:21 +0000 (08:15 -0500)]
Add CNI Logo to README
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Tom Denham [Wed, 10 May 2017 19:34:47 +0000 (14:34 -0500)]
Merge pull request #425 from tomdee/small-build-improvements
scripts/release-with-rkt.sh Minor improvements
Casey Callendrello [Mon, 8 May 2017 09:12:25 +0000 (11:12 +0200)]
Merge pull request #450 from gunjan5/spec-version-mismatch
cniVersion and config structure mismatch
Dan Williams [Fri, 5 May 2017 22:47:26 +0000 (17:47 -0500)]
Merge pull request #445 from feiskyer/cniversion
Add cniVersion to Result
gunjan5 [Fri, 5 May 2017 21:50:58 +0000 (14:50 -0700)]
cniVersion and config structure mismatch
Tom Denham [Thu, 4 May 2017 23:06:04 +0000 (16:06 -0700)]
Merge pull request #447 from gunjan5/invalid-spec-json
Fix invalid json
gunjan5 [Thu, 4 May 2017 22:59:11 +0000 (15:59 -0700)]
fix invalid json
Pengfei Ni [Wed, 3 May 2017 15:21:44 +0000 (23:21 +0800)]
Fix testings accross the project
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
Pengfei Ni [Wed, 3 May 2017 13:38:28 +0000 (21:38 +0800)]
Add cniVersion to Result
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>