plugins.git
8 years agohost-device: cleanup + completed tests;
Tino Rusch [Thu, 29 Jun 2017 09:44:59 +0000 (11:44 +0200)]
host-device: cleanup + completed tests;

8 years ago[host-device] integrated `getLink()` function which maps either devicename, hw-addr...
Tino Rusch [Tue, 2 May 2017 11:21:50 +0000 (13:21 +0200)]
[host-device] integrated `getLink()` function which maps either devicename, hw-addr or kernelpath to a link object;

8 years agoadded host-device plugin which adds a specified link to the container network namespace;
Tino Rusch [Fri, 28 Apr 2017 07:34:22 +0000 (09:34 +0200)]
added host-device plugin which adds a specified link to the container network namespace;

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 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 "...".

8 years agoAdd simple testing infrastructure
Casey Callendrello [Mon, 13 Mar 2017 17:05:55 +0000 (18:05 +0100)]
Add simple testing infrastructure

8 years agogodeps: initial creation
Casey Callendrello [Mon, 13 Mar 2017 13:36:20 +0000 (14:36 +0100)]
godeps: initial creation

8 years agosample: create sample plugin
Casey Callendrello [Mon, 13 Mar 2017 13:31:58 +0000 (14:31 +0100)]
sample: create sample plugin

8 years agoInitial commit
Casey Callendrello [Fri, 10 Mar 2017 15:46:52 +0000 (16:46 +0100)]
Initial commit