plugins.git
8 years agodocs: table formatting is hard
Gabe Rosenhouse [Mon, 27 Feb 2017 15:57:00 +0000 (07:57 -0800)]
docs: table formatting is hard

8 years agodocs: fill-out and correct version conversion table
Gabe Rosenhouse [Mon, 27 Feb 2017 15:53:09 +0000 (07:53 -0800)]
docs: fill-out and correct version conversion table

8 years agodocs: fill-out and correct version conversion table
Gabe Rosenhouse [Mon, 27 Feb 2017 15:53:09 +0000 (07:53 -0800)]
docs: fill-out and correct version conversion table

8 years agodocs: minor improvements to spec-upgrades
Gabe Rosenhouse [Mon, 27 Feb 2017 15:11:04 +0000 (07:11 -0800)]
docs: minor improvements to spec-upgrades

8 years agodocs: minor improvements to spec-upgrades
Gabe Rosenhouse [Mon, 27 Feb 2017 15:11:04 +0000 (07:11 -0800)]
docs: minor improvements to spec-upgrades

8 years agodocs: add small upgrade instructions
Casey Callendrello [Mon, 27 Feb 2017 13:57:31 +0000 (14:57 +0100)]
docs: add small upgrade instructions

8 years agodocs: add small upgrade instructions
Casey Callendrello [Mon, 27 Feb 2017 13:57:31 +0000 (14:57 +0100)]
docs: add small upgrade instructions

8 years agodocs: minor improvements to 0.3.0 upgrade guidance
Casey Callendrello [Mon, 27 Feb 2017 13:27:56 +0000 (14:27 +0100)]
docs: minor improvements to 0.3.0 upgrade guidance

8 years agodocs: minor improvements to 0.3.0 upgrade guidance
Casey Callendrello [Mon, 27 Feb 2017 13:27:56 +0000 (14:27 +0100)]
docs: minor improvements to 0.3.0 upgrade guidance

8 years agodocs: Edits to v0.3.0 upgrade guidance
Gabe Rosenhouse [Mon, 27 Feb 2017 00:53:52 +0000 (16:53 -0800)]
docs: Edits to v0.3.0 upgrade guidance

8 years agodocs: Edits to v0.3.0 upgrade guidance
Gabe Rosenhouse [Mon, 27 Feb 2017 00:53:52 +0000 (16:53 -0800)]
docs: Edits to v0.3.0 upgrade guidance

8 years agodocs: CNI versioning for 0.3.0 upgrade
Dan Williams [Sun, 26 Feb 2017 21:26:14 +0000 (13:26 -0800)]
docs: CNI versioning for 0.3.0 upgrade

8 years agodocs: CNI versioning for 0.3.0 upgrade
Dan Williams [Sun, 26 Feb 2017 21:26:14 +0000 (13:26 -0800)]
docs: CNI versioning for 0.3.0 upgrade

8 years agolibcni: up-convert a Config to a ConfigList when no other configs are found.
Casey Callendrello [Fri, 17 Feb 2017 11:19:38 +0000 (12:19 +0100)]
libcni: up-convert a Config to a ConfigList when no other configs are found.

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 agovendor: Update vishvanana/netlink dependency
Aithal [Thu, 23 Feb 2017 17:53:11 +0000 (09:53 -0800)]
vendor: Update vishvanana/netlink dependency

8 years agopkg/ip: refactored so that builds succeed on non-linux platforms
Aithal [Thu, 23 Feb 2017 17:52:13 +0000 (09:52 -0800)]
pkg/ip: refactored so that builds succeed on non-linux platforms

moved functions that depend on linux packages into a separate file and added
nop methods with a build tag for non-linux platforms in a new file.

8 years agopkg/ip: refactored so that builds succeed on non-linux platforms
Aithal [Thu, 23 Feb 2017 17:52:13 +0000 (09:52 -0800)]
pkg/ip: refactored so that builds succeed on non-linux platforms

moved functions that depend on linux packages into a separate file and added
nop methods with a build tag for non-linux platforms in a new file.

8 years agopkg/ns, pkg/types: refactored non linux build fix code to
Aithal [Thu, 23 Feb 2017 17:50:48 +0000 (09:50 -0800)]
pkg/ns, pkg/types: refactored non linux build fix code to

Make GetCurrentNS platform specific instead of getCurrentThreadNetNSPath

8 years agopkg/ns, pkg/types: refactored non linux build fix code to
Aithal [Thu, 23 Feb 2017 17:50:48 +0000 (09:50 -0800)]
pkg/ns, pkg/types: refactored non linux build fix code to

Make GetCurrentNS platform specific instead of getCurrentThreadNetNSPath

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 agoReplace Michael Bridgen with Bryan Boreham
Bryan Boreham [Wed, 22 Feb 2017 16:52:09 +0000 (16:52 +0000)]
Replace Michael Bridgen with Bryan Boreham

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 agoplugins/main/ptp: set the Sandbox property on the response
Casey Callendrello [Mon, 20 Feb 2017 23:28:19 +0000 (00:28 +0100)]
plugins/main/ptp: set the Sandbox property on the response

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

8 years agopkg/ns: refactored so that builds succeed on non-linux platforms
Aithal [Sat, 18 Feb 2017 01:04:53 +0000 (17:04 -0800)]
pkg/ns: refactored so that builds succeed on non-linux platforms

moved functions that depend on linux packages (sys/unix) into a separate file
and added nop methods with a build tag for non-linux platforms in a new file.

8 years agopkg/ns: refactored so that builds succeed on non-linux platforms
Aithal [Sat, 18 Feb 2017 01:04:53 +0000 (17:04 -0800)]
pkg/ns: refactored so that builds succeed on non-linux platforms

moved functions that depend on linux packages (sys/unix) into a separate file
and added nop methods with a build tag for non-linux platforms in a new file.

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 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 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 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 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 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 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 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 agopkg/ipam: add testcases
Dan Williams [Thu, 19 Jan 2017 14:44:35 +0000 (08:44 -0600)]
pkg/ipam: add testcases

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

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.

8 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 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 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