cni.git
8 years agopkg/testutils: return errors after restoring stdout
Dan Williams [Mon, 27 Feb 2017 19:27:19 +0000 (13:27 -0600)]
pkg/testutils: return errors after restoring stdout

Ensures Ginkgo is able to print detailed failure messages instead
of them being captured by the pipe.

8 years agoMerge pull request #379 from Intel-Corp/master
Tom Denham [Thu, 23 Feb 2017 18:40:59 +0000 (10:40 -0800)]
Merge pull request #379 from Intel-Corp/master

README: List multus as 3rd party plugin

8 years agoMerge pull request #371 from rosenhouse/spec-netconf-routes
Dan Williams [Thu, 23 Feb 2017 02:32:41 +0000 (20:32 -0600)]
Merge pull request #371 from rosenhouse/spec-netconf-routes

spec: Remove `routes` from Network Configuration

8 years agoREADME: List multus as 3rd party plugin
Kuralamudhan Ramakrishnan [Wed, 22 Feb 2017 16:13:12 +0000 (16:13 +0000)]
README: List multus as 3rd party plugin

refer #343 issue

8 years agoMerge pull request #376 from zackhsi/fix-grammar
Gabe Rosenhouse [Tue, 21 Feb 2017 01:51:38 +0000 (17:51 -0800)]
Merge pull request #376 from zackhsi/fix-grammar

Fix grammar

8 years agoFix grammar
Zack Hsi [Mon, 20 Feb 2017 19:21:49 +0000 (11:21 -0800)]
Fix grammar

8 years agoMerge pull request #372 from rosenhouse/consolidate-host-local-docs
Gabe Rosenhouse [Mon, 20 Feb 2017 14:33:33 +0000 (06:33 -0800)]
Merge pull request #372 from rosenhouse/consolidate-host-local-docs

docs: consolidate host-local documentation

8 years agodocs: consolidate host-local documentation
Gabe Rosenhouse [Wed, 15 Feb 2017 23:18:25 +0000 (15:18 -0800)]
docs: consolidate host-local documentation

- remove the README.md in the plugins/ipam/host-local (no other plugin
  has this)
- merge that info into the main Documentation/host-local.md

8 years agospec: Remove `routes` from Network Configuration
Gabe Rosenhouse [Wed, 15 Feb 2017 23:02:23 +0000 (15:02 -0800)]
spec: Remove `routes` from Network Configuration

- this is supported by some IPAM plugins but is not required of all of
  them

8 years agoMerge pull request #369 from containernetworking/port-mapping
Tom Denham [Tue, 14 Feb 2017 19:47:59 +0000 (11:47 -0800)]
Merge pull request #369 from containernetworking/port-mapping

CONVENTIONS.md: Update details on port-mappings

8 years agoMore markups
Tom Denham [Mon, 13 Feb 2017 18:14:45 +0000 (10:14 -0800)]
More markups

8 years agoUpdate with feedback
Tom Denham [Thu, 9 Feb 2017 22:03:47 +0000 (14:03 -0800)]
Update with feedback

8 years agoCONVENTIONS.md: Update details on port-mappings
Tom Denham [Wed, 8 Feb 2017 20:43:04 +0000 (12:43 -0800)]
CONVENTIONS.md: Update details on port-mappings

After discussion with the CNI maintainers and representatives from Mesos and Kubernetes we've settled on this approach for passing the dynamic port mapping information from runtimes to plugins.

Including it in the plugin config allows "operators" to signal that they expect port mapping information to be passed to a specific plugin (or plugins). This follows the model that config passed in the plugin config should be acted upon by a plugin.

Runtimes can optionally return an error to users if they find no plugin in the chain that supports port mappings.

I'm sure we'd all like to see this merged soon so I'll try to turn any feedback quickly (and I'm happy to get any and all feedback - spellings, unclear working, wrong JSON terminology etc..)

8 years agoMerge pull request #361 from ofiliz/issue-360
Gabe Rosenhouse [Wed, 8 Feb 2017 18:15:49 +0000 (10:15 -0800)]
Merge pull request #361 from ofiliz/issue-360

invoke: Enable plugin file names with extensions

8 years agoinvoke: Enable plugin file names with extensions
Onur Filiz [Sat, 4 Feb 2017 20:01:47 +0000 (12:01 -0800)]
invoke: Enable plugin file names with extensions

A CNI network configuration file contains the plugin's executable file name.
Some platforms like Windows require a file name extension for executables.
This causes unnecessary burden on admins as they now have to maintain two
versions of each type of netconfig file, which differ only by the ".exe"
extension. A much simpler design is for invoke package to also look for
well-known extensions on platforms that require it. Existing tests are
improved and new tests are added to cover the new behavior.

Fixes #360

8 years agoMerge pull request #364 from pires/build_tag
Gabe Rosenhouse [Fri, 3 Feb 2017 19:18:39 +0000 (14:18 -0500)]
Merge pull request #364 from pires/build_tag

pkg/utils/sysctl/sysctl_linux.go: couple fixes

8 years agopkg/utils/sysctl/sysctl_linux.go: fix typo.
Paulo Pires [Fri, 3 Feb 2017 04:47:43 +0000 (04:47 +0000)]
pkg/utils/sysctl/sysctl_linux.go: fix typo.

8 years agopkg/utils/sysctl/sysctl_linux.go: fix build tag.
Paulo Pires [Fri, 3 Feb 2017 04:46:55 +0000 (04:46 +0000)]
pkg/utils/sysctl/sysctl_linux.go: fix build tag.

8 years agoMerge pull request #359 from ofiliz/issue-355
Tom Denham [Thu, 2 Feb 2017 20:35:07 +0000 (12:35 -0800)]
Merge pull request #359 from ofiliz/issue-355

libcni, pkg\invoke: Use OS-specific list separator when parsing CNI_PATH

8 years agospec, libcni, pkg/invoke: Use OS-agnostic separator when parsing CNI_PATH
Onur [Sat, 28 Jan 2017 21:30:00 +0000 (13:30 -0800)]
spec, libcni, pkg/invoke: Use OS-agnostic separator when parsing CNI_PATH

Hardcoding the list separator character as ":" causes CNI to fail when parsing
CNI_PATH on other operating systems. For example, Windows uses ";" as list
separator because ":" can legally appear in paths such as "C:\path\to\file".
This change replaces use of ":" with OS-agnostic APIs or os.PathListSeparator.

Fixes #358

8 years agoMerge pull request #145 from dcbw/pass-ifname-back
Gabe Rosenhouse [Wed, 25 Jan 2017 19:20:57 +0000 (11:20 -0800)]
Merge pull request #145 from dcbw/pass-ifname-back

Pass interface name and MAC back to runtime

8 years agospec/plugins: return interface details and multiple IP addresses to runtime
Dan Williams [Tue, 22 Nov 2016 17:32:35 +0000 (11:32 -0600)]
spec/plugins: return interface details and multiple IP addresses to runtime

Updates the spec and plugins to return an array of interfaces and IP details
to the runtime including:

- interface names and MAC addresses configured by the plugin
- whether the interfaces are sandboxed (container/VM) or host (bridge, veth, etc)
- multiple IP addresses configured by IPAM and which interface they
have been assigned to

Returning interface details is useful for runtimes, as well as allowing
more flexible chaining of CNI plugins themselves.  For example, some
meta plugins may need to know the host-side interface to be able to
apply firewall or traffic shaping rules to the container.

8 years agopkg/ipam: add testcases
Dan Williams [Thu, 19 Jan 2017 14:44:35 +0000 (08:44 -0600)]
pkg/ipam: add testcases

8 years agoplugins/flannel: organize test JSON alphabetically
Dan Williams [Wed, 18 Jan 2017 22:39:57 +0000 (16:39 -0600)]
plugins/flannel: organize test JSON alphabetically

Otherwise the test fails, since Go's JSON marshaller prints
dict items alphabetically in its String() call.

8 years agomacvlan/ipvlan: use common RenameLink method
Dan Williams [Mon, 28 Nov 2016 15:33:39 +0000 (09:33 -0600)]
macvlan/ipvlan: use common RenameLink method

8 years agotypes: make Result an interface and move existing Result to separate package
Dan Williams [Wed, 9 Nov 2016 21:11:18 +0000 (15:11 -0600)]
types: make Result an interface and move existing Result to separate package

8 years agotestutils: pass netConf in for version operations; pass raw result out for tests
Dan Williams [Tue, 22 Nov 2016 16:02:39 +0000 (10:02 -0600)]
testutils: pass netConf in for version operations; pass raw result out for tests

8 years agoMerge pull request #355 from rosenhouse/skel-main-errors
Gabe Rosenhouse [Mon, 23 Jan 2017 15:42:57 +0000 (07:42 -0800)]
Merge pull request #355 from rosenhouse/skel-main-errors

skel: adds PluginMainWithError which returns a *types.Error

8 years agoskel: adds PluginMainWithError which returns a *types.Error
Gabe Rosenhouse [Mon, 23 Jan 2017 00:39:15 +0000 (16:39 -0800)]
skel: adds PluginMainWithError which returns a *types.Error

Enables plugins to do their own error-handling and cleanup logic

8 years agoMerge pull request #352 from containernetworking/conventions
Gabe Rosenhouse [Fri, 20 Jan 2017 21:50:24 +0000 (13:50 -0800)]
Merge pull request #352 from containernetworking/conventions

Documentation: Add conventions doc

8 years agoUpdate CONVENTIONS.md
Tom Denham [Fri, 20 Jan 2017 20:49:00 +0000 (12:49 -0800)]
Update CONVENTIONS.md

8 years agoMerge pull request #346 from dcbw/ordered-chaining
Gabe Rosenhouse [Fri, 20 Jan 2017 16:35:37 +0000 (08:35 -0800)]
Merge pull request #346 from dcbw/ordered-chaining

api/plugins: implement ordered plugin chaining

8 years agoapi,libcni: add network config list-based plugin chaining
Dan Williams [Sat, 17 Dec 2016 00:56:39 +0000 (18:56 -0600)]
api,libcni: add network config list-based plugin chaining

Using a new ".configlist" file format that allows specifying
a list of CNI network configurations to run, add new libcni
helper functions to call each plugin in the list, injecting
the overall name, CNI version, and previous plugin's Result
structure into the configuration of the next plugin.

8 years agospec: add network configuration list specification
Dan Williams [Sat, 17 Dec 2016 01:35:26 +0000 (19:35 -0600)]
spec: add network configuration list specification

8 years agoSpec/Conventions: Update to include plugin config
Tom Denham [Fri, 20 Jan 2017 02:05:28 +0000 (18:05 -0800)]
Spec/Conventions: Update to include plugin config

8 years agonoop: allow specifying debug file in config JSON
Dan Williams [Fri, 16 Dec 2016 19:53:51 +0000 (13:53 -0600)]
noop: allow specifying debug file in config JSON

Chaining sends different config JSON to each plugin, but the same
environment, and if we want to test multiple noop plugin runs in
the same chain we need a way of telling each run to use a different
debug file.

8 years agoDocumentation: Add conventions doc
Tom Denham [Tue, 17 Jan 2017 23:53:24 +0000 (15:53 -0800)]
Documentation: Add conventions doc

8 years agoMerge pull request #334 from squeed/host-local-dns
Tom Denham [Fri, 13 Jan 2017 01:06:04 +0000 (17:06 -0800)]
Merge pull request #334 from squeed/host-local-dns

ipam/host-local: add ResolvConf argument for DNS configuration

8 years agoMerge pull request #350 from rosenhouse/spec-version
Tom Denham [Thu, 12 Jan 2017 21:42:25 +0000 (13:42 -0800)]
Merge pull request #350 from rosenhouse/spec-version

spec: notice of version

8 years agospec: notice of version
Gabe Rosenhouse [Wed, 11 Jan 2017 16:35:42 +0000 (08:35 -0800)]
spec: notice of version

8 years agoipam/host-local: add ResolvConf argument for DNS configuration
Casey Callendrello [Mon, 21 Nov 2016 18:05:41 +0000 (19:05 +0100)]
ipam/host-local: add ResolvConf argument for DNS configuration

This adds the option `resolvConf` to the host-local IPAM configuration.
If specified, the plugin will try to parse the file as a resolv.conf(5)
type file and return it in the DNS response.

9 years agoMerge pull request #115 from aanm/implementing-ipam-as-lib
Tom Denham [Tue, 10 Jan 2017 21:06:46 +0000 (13:06 -0800)]
Merge pull request #115 from aanm/implementing-ipam-as-lib

ipam/host-local: Move allocator and config to backend

9 years agoipam/host-local: Move allocator and config to backend
André Martins [Sat, 6 Feb 2016 21:52:27 +0000 (21:52 +0000)]
ipam/host-local: Move allocator and config to backend

Signed-off-by: André Martins <aanm90@gmail.com>
9 years agoMerge pull request #325 from squeed/update-maintainer
Gabe Rosenhouse [Mon, 19 Dec 2016 19:02:20 +0000 (11:02 -0800)]
Merge pull request #325 from squeed/update-maintainer

MAINTAINERS: hi CaseyC!

9 years agoMAINTAINERS: hi CaseyC!
Casey Callendrello [Tue, 8 Nov 2016 17:38:04 +0000 (18:38 +0100)]
MAINTAINERS: hi CaseyC!

9 years agoMerge pull request #345 from rosenhouse/travis-go-versions
Gabe Rosenhouse [Fri, 16 Dec 2016 16:06:17 +0000 (08:06 -0800)]
Merge pull request #345 from rosenhouse/travis-go-versions

travis: roll forward the versions of Go that we test

9 years agotravis: roll forward the versions of Go that we test
Gabe Rosenhouse [Fri, 16 Dec 2016 02:41:07 +0000 (18:41 -0800)]
travis: roll forward the versions of Go that we test

9 years agoMerge pull request #314 from rosenhouse/noop-helpful-message
Gabe Rosenhouse [Fri, 16 Dec 2016 02:35:43 +0000 (18:35 -0800)]
Merge pull request #314 from rosenhouse/noop-helpful-message

plugins/noop: return a helpful message for test authors

9 years agoMerge pull request #344 from dcbw/interface-checks
Gabe Rosenhouse [Fri, 16 Dec 2016 02:34:57 +0000 (18:34 -0800)]
Merge pull request #344 from dcbw/interface-checks

all: assert internal objects implement interfaces

9 years agoMerge branch 'master' into interface-checks
Gabe Rosenhouse [Fri, 16 Dec 2016 02:20:34 +0000 (18:20 -0800)]
Merge branch 'master' into interface-checks

9 years agoMerge pull request #341 from dcbw/host-local-trim
Gabe Rosenhouse [Fri, 16 Dec 2016 02:18:25 +0000 (18:18 -0800)]
Merge pull request #341 from dcbw/host-local-trim

host-local: trim whitespace from container IDs and disk file contents

9 years agoall: assert internal objects implement interfaces
Dan Williams [Wed, 14 Dec 2016 23:09:01 +0000 (17:09 -0600)]
all: assert internal objects implement interfaces

9 years agoMerge pull request #340 from vzcambria/master
Dan Williams [Sat, 10 Dec 2016 00:22:08 +0000 (18:22 -0600)]
Merge pull request #340 from vzcambria/master

Fix README.md host-local IPAM range start/end typo

9 years agohost-local: trim whitespace from container IDs and disk file contents
Dan Williams [Sat, 10 Dec 2016 00:16:38 +0000 (18:16 -0600)]
host-local: trim whitespace from container IDs and disk file contents

It doesn't seem like container IDs should really have whitespace or
newlines in them.  As a complete edge-case, manipulating the host-local
store's IP reservations with 'echo' puts a newline at the end, which
caused matching to fail in ReleaseByID().  Don't ask...

9 years agoFix README.md host-local IPAM range start/end typo
VZ Cambria [Tue, 6 Dec 2016 15:40:55 +0000 (10:40 -0500)]
Fix README.md host-local IPAM range start/end typo

9 years agoplugins/noop: return a helpful message for test authors
Konstantinos Karampogias [Thu, 27 Oct 2016 17:47:04 +0000 (10:47 -0700)]
plugins/noop: return a helpful message for test authors

Signed-off-by: Gabe Rosenhouse <grosenhouse@pivotal.io>
9 years agoMerge pull request #335 from JulienBalestra/json_ext
Dan Williams [Fri, 2 Dec 2016 19:33:36 +0000 (13:33 -0600)]
Merge pull request #335 from JulienBalestra/json_ext

libcni conf: support .json file extension

9 years agolibcni conf: support .json file extension
Julien Balestra [Wed, 23 Nov 2016 09:46:17 +0000 (10:46 +0100)]
libcni conf: support .json file extension

Content of the files are json, the configuration load should support .json

9 years agoMerge pull request #322 from cf-container-networking/flannel-cni-stateDir
Dan Williams [Fri, 18 Nov 2016 21:27:35 +0000 (15:27 -0600)]
Merge pull request #322 from cf-container-networking/flannel-cni-stateDir

Allow flannel CNI plugin stateDir to be configurable

9 years agoflannel: rename stateDir to dataDir
Mark St.Godard [Thu, 17 Nov 2016 21:54:29 +0000 (15:54 -0600)]
flannel: rename stateDir to dataDir

Rename StateDir to DataDir for flannel CNI plugin

9 years agoMerge pull request #330 from bboreham/ns-warning
Gabe Rosenhouse [Thu, 17 Nov 2016 16:00:31 +0000 (08:00 -0800)]
Merge pull request #330 from bboreham/ns-warning

Expand description of goroutine+netns problems

9 years agoExpand description of goroutine+netns problems
Bryan Boreham [Thu, 17 Nov 2016 15:45:38 +0000 (15:45 +0000)]
Expand description of goroutine+netns problems

9 years agoMerge pull request #327 from dcbw/host-local-tests
Gabe Rosenhouse [Mon, 14 Nov 2016 16:17:40 +0000 (08:17 -0800)]
Merge pull request #327 from dcbw/host-local-tests

host-local: add DataDir IPAM conf option and use it for testcases

9 years agoflannel: updated flannel test to use pkg/testutils
Mark St.Godard [Sun, 13 Nov 2016 18:16:32 +0000 (12:16 -0600)]
flannel: updated flannel test to use pkg/testutils

reworked the flannel test to use testutils CmdAddWithResult and
CmdDelWithResult

9 years agoMerge pull request #328 from markstgodard/noop-cni-args
Gabe Rosenhouse [Fri, 11 Nov 2016 06:24:58 +0000 (22:24 -0800)]
Merge pull request #328 from markstgodard/noop-cni-args

noop plugin: support multiple CNI_ARGS

9 years agonoop plugin: support multiple CNI_ARGS
Mark St.Godard [Thu, 10 Nov 2016 21:30:24 +0000 (15:30 -0600)]
noop plugin: support multiple CNI_ARGS

Updated noop plugin to parse the CNI_ARGS pairs, to allow more than just
the DEBUG arg.

9 years agoMerge pull request #324 from lstoll/lstoll-ipvlan-l3s
Dan Williams [Thu, 10 Nov 2016 18:53:59 +0000 (12:53 -0600)]
Merge pull request #324 from lstoll/lstoll-ipvlan-l3s

ipvlan: Support L3-Symmetric mode

9 years agohost-local: add DataDir IPAM conf option and use it for testcases
Dan Williams [Thu, 10 Nov 2016 16:50:58 +0000 (10:50 -0600)]
host-local: add DataDir IPAM conf option and use it for testcases

Add an e2e host-local plugin testcase, which requires being able
to pass the datadir into the plugin so we can erase it later.
We're not always guaranteed to have access to the default data
dir location, plus it should probably be configurable anyway.

9 years agoflannel: update flannel documentation
Mark St.Godard [Wed, 9 Nov 2016 15:34:35 +0000 (09:34 -0600)]
flannel: update flannel documentation

add optional 'stateDir' to flannel docs

9 years agoMerge pull request #307 from squeed/backwards-compatability-tests
Gabe Rosenhouse [Mon, 7 Nov 2016 22:25:09 +0000 (14:25 -0800)]
Merge pull request #307 from squeed/backwards-compatability-tests

testing: test invocation of newer plugins with an older libcni

9 years agoflannel: add unit tests for config loading
Mark St.Godard [Sun, 6 Nov 2016 04:27:14 +0000 (23:27 -0500)]
flannel: add unit tests for config loading

backfill unit tests to add coverage for loadFlannelNetConf and
loadFlannelSubnetEnv

9 years agoipvlan: Support ipvlan l3s mode.
Lincoln Stoll [Sat, 5 Nov 2016 20:22:51 +0000 (13:22 -0700)]
ipvlan: Support ipvlan l3s mode.

This landed in kernel in 4fbae7d

9 years agovendor: github.com/vishvananda/netlink@a1f8555
Lincoln Stoll [Sat, 5 Nov 2016 20:40:34 +0000 (13:40 -0700)]
vendor: github.com/vishvananda/netlink@a1f8555

Update to current master, to get IPVLAN L3s def.

9 years agoflannel: add integration test suite
Mark St.Godard [Sat, 5 Nov 2016 15:47:07 +0000 (10:47 -0500)]
flannel: add integration test suite

add new test for flannel plugin that delegates to the noop plugin and
validates that 'storeDir' can be configurable

9 years agoAllow flannel CNI plugin stateDir to be configurable
Mark St.Godard [Thu, 3 Nov 2016 22:10:13 +0000 (17:10 -0500)]
Allow flannel CNI plugin stateDir to be configurable

- Add optional 'stateDir' to flannel NetConf, if not present default to
/var/lib/cni/flannel

Signed-off-by: Jay Dunkelberger <ldunkelberger@pivotal.io>
9 years agotesting: test invocation of newer plugins with an older libcni
Casey Callendrello [Fri, 14 Oct 2016 14:38:32 +0000 (16:38 +0200)]
testing: test invocation of newer plugins with an older libcni

9 years agoMerge pull request #312 from tomdee/slack
Gabe Rosenhouse [Mon, 24 Oct 2016 23:25:48 +0000 (16:25 -0700)]
Merge pull request #312 from tomdee/slack

Add slack badge and link

9 years agoAdd slack badge and link
Tom Denham [Mon, 24 Oct 2016 23:23:04 +0000 (16:23 -0700)]
Add slack badge and link

9 years agoMerge pull request #311 from rkamudhan/patch-2
Gabe Rosenhouse [Sun, 23 Oct 2016 23:23:55 +0000 (16:23 -0700)]
Merge pull request #311 from rkamudhan/patch-2

Update ipvlan.md

9 years agoUpdate ipvlan.md
Kuralamudhan Ramakrishnan [Sun, 23 Oct 2016 22:18:44 +0000 (23:18 +0100)]
Update ipvlan.md

invalid json format

9 years agoMerge pull request #308 from rosenhouse/fix-skel-tests-containerid
Gabe Rosenhouse [Mon, 17 Oct 2016 22:02:27 +0000 (15:02 -0700)]
Merge pull request #308 from rosenhouse/fix-skel-tests-containerid

skel tests: correct name of CNI_CONTAINERID in tests of env vars

9 years agoskel tests: correct name of CNI_CONTAINERID in tests of env vars
Gabe Rosenhouse [Mon, 17 Oct 2016 00:18:57 +0000 (17:18 -0700)]
skel tests: correct name of CNI_CONTAINERID in tests of env vars

9 years agoMerge pull request #305 from yuewko/add_infoblox_link
Gabe Rosenhouse [Mon, 17 Oct 2016 00:08:52 +0000 (17:08 -0700)]
Merge pull request #305 from yuewko/add_infoblox_link

Add link to Infoblox IPAM plugin

9 years agoAdd link to Infoblox IPAM plugin
Yue Ko [Tue, 11 Oct 2016 18:07:30 +0000 (11:07 -0700)]
Add link to Infoblox IPAM plugin

Added link to Infoblox IPAM plugin in README.

9 years agoMerge pull request #304 from danp/patch-1
Gabe Rosenhouse [Mon, 10 Oct 2016 05:39:31 +0000 (22:39 -0700)]
Merge pull request #304 from danp/patch-1

docs/ptp: fix markdown formatting

9 years agodocs/ptp: fix markdown formatting
Dan Peterson [Mon, 10 Oct 2016 00:22:27 +0000 (21:22 -0300)]
docs/ptp: fix markdown formatting

9 years agoMerge pull request #301 from rosenhouse/backwards-compatibility-tests
Dan Williams [Thu, 6 Oct 2016 15:10:02 +0000 (10:10 -0500)]
Merge pull request #301 from rosenhouse/backwards-compatibility-tests

A test verifies that libcni is backwards compatible with legacy plugins

9 years agotravis: git clone at great depth
Gabe Rosenhouse [Thu, 6 Oct 2016 03:48:53 +0000 (20:48 -0700)]
travis: git clone at great depth

ensures that git commits referenced by backwards compatibility tests are
always available in CI.

9 years agoMerge pull request #302 from rosenhouse/readme-3rd-party-plugins
Gabe Rosenhouse [Mon, 3 Oct 2016 15:39:23 +0000 (08:39 -0700)]
Merge pull request #302 from rosenhouse/readme-3rd-party-plugins

3rd party plugins belong in their own repos

9 years agodocs: on contributing plugins to this repo
Gabe Rosenhouse [Mon, 3 Oct 2016 06:41:39 +0000 (23:41 -0700)]
docs: on contributing plugins to this repo

9 years agotesting: adds basic test of backwards compatibility
Gabe Rosenhouse [Mon, 3 Oct 2016 04:43:51 +0000 (21:43 -0700)]
testing: adds basic test of backwards compatibility

9 years agoMerge pull request #296 from rosenhouse/plugins-require-versioned-config
Dan Williams [Thu, 22 Sep 2016 22:11:34 +0000 (17:11 -0500)]
Merge pull request #296 from rosenhouse/plugins-require-versioned-config

Plugins validate cniVersion of NetConf

9 years agoMerge pull request #298 from freehan/fix-host-local-30
Dan Williams [Thu, 22 Sep 2016 14:13:32 +0000 (09:13 -0500)]
Merge pull request #298 from freehan/fix-host-local-30

host-local: fix allocation of last address in a /30

9 years agohost-local: fix allocation of last address in a /30
Minhan Xia [Fri, 16 Sep 2016 17:38:44 +0000 (10:38 -0700)]
host-local: fix allocation of last address in a /30

9 years agoMerge pull request #299 from tgraf/cilium-link
Brandon Philips [Mon, 19 Sep 2016 21:31:54 +0000 (14:31 -0700)]
Merge pull request #299 from tgraf/cilium-link

List cilium as 3rd party plugin

9 years agoskel: use named constant for Incompatible CNI Version error code
Gabe Rosenhouse [Mon, 19 Sep 2016 20:14:02 +0000 (13:14 -0700)]
skel: use named constant for Incompatible CNI Version error code

9 years agoversioning: ipam config is not versioned
Gabe Rosenhouse [Mon, 19 Sep 2016 20:10:27 +0000 (13:10 -0700)]
versioning: ipam config is not versioned

9 years agoversioning: plugins require version match with config
Gabe Rosenhouse [Mon, 19 Sep 2016 20:00:49 +0000 (13:00 -0700)]
versioning: plugins require version match with config

infer version 0.1.0 when config is missing an explicit "cniVersion" field

9 years agoversioning: add basic version decode for network config
Gabe Rosenhouse [Mon, 19 Sep 2016 04:56:17 +0000 (21:56 -0700)]
versioning: add basic version decode for network config

9 years agoREADME: List cilium as 3rd party plugin
Thomas Graf [Mon, 19 Sep 2016 11:44:25 +0000 (13:44 +0200)]
README: List cilium as 3rd party plugin

Signed-off-by: Thomas Graf <tgraf@suug.ch>