Michael Cambria [Thu, 9 Mar 2017 21:31:34 +0000 (16:31 -0500)]
Initial IPv6 pass
VZ Cambria [Thu, 2 Mar 2017 20:39:38 +0000 (15:39 -0500)]
fix u1404 test scripts
VZ Cambria [Thu, 2 Mar 2017 19:47:11 +0000 (14:47 -0500)]
Merge branch 'tcrules' of ssh://132.197.63.75:7999/vzc/cni into tcrules
VZ Cambria [Thu, 2 Mar 2017 19:46:54 +0000 (14:46 -0500)]
update cni-quagga notes
Michael Cambria [Thu, 2 Mar 2017 19:43:56 +0000 (14:43 -0500)]
tc rules changed to use grop 0xd0; added thing2 specific test scripts
VZ Cambria [Thu, 2 Mar 2017 13:40:03 +0000 (08:40 -0500)]
Add viaIP label and use viaIP when adding route
VZ Cambria [Mon, 20 Feb 2017 17:25:23 +0000 (12:25 -0500)]
Merged on VirtualBox
VZ Cambria [Mon, 20 Feb 2017 17:22:56 +0000 (12:22 -0500)]
local changes for virtualbox testing
Michael Cambria [Mon, 20 Feb 2017 17:18:17 +0000 (12:18 -0500)]
Deal with mesos not supporting CNI_ARGS
Michael Cambria [Fri, 17 Feb 2017 20:19:37 +0000 (15:19 -0500)]
First step towards using labels vs cni_args (wip)
VZ Cambria [Wed, 15 Feb 2017 17:13:57 +0000 (12:13 -0500)]
Add kernel route on uplink
VZ Cambria [Wed, 15 Feb 2017 16:26:00 +0000 (11:26 -0500)]
script changes
VZ Cambria [Wed, 15 Feb 2017 15:59:12 +0000 (10:59 -0500)]
Merge branch 'tcrules' of ssh://132.197.63.75:7999/vzc/cni into tcrules
Michael Cambria [Wed, 15 Feb 2017 14:57:22 +0000 (09:57 -0500)]
More merge issues addressed
Michael Cambria [Wed, 15 Feb 2017 13:53:24 +0000 (08:53 -0500)]
Pulled from github 2017-Feb-14, dealt with merge
VZ Cambria [Tue, 14 Feb 2017 23:22:04 +0000 (18:22 -0500)]
Refine tc rules
Michael Cambria [Tue, 14 Feb 2017 21:03:57 +0000 (16:03 -0500)]
Merge branch 'master' of https://github.com/containernetworking/cni into tcrules
Conflicts:
pkg/ipam/ipam.go
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
Tom Denham [Mon, 13 Feb 2017 18:14:45 +0000 (10:14 -0800)]
More markups
Tom Denham [Thu, 9 Feb 2017 22:03:47 +0000 (14:03 -0800)]
Update with feedback
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..)
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
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
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
Paulo Pires [Fri, 3 Feb 2017 04:47:43 +0000 (04:47 +0000)]
pkg/utils/sysctl/sysctl_linux.go: fix typo.
Paulo Pires [Fri, 3 Feb 2017 04:46:55 +0000 (04:46 +0000)]
pkg/utils/sysctl/sysctl_linux.go: fix build tag.
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
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
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
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.
Dan Williams [Thu, 19 Jan 2017 14:44:35 +0000 (08:44 -0600)]
pkg/ipam: add testcases
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.
Dan Williams [Mon, 28 Nov 2016 15:33:39 +0000 (09:33 -0600)]
macvlan/ipvlan: use common RenameLink method
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
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
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
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
Gabe Rosenhouse [Fri, 20 Jan 2017 21:50:24 +0000 (13:50 -0800)]
Merge pull request #352 from containernetworking/conventions
Documentation: Add conventions doc
Tom Denham [Fri, 20 Jan 2017 20:49:00 +0000 (12:49 -0800)]
Update CONVENTIONS.md
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
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.
Dan Williams [Sat, 17 Dec 2016 01:35:26 +0000 (19:35 -0600)]
spec: add network configuration list specification
Tom Denham [Fri, 20 Jan 2017 02:05:28 +0000 (18:05 -0800)]
Spec/Conventions: Update to include plugin config
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.
Tom Denham [Tue, 17 Jan 2017 23:53:24 +0000 (15:53 -0800)]
Documentation: Add conventions doc
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
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
Gabe Rosenhouse [Wed, 11 Jan 2017 16:35:42 +0000 (08:35 -0800)]
spec: notice of version
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.
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
VZ Cambria [Thu, 29 Dec 2016 14:21:47 +0000 (09:21 -0500)]
Merge branch 'tcrules' of ssh://132.197.63.75:7999/vzc/cni into tcrules
Michael Cambria [Wed, 28 Dec 2016 23:56:10 +0000 (23:56 +0000)]
Add Verizon.md
Michael Cambria [Wed, 28 Dec 2016 22:47:22 +0000 (17:47 -0500)]
Changed sample config back to use just macvlan plugin
Michael Cambria [Wed, 28 Dec 2016 22:38:41 +0000 (17:38 -0500)]
vz-macvlan plugin is not needed
VZ Cambria [Wed, 28 Dec 2016 21:42:33 +0000 (16:42 -0500)]
Sample env variable access for tc rules
VZ Cambria [Wed, 28 Dec 2016 17:31:33 +0000 (12:31 -0500)]
Addded sample tc rules
VZ Cambria [Wed, 28 Dec 2016 16:28:42 +0000 (11:28 -0500)]
Changed sample config to use vz-macvlan plugin
VZ Cambria [Wed, 28 Dec 2016 16:22:12 +0000 (11:22 -0500)]
Rename files to be unique
VZ Cambria [Wed, 28 Dec 2016 16:17:33 +0000 (11:17 -0500)]
New vz-macvlan plugin
VZ Cambria [Tue, 27 Dec 2016 20:58:31 +0000 (15:58 -0500)]
More cleanup, sample cni config
VZ Cambria [Tue, 27 Dec 2016 20:12:09 +0000 (15:12 -0500)]
Cleanup log output
VZ Cambria [Tue, 27 Dec 2016 20:02:49 +0000 (15:02 -0500)]
remove unused custom dir; commented out code
VZ Cambria [Tue, 27 Dec 2016 19:45:18 +0000 (14:45 -0500)]
Updated README.md range syntax to match github
VZ Cambria [Tue, 27 Dec 2016 19:38:13 +0000 (14:38 -0500)]
Merge branch 'master' of github.com:containernetworking/cni
Pull upstram 2016 Dec 27
VZ Cambria [Tue, 27 Dec 2016 19:35:12 +0000 (14:35 -0500)]
Parsing changes for labels and extra CNI_ARGS
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>
Gabe Rosenhouse [Mon, 19 Dec 2016 19:02:20 +0000 (11:02 -0800)]
Merge pull request #325 from squeed/update-maintainer
MAINTAINERS: hi CaseyC!
Casey Callendrello [Tue, 8 Nov 2016 17:38:04 +0000 (18:38 +0100)]
MAINTAINERS: hi CaseyC!
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
Gabe Rosenhouse [Fri, 16 Dec 2016 02:41:07 +0000 (18:41 -0800)]
travis: roll forward the versions of Go that we test
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
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
Gabe Rosenhouse [Fri, 16 Dec 2016 02:20:34 +0000 (18:20 -0800)]
Merge branch 'master' into interface-checks
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
Dan Williams [Wed, 14 Dec 2016 23:09:01 +0000 (17:09 -0600)]
all: assert internal objects implement interfaces
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
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...
VZ Cambria [Tue, 6 Dec 2016 15:40:55 +0000 (10:40 -0500)]
Fix README.md host-local IPAM range start/end typo
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>
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
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
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
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
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
Bryan Boreham [Thu, 17 Nov 2016 15:45:38 +0000 (15:45 +0000)]
Expand description of goroutine+netns problems
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
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
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
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.
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
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.
Mark St.Godard [Wed, 9 Nov 2016 15:34:35 +0000 (09:34 -0600)]
flannel: update flannel documentation
add optional 'stateDir' to flannel docs
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
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
Lincoln Stoll [Sat, 5 Nov 2016 20:22:51 +0000 (13:22 -0700)]
ipvlan: Support ipvlan l3s mode.
This landed in kernel in 4fbae7d
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.
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
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>
Casey Callendrello [Fri, 14 Oct 2016 14:38:32 +0000 (16:38 +0200)]
testing: test invocation of newer plugins with an older libcni
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