plugins.git
8 years agoremove .out files vz-local
Mike Cambria [Thu, 7 Sep 2017 16:07:27 +0000 (12:07 -0400)]
remove .out files

8 years agoremove .out files
Mike Cambria [Thu, 7 Sep 2017 16:07:00 +0000 (12:07 -0400)]
remove .out files

8 years agovz-local ipam with lables and debug
Mike Cambria [Thu, 7 Sep 2017 16:05:20 +0000 (12:05 -0400)]
vz-local ipam with lables and debug

8 years agoMerge pull request #44 from verizonlabs/build-on-osx
Tom Denham [Fri, 21 Jul 2017 18:48:06 +0000 (11:48 -0700)]
Merge pull request #44 from verizonlabs/build-on-osx

If we're on OS X then have Go cross compile for us

8 years agoIf we're on OS X then have Go cross compile for us
Aaron Wood [Thu, 20 Jul 2017 16:03:30 +0000 (12:03 -0400)]
If we're on OS X then have Go cross compile for us

8 years agoMerge pull request #35 from dnardo/bridge-plugin
Tom Denham [Wed, 12 Jul 2017 15:30:00 +0000 (08:30 -0700)]
Merge pull request #35 from dnardo/bridge-plugin

bridge: add support for promiscuous mode

8 years agoMerge pull request #40 from squeed/portmap-timeout
Tom Denham [Wed, 12 Jul 2017 15:18:09 +0000 (08:18 -0700)]
Merge pull request #40 from squeed/portmap-timeout

plugins/portmap: fix test flake

8 years agoMerge pull request #38 from tomdee/release-process
Tom Denham [Wed, 12 Jul 2017 15:11:39 +0000 (08:11 -0700)]
Merge pull request #38 from tomdee/release-process

Add release process

8 years agoAdd release process
Tom Denham [Wed, 5 Jul 2017 19:05:14 +0000 (12:05 -0700)]
Add release process

Copied from containernetworking/cni

The only difference is that the release archives also include the the
word "plugin"

8 years agoplugins/portmap: fix test flake
Casey Callendrello [Thu, 6 Jul 2017 12:54:53 +0000 (14:54 +0200)]
plugins/portmap: fix test flake

The source address selection was random, and sometimes we picked a
source address that the container didn't have a route to. Adding a
default route fixes that!

8 years agoMerge pull request #37 from containernetworking/travis-badge
Casey Callendrello [Thu, 6 Jul 2017 13:19:15 +0000 (15:19 +0200)]
Merge pull request #37 from containernetworking/travis-badge

README.md: Add travis badge

8 years agoMerge pull request #39 from dcbw/ptp-fix-test
Dan Williams [Wed, 5 Jul 2017 21:39:48 +0000 (16:39 -0500)]
Merge pull request #39 from dcbw/ptp-fix-test

ptp: fix testcase for Interface int-pointer changes

8 years agoMerge pull request #36 from tomdee/vendor-libcni-v0.6.0-rc1
Dan Williams [Wed, 5 Jul 2017 21:36:50 +0000 (16:36 -0500)]
Merge pull request #36 from tomdee/vendor-libcni-v0.6.0-rc1

Update vendor to v0.6.0-rc1

8 years agoptp: fix testcase for Interface int-pointer changes
Dan Williams [Wed, 5 Jul 2017 21:26:19 +0000 (16:26 -0500)]
ptp: fix testcase for Interface int-pointer changes

8 years agoREADME.md: Add travis badge
Tom Denham [Wed, 5 Jul 2017 18:49:07 +0000 (11:49 -0700)]
README.md: Add travis badge

8 years agoUpdate vendor to v0.6.0-rc1
Tom Denham [Wed, 5 Jul 2017 18:46:00 +0000 (11:46 -0700)]
Update vendor to v0.6.0-rc1

8 years agobridge: add support for promiscuous mode
Daniel Nardo [Sat, 1 Jul 2017 00:08:30 +0000 (17:08 -0700)]
bridge: add support for promiscuous mode

8 years agoMerge pull request #25 from squeed/ptp-v6
Casey Callendrello [Wed, 5 Jul 2017 15:30:23 +0000 (17:30 +0200)]
Merge pull request #25 from squeed/ptp-v6

ptp: add ipv6 support

8 years agoMerge pull request #34 from dnardo/netlink-update
Gabe Rosenhouse [Wed, 5 Jul 2017 15:29:53 +0000 (08:29 -0700)]
Merge pull request #34 from dnardo/netlink-update

vendor: Update vishvanana/netlink dependency.

8 years agoMerge pull request #28 from dcbw/update-for-interface-change
Dan Williams [Wed, 5 Jul 2017 15:29:05 +0000 (10:29 -0500)]
Merge pull request #28 from dcbw/update-for-interface-change

pkg,plugins: update for Result struct Interface index changes

8 years agovendor: Update vishvanana/netlink dependency.
Daniel Nardo [Fri, 30 Jun 2017 22:18:01 +0000 (15:18 -0700)]
vendor: Update vishvanana/netlink dependency.

This updates the netlink dependency to include recent updates, including a fix when setting prosmic mode on a bridge and additions for creating qdisc/classes/filters. This is necessary for some upcoming additions to CNI

8 years agoptp: add ipv6 support
Casey Callendrello [Mon, 12 Jun 2017 19:12:23 +0000 (21:12 +0200)]
ptp: add ipv6 support

* Wait for addresses to leave tentative state before setting routes
* Enable forwarding correctly
* Set up masquerading according to the active protocol

8 years agoMerge pull request #33 from squeed/bump-iptables
Casey Callendrello [Fri, 30 Jun 2017 09:59:44 +0000 (11:59 +0200)]
Merge pull request #33 from squeed/bump-iptables

vendor: bump go-iptables to 0.2.0

8 years agopkg,plugins: update for Result struct Interface index changes
Dan Williams [Thu, 22 Jun 2017 18:24:56 +0000 (13:24 -0500)]
pkg,plugins: update for Result struct Interface index changes

It's a pointer now, so we need to use the helper function to set
the field and also test for nil before accessing it.

8 years agovendor: bump go-iptables to 0.2.0
Casey Callendrello [Thu, 29 Jun 2017 14:12:17 +0000 (16:12 +0200)]
vendor: bump go-iptables to 0.2.0

8 years agovendor: bump cni to 0.5.2-git49d814c
Dan Williams [Thu, 22 Jun 2017 14:44:41 +0000 (09:44 -0500)]
vendor: bump cni to 0.5.2-git49d814c

8 years agoMerge pull request #24 from squeed/flannel-return
Dan Williams [Wed, 28 Jun 2017 13:45:02 +0000 (08:45 -0500)]
Merge pull request #24 from squeed/flannel-return

flannel: set the cniVersion on the delegated config

8 years agoMerge pull request #10 from leblancd/v6_bridge_plugin
Dan Williams [Wed, 28 Jun 2017 13:34:53 +0000 (08:34 -0500)]
Merge pull request #10 from leblancd/v6_bridge_plugin

bridge: Add support for IPv6 to bridge plugin

8 years agobridge: Add support for IPv6 to bridge plugin
Dane LeBlanc [Thu, 25 May 2017 14:51:52 +0000 (10:51 -0400)]
bridge: Add support for IPv6 to bridge plugin

This change adds support for IPv6 container/pod addresses to the CNI
bridge plugin, both for dual-stack (IPv4 + IPv6) and for IPv6-only
network configurations.

The proposed changes support multiple IPv6 addresses on a container
interface. If isGW is configured, the bridge will also be configured with
gateway addresses for each IPv6 subnet.

Please note that both the dual-stack functionality and support for multiple
IPv6 container/gateway addresses depends upon containernetworking/cni
PR 451 "ipam/host-local: support multiple IP ranges".
This change could potentially be committed independently from this host-local
plugin change, however the dual-stack and multiple IPv6 address
functionality that is enabled by this change can't be exercised/tested
until the host-local plugin change is committed.

There are some IPv6 unit test cases that are currently commented out
in the proposed changes because these test cases will fail without the
prior commits of the multiple IP range host-local change.

This pull request includes a temporary workaround for Kubernetes
Issue #32291 (Container IPv6 address is marked as duplicate, or dadfailed).
The problem is that kubelet enables hairpin mode on bridge veth
interfaces. Hairpin mode causes the container/pod to see echos of its
IPv6 neighbor solicitation packets, so that it declares duplicate address
detection (DAD) failure. The long-term fix is to use enhanced-DAD
when that feature is readily available in kernels. The short-term fix is
to disable IPv6 DAD in the container. Unfortunately, this has to be done
unconditionally (i.e. without a check for whether hairpin mode is enabled)
because hairpin mode is turned on by kubelet after the CNI bridge plugin
has completed cmdAdd processing. Disabling DAD should be okay if
IPv6 addresses are guaranteed to be unique (which is the case for
host-local IPAM plugin).

8 years agoflannel: set the cniVersion on the delegated config
Casey Callendrello [Fri, 16 Jun 2017 17:04:07 +0000 (19:04 +0200)]
flannel: set the cniVersion on the delegated config

Fixes: #23

8 years agoMerge pull request #16 from squeed/gratuitous-arp
Casey Callendrello [Fri, 16 Jun 2017 16:34:37 +0000 (18:34 +0200)]
Merge pull request #16 from squeed/gratuitous-arp

 ptp, macvlan: don't change mac address; send gratuitous arp

8 years agoMerge pull request #22 from squeed/portmap-plugin
Casey Callendrello [Fri, 16 Jun 2017 16:33:40 +0000 (18:33 +0200)]
Merge pull request #22 from squeed/portmap-plugin

portmap: Don't accept a port number of 0

8 years agoMerge pull request #11 from dcbw/dhcp-pidfile
Gabe Rosenhouse [Fri, 16 Jun 2017 05:48:42 +0000 (22:48 -0700)]
Merge pull request #11 from dcbw/dhcp-pidfile

dhcp: add --pidfile option to DHCP client daemon

8 years agoportmap: Don't accept a port number of 0
Casey Callendrello [Wed, 14 Jun 2017 18:05:44 +0000 (20:05 +0200)]
portmap: Don't accept a port number of 0

This also adds more testing around configuration parsing.

8 years agoMerge pull request #12 from squeed/host-local-multi
Dan Williams [Thu, 15 Jun 2017 02:55:30 +0000 (21:55 -0500)]
Merge pull request #12 from squeed/host-local-multi

ipam/host-local: support multiple IP ranges

8 years agodhcp: add --pidfile option to DHCP client daemon
Dan Williams [Sat, 27 May 2017 04:48:29 +0000 (23:48 -0500)]
dhcp: add --pidfile option to DHCP client daemon

8 years agoMerge pull request #14 from rosenhouse/more-ns-warning-redux
Bryan Boreham [Wed, 14 Jun 2017 15:18:26 +0000 (16:18 +0100)]
Merge pull request #14 from rosenhouse/more-ns-warning-redux

pkg/ns readme: expand on danger of ns switching in long-lived programs

8 years agoipam/host-local: support multiple IP ranges
Casey Callendrello [Thu, 11 May 2017 15:01:20 +0000 (17:01 +0200)]
ipam/host-local: support multiple IP ranges

This change allows the host-local allocator to allocate multiple IPs.
This is intended to enable dual-stack, but is not limited to only two
subnets or separate address families.

8 years agoMerge pull request #17 from tklauser/x-sys-unix-setns
Gabe Rosenhouse [Thu, 8 Jun 2017 15:39:41 +0000 (08:39 -0700)]
Merge pull request #17 from tklauser/x-sys-unix-setns

pkg/ns: use unix.Setns() instead of open coding it

8 years agopkg/ns: use unix.Setns() instead of open coding it
Tobias Klauser [Thu, 8 Jun 2017 12:48:58 +0000 (14:48 +0200)]
pkg/ns: use unix.Setns() instead of open coding it

Use unix.Setns() instead of manually re-implementing it using
unix.Syscall().

8 years agoMerge pull request #15 from rosenhouse/contribute-vagrantfile
Gabe Rosenhouse [Wed, 7 Jun 2017 14:26:01 +0000 (07:26 -0700)]
Merge pull request #15 from rosenhouse/contribute-vagrantfile

Add CONTRIBUTING and Vagrantfile

8 years agoptp, macvlan: don't change mac address; send gratuitous arp
Casey Callendrello [Wed, 7 Jun 2017 14:08:41 +0000 (16:08 +0200)]
ptp, macvlan: don't change mac address; send gratuitous arp

8 years agovendor: add j-keck/arping
Casey Callendrello [Wed, 7 Jun 2017 13:40:26 +0000 (15:40 +0200)]
vendor: add j-keck/arping

8 years agoadd Vagrantfile to support cross-platform development
Gabe Rosenhouse [Wed, 7 Jun 2017 03:13:31 +0000 (20:13 -0700)]
add Vagrantfile to support cross-platform development

Update CONTRIBUTING to reflect plugin split

8 years agocontributing doc: copy in from cni repo
Gabe Rosenhouse [Wed, 7 Jun 2017 02:20:19 +0000 (19:20 -0700)]
contributing doc: copy in from cni repo

8 years agopkg/ns readme: expand on danger of ns switching in long-lived programs
Gabe Rosenhouse [Wed, 7 Jun 2017 02:05:00 +0000 (19:05 -0700)]
pkg/ns readme: expand on danger of ns switching in long-lived programs

- redux of https://github.com/containernetworking/cni/pull/331 since the
plugin/lib split
- added link to new blog post about this from Weave folks (thanks!)

8 years agoMerge pull request #13 from squeed/build-fixes
Casey Callendrello [Fri, 2 Jun 2017 08:23:03 +0000 (10:23 +0200)]
Merge pull request #13 from squeed/build-fixes

build: some minor post-repo-split fixes; add fastbuild

8 years agobuild: some minor post-repo-split fixes; add fastbuild
Casey Callendrello [Thu, 1 Jun 2017 16:43:58 +0000 (18:43 +0200)]
build: some minor post-repo-split fixes; add fastbuild

8 years agoMerge pull request #1 from squeed/portmap-plugin
Bryan Boreham [Thu, 1 Jun 2017 12:05:29 +0000 (13:05 +0100)]
Merge pull request #1 from squeed/portmap-plugin

iptables-based portmapping plugin

8 years agoplugins/meta/portmap: add an iptables-based host port mapping plugin
Casey Callendrello [Fri, 26 May 2017 15:50:13 +0000 (17:50 +0200)]
plugins/meta/portmap: add an iptables-based host port mapping plugin

8 years agovendor: add mattn/go-shellwords
Casey Callendrello [Wed, 31 May 2017 17:20:27 +0000 (19:20 +0200)]
vendor: add mattn/go-shellwords

8 years agovendor: add libcni
Casey Callendrello [Fri, 26 May 2017 15:49:46 +0000 (17:49 +0200)]
vendor: add libcni

8 years agovendor: update coreos/go-iptables
Casey Callendrello [Wed, 3 May 2017 09:54:41 +0000 (11:54 +0200)]
vendor: update coreos/go-iptables

8 years agoMerge pull request #9 from squeed/move-pkg
Dan Williams [Wed, 31 May 2017 15:11:59 +0000 (10:11 -0500)]
Merge pull request #9 from squeed/move-pkg

Move libraries from cni only used by plugins.

8 years agovendor: remove moved cni/pkg/... libraries
Casey Callendrello [Mon, 22 May 2017 18:32:16 +0000 (20:32 +0200)]
vendor: remove moved cni/pkg/... libraries

8 years agomove most of cni/pkg to plugins/pkg: delete code staying in cni/pkg
Casey Callendrello [Mon, 22 May 2017 18:09:42 +0000 (20:09 +0200)]
move most of cni/pkg to plugins/pkg: delete code staying in cni/pkg

This moves the following packages to this repository:
* ip
* ipam
* ns
* testutils
* utils

8 years agoAdd 'pkg/' from commit 'a11be4d7596203874b742b6597caf255204c56c3'
Casey Callendrello [Fri, 19 May 2017 17:43:02 +0000 (19:43 +0200)]
Add 'pkg/' from commit 'a11be4d7596203874b742b6597caf255204c56c3'

git-subtree-dir: pkg
git-subtree-mainline: dcf7368eeab15e2affc6256f0bb1e84dd46a34de
git-subtree-split: a11be4d7596203874b742b6597caf255204c56c3

8 years agoMerge pull request #6 from squeed/merge-docs
Casey Callendrello [Fri, 19 May 2017 14:16:01 +0000 (16:16 +0200)]
Merge pull request #6 from squeed/merge-docs

Documentation folder merge

8 years agoMerge pull request #8 from squeed/bump-cni
Casey Callendrello [Fri, 19 May 2017 13:54:54 +0000 (15:54 +0200)]
Merge pull request #8 from squeed/bump-cni

vendor: bump cni to v0.5.2

8 years agovendor: bump cni to v0.5.2
Casey Callendrello [Fri, 19 May 2017 12:36:51 +0000 (14:36 +0200)]
vendor: bump cni to v0.5.2

8 years agoAdd references to all plugins to the README
Casey Callendrello [Mon, 15 May 2017 17:07:19 +0000 (19:07 +0200)]
Add references to all plugins to the README

8 years agoMove documentation folder to individual READMEs
Casey Callendrello [Mon, 15 May 2017 15:16:27 +0000 (17:16 +0200)]
Move documentation folder to individual READMEs

8 years agoAdd 'Documentation/' from commit '5bb59a12b80dc99552bebf0394a067807f72f947'
Casey Callendrello [Mon, 15 May 2017 15:13:31 +0000 (17:13 +0200)]
Add 'Documentation/' from commit '5bb59a12b80dc99552bebf0394a067807f72f947'

git-subtree-dir: Documentation
git-subtree-mainline: db8f94a5096c356107873455525f5fa3a02561d5
git-subtree-split: 5bb59a12b80dc99552bebf0394a067807f72f947

8 years agoRename build & test, take two
Casey Callendrello [Mon, 15 May 2017 14:50:24 +0000 (16:50 +0200)]
Rename build & test, take two

8 years agoRename build script to avoid conflict with bazel
Casey Callendrello [Mon, 15 May 2017 14:45:58 +0000 (16:45 +0200)]
Rename build script to avoid conflict with bazel

8 years agoMerge pull request #5 from dcbw/add-cni-plugins
Casey Callendrello [Mon, 15 May 2017 10:27:40 +0000 (12:27 +0200)]
Merge pull request #5 from dcbw/add-cni-plugins

plugins: add plugins from containernetworking/cni

8 years agoplugins: add plugins from containernetworking/cni
Dan Williams [Mon, 15 May 2017 04:06:45 +0000 (23:06 -0500)]
plugins: add plugins from containernetworking/cni

Plugins prepared from the containernetworking/cni repo as follows:

1) git reset --hard 1a9288c3c09cea4e580fdb1a636f1c5e185a391f
2) git remove everything not in plugins/
3) git remove plugins/test
4) git merge into containernetworking/plugins repo
5) adjust import paths for containernetworking/cni -> containernetworking/plugins

8 years agoRemove everything except for plugins in preparation for import to plugins repo
Dan Williams [Mon, 15 May 2017 04:02:48 +0000 (23:02 -0500)]
Remove everything except for plugins in preparation for import to plugins repo

8 years agoplugins: move vlan to plugins/main/
Dan Williams [Wed, 10 May 2017 03:17:30 +0000 (22:17 -0500)]
plugins: move vlan to plugins/main/

8 years agovendor: add github.com/d2g
Dan Williams [Wed, 10 May 2017 03:43:47 +0000 (22:43 -0500)]
vendor: add github.com/d2g

8 years agovendor: add coreos/go-systemd
Dan Williams [Wed, 10 May 2017 03:41:41 +0000 (22:41 -0500)]
vendor: add coreos/go-systemd

8 years agovendor: add gomega/gbytes and gomega/gexec
Dan Williams [Wed, 10 May 2017 03:41:15 +0000 (22:41 -0500)]
vendor: add gomega/gbytes and gomega/gexec

8 years agovendor: bump CNI to 1a9288c3c09cea4e580fdb1a636f1c5e185a391f
Dan Williams [Wed, 10 May 2017 03:36:26 +0000 (22:36 -0500)]
vendor: bump CNI to 1a9288c3c09cea4e580fdb1a636f1c5e185a391f

8 years agoMerge pull request #450 from gunjan5/spec-version-mismatch
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

8 years agoMerge pull request #445 from feiskyer/cniversion
Dan Williams [Fri, 5 May 2017 22:47:26 +0000 (17:47 -0500)]
Merge pull request #445 from feiskyer/cniversion

Add cniVersion to Result

8 years agocniVersion and config structure mismatch
gunjan5 [Fri, 5 May 2017 21:50:58 +0000 (14:50 -0700)]
cniVersion and config structure mismatch

8 years agoMerge pull request #4 from containernetworking/plugins-travis
Casey Callendrello [Fri, 5 May 2017 15:10:19 +0000 (17:10 +0200)]
Merge pull request #4 from containernetworking/plugins-travis

travis integration

8 years agoMerge pull request #447 from gunjan5/invalid-spec-json
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

8 years agofix invalid json
gunjan5 [Thu, 4 May 2017 22:59:11 +0000 (15:59 -0700)]
fix invalid json

8 years agotravis integration
Gabe Rosenhouse [Wed, 3 May 2017 17:07:29 +0000 (10:07 -0700)]
travis integration

- go build instead of go install to support cross-compile to bin dir
- shellcheck fixes for build script

8 years agoFix testings accross the project
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>
8 years agoFix testings accross the project
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>
8 years agoAdd cniVersion to Result
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>
8 years agoAdd cniVersion to Result
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>
8 years agoMerge pull request #433 from dunjut/master
Dan Williams [Sat, 29 Apr 2017 01:58:17 +0000 (20:58 -0500)]
Merge pull request #433 from dunjut/master

scripts: cleanup() should rm net container in docker-run.sh

8 years agoMerge pull request #440 from feiskyer/cap
Dan Williams [Sat, 29 Apr 2017 01:55:31 +0000 (20:55 -0500)]
Merge pull request #440 from feiskyer/cap

cnitool: support capablity args

8 years agoMerge pull request #2 from dcbw/vlan
Dan Williams [Wed, 26 Apr 2017 17:54:05 +0000 (12:54 -0500)]
Merge pull request #2 from dcbw/vlan

plugins: add a simple VLAN plugin

8 years agoMerge pull request #439 from dnardo/netlink-update
Dan Williams [Tue, 25 Apr 2017 15:24:05 +0000 (10:24 -0500)]
Merge pull request #439 from dnardo/netlink-update

vendor: Update vishvanana/netlink dependency.

8 years agocnitool: support capablity args
Pengfei Ni [Tue, 25 Apr 2017 09:35:03 +0000 (17:35 +0800)]
cnitool: support capablity args

Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
8 years agoMerge pull request #391 from tangle329/master
Dan Williams [Tue, 25 Apr 2017 03:00:07 +0000 (22:00 -0500)]
Merge pull request #391 from tangle329/master

Validate rangeStart and rangeEnd specified in conf

8 years agoMerge pull request #435 from micahhausler/patch-1
Tom Denham [Mon, 24 Apr 2017 18:21:33 +0000 (11:21 -0700)]
Merge pull request #435 from micahhausler/patch-1

Fixed table formatting

8 years agoUpdate netlink dependency.
Daniel Nardo [Mon, 24 Apr 2017 17:31:24 +0000 (10:31 -0700)]
Update netlink dependency.

8 years agoFixed table formatting
Micah Hausler [Fri, 21 Apr 2017 19:22:56 +0000 (15:22 -0400)]
Fixed table formatting

8 years agoscripts: cleanup() should rm net container in docker-run.sh
du [Fri, 21 Apr 2017 10:27:46 +0000 (18:27 +0800)]
scripts: cleanup() should rm net container in docker-run.sh

8 years agoMerge pull request #432 from dunjut/master
Bryan Boreham [Fri, 21 Apr 2017 10:12:49 +0000 (11:12 +0100)]
Merge pull request #432 from dunjut/master

README: build the plugins using ./build.sh, not ./build

8 years agoREADME: build the plugins using ./build.sh, not ./build
du [Fri, 21 Apr 2017 07:29:57 +0000 (15:29 +0800)]
README: build the plugins using ./build.sh, not ./build

8 years agovlan: add VLAN plugin
Dan Williams [Wed, 19 Apr 2017 03:06:54 +0000 (22:06 -0500)]
vlan: add VLAN plugin

8 years agovendor: add CNI invoke, ip, ipam, and hwaddr packages
Dan Williams [Wed, 19 Apr 2017 03:04:20 +0000 (22:04 -0500)]
vendor: add CNI invoke, ip, ipam, and hwaddr packages

8 years agotest: CmdAddWithResult sets CNI_PATH from PATH
Dan Williams [Wed, 19 Apr 2017 04:45:05 +0000 (23:45 -0500)]
test: CmdAddWithResult sets CNI_PATH from PATH

To actually use CNI plugins in the given CNI_PATH, we need to add
CNI_PATH to PATH because CmdAddWithResult() does this:

os.Setenv("CNI_PATH", os.Getenv("PATH"))

8 years agotest: make tests actually work when packages have vendored imports
Dan Williams [Wed, 19 Apr 2017 04:39:09 +0000 (23:39 -0500)]
test: make tests actually work when packages have vendored imports

Go's "..." syntax (eg, ./plugins/...) doesn't traverse symlinks, so
go test wasn't finding the vendor/ directory for imports.  To get around
that we have to specify each testable package specifically rather
than use "...".