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
Dan Williams [Wed, 10 May 2017 03:17:30 +0000 (22:17 -0500)]
plugins: move vlan to plugins/main/
Dan Williams [Wed, 10 May 2017 03:43:47 +0000 (22:43 -0500)]
vendor: add github.com/d2g
Dan Williams [Wed, 10 May 2017 03:41:41 +0000 (22:41 -0500)]
vendor: add coreos/go-systemd
Dan Williams [Wed, 10 May 2017 03:41:15 +0000 (22:41 -0500)]
vendor: add gomega/gbytes and gomega/gexec
Dan Williams [Wed, 10 May 2017 03:36:26 +0000 (22:36 -0500)]
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
Dan Williams [Fri, 5 May 2017 22:47:26 +0000 (17:47 -0500)]
Merge pull request #445 from feiskyer/cniversion
Add cniVersion to Result
gunjan5 [Fri, 5 May 2017 21:50:58 +0000 (14:50 -0700)]
cniVersion and config structure mismatch
Casey Callendrello [Fri, 5 May 2017 15:10:19 +0000 (17:10 +0200)]
Merge pull request #4 from containernetworking/plugins-travis
travis integration
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
gunjan5 [Thu, 4 May 2017 22:59:11 +0000 (15:59 -0700)]
fix invalid json
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
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>
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>
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>
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>
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;
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
Dan Williams [Sat, 29 Apr 2017 01:55:31 +0000 (20:55 -0500)]
Merge pull request #440 from feiskyer/cap
cnitool: support capablity args
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;
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
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.
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>
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
Tom Denham [Mon, 24 Apr 2017 18:21:33 +0000 (11:21 -0700)]
Merge pull request #435 from micahhausler/patch-1
Fixed table formatting
Daniel Nardo [Mon, 24 Apr 2017 17:31:24 +0000 (10:31 -0700)]
Update netlink dependency.
Micah Hausler [Fri, 21 Apr 2017 19:22:56 +0000 (15:22 -0400)]
Fixed table formatting
du [Fri, 21 Apr 2017 10:27:46 +0000 (18:27 +0800)]
scripts: cleanup() should rm net container in docker-run.sh
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
du [Fri, 21 Apr 2017 07:29:57 +0000 (15:29 +0800)]
README: build the plugins using ./build.sh, not ./build
Dan Williams [Wed, 19 Apr 2017 03:06:54 +0000 (22:06 -0500)]
vlan: add VLAN plugin
Dan Williams [Wed, 19 Apr 2017 03:04:20 +0000 (22:04 -0500)]
vendor: add CNI invoke, ip, ipam, and hwaddr packages
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"))
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 "...".
Gabe Rosenhouse [Sun, 16 Apr 2017 18:13:24 +0000 (11:13 -0700)]
Merge pull request #430 from kris-nova/remove-proposal
Wondering if this is still a proposal?
Kris Nova [Sun, 16 Apr 2017 17:01:23 +0000 (11:01 -0600)]
Changing Proposal->Specification in Spec
Gabe Rosenhouse [Fri, 7 Apr 2017 17:20:07 +0000 (10:20 -0700)]
Merge pull request #419 from asridharan/cnitool
Added documentation for `cnitool`
Gabe Rosenhouse [Fri, 7 Apr 2017 17:20:07 +0000 (10:20 -0700)]
Merge pull request #419 from asridharan/cnitool
Added documentation for `cnitool`
Avinash Sridharan [Thu, 30 Mar 2017 22:28:36 +0000 (22:28 +0000)]
Documentation: Added documentation for `cnitool`.
Added documentation to simplify the usage of `cnitool` and the
settings expected to be used with `cnitool`.
Avinash Sridharan [Thu, 30 Mar 2017 22:28:36 +0000 (22:28 +0000)]
Documentation: Added documentation for `cnitool`.
Added documentation to simplify the usage of `cnitool` and the
settings expected to be used with `cnitool`.
Avinash Sridharan [Tue, 4 Apr 2017 16:49:48 +0000 (16:49 +0000)]
libcni: Fixed tests that were checking error strings.
Checking error strings makes these tests flaky, especially if the
error string is changed in libcni. Have gone ahead an introduced a new
error type `NoConfigsFoundError` and the Match is against the error
type making it more deterministic.
Avinash Sridharan [Thu, 30 Mar 2017 22:06:02 +0000 (22:06 +0000)]
libcni: Improved error messages.
Improved the error reporting to be more descriptive when configuration
files are not filed while using the cni-tool.
Tom Denham [Wed, 5 Apr 2017 21:39:44 +0000 (14:39 -0700)]
Merge pull request #413 from dcbw/spec-fix-ips
spec/plugins: fix 'ip'->'ips' in the spec, bump to 0.3.1
Dan Williams [Wed, 22 Mar 2017 19:21:53 +0000 (14:21 -0500)]
spec/plugins: fix 'ip'->'ips' in the spec, bump to 0.3.1
Dan Williams [Wed, 22 Mar 2017 19:21:53 +0000 (14:21 -0500)]
spec/plugins: fix 'ip'->'ips' in the spec, bump to 0.3.1
Dan Williams [Wed, 22 Mar 2017 19:21:53 +0000 (14:21 -0500)]
spec/plugins: fix 'ip'->'ips' in the spec, bump to 0.3.1
Gabe Rosenhouse [Wed, 5 Apr 2017 16:26:49 +0000 (09:26 -0700)]
Merge pull request #423 from rosenhouse/update-travis
travis: shift forward to Go 1.8 and 1.7
Gabe Rosenhouse [Wed, 5 Apr 2017 16:24:21 +0000 (09:24 -0700)]
Merge pull request #421 from kshafiee/patch-1
Added entry for CNI-Genie
Gabe Rosenhouse [Wed, 5 Apr 2017 16:11:35 +0000 (09:11 -0700)]
travis: shift forward to Go 1.8 and 1.7
Dan Williams [Wed, 5 Apr 2017 16:03:23 +0000 (11:03 -0500)]
Merge pull request #400 from lstoll/lstoll-rename-build-script
Rename build script to avoid conflict with bazel
kshafiee [Mon, 3 Apr 2017 19:00:02 +0000 (12:00 -0700)]
Added entry for CNI-Genie
CNI-Genie enables orchestrators (kubernetes, mesos) for seamless connectivity to choice of CNI plugins (calico, canal, romana, weave) configured on a Node
Tom Denham [Fri, 31 Mar 2017 21:38:48 +0000 (14:38 -0700)]
Update community sync detail
Tom Denham [Mon, 27 Mar 2017 17:10:06 +0000 (10:10 -0700)]
Merge pull request #414 from kad/s390x
Enable s390x build
Alexander Kanevskiy [Wed, 22 Mar 2017 20:55:33 +0000 (22:55 +0200)]
Enable s390x build
Tom Denham [Wed, 22 Mar 2017 16:47:29 +0000 (09:47 -0700)]
Merge pull request #412 from tomdee/safe-del
plugins/*: Don't error if the device doesn't exist
Tom Denham [Mon, 20 Mar 2017 22:49:35 +0000 (15:49 -0700)]
plugins/*: Don't error if the device doesn't exist
I wasn't able to test or update the dhcp plugin but from a code read it
should be fine. All the other plugins are tested and fixed
Tom Denham [Mon, 20 Mar 2017 22:49:35 +0000 (15:49 -0700)]
plugins/*: Don't error if the device doesn't exist
I wasn't able to test or update the dhcp plugin but from a code read it
should be fine. All the other plugins are tested and fixed
Tom Denham [Tue, 21 Mar 2017 17:43:40 +0000 (10:43 -0700)]
Merge pull request #407 from aaronlevy/del-err
plugins/meta/flannel: If net config is missing do not return err on DEL
Aaron Levy [Fri, 17 Mar 2017 01:46:39 +0000 (18:46 -0700)]
plugins/meta/flannel: If net config is missing do not return err on DEL
Gabe Rosenhouse [Fri, 17 Mar 2017 02:20:40 +0000 (19:20 -0700)]
Merge pull request #396 from cf-container-networking/vendored-types-leakage
pkg/ip: do not leak types from vendored netlink package
Brandon Philips [Wed, 15 Mar 2017 19:38:04 +0000 (12:38 -0700)]
Merge pull request #401 from chrismarino/patch-1
Added Romana to list of CNI providers...
chrismarino [Wed, 15 Mar 2017 19:10:21 +0000 (12:10 -0700)]
Added Romana to list of CNI providers...
Added Romana to list of CNI providers.
Lincoln Stoll [Wed, 15 Mar 2017 04:53:56 +0000 (15:53 +1100)]
Rename build script to avoid conflict with bazel
It's difficult to include this repository using bazel, because
the file named "build" conflicts with new_go_repository generation
on case-insensitive filesystems (ref
https://github.com/bazelbuild/rules_go/issues/234). This change
renames the file to something that doesn't conflict, and also
renames the test script for consistency.
Gabe Rosenhouse [Mon, 13 Mar 2017 18:27:12 +0000 (11:27 -0700)]
pkg/ip: improve docstring for SetupVeth
Gabe Rosenhouse [Mon, 13 Mar 2017 18:27:12 +0000 (11:27 -0700)]
pkg/ip: improve docstring for SetupVeth
Casey Callendrello [Mon, 13 Mar 2017 17:05:55 +0000 (18:05 +0100)]
Add simple testing infrastructure
Casey Callendrello [Mon, 13 Mar 2017 13:36:20 +0000 (14:36 +0100)]
godeps: initial creation
Casey Callendrello [Mon, 13 Mar 2017 13:31:58 +0000 (14:31 +0100)]
sample: create sample plugin
Gabe Rosenhouse [Fri, 10 Mar 2017 17:49:46 +0000 (09:49 -0800)]
pkg/ip: SetupVeth returns net.Interface
Gabe Rosenhouse [Fri, 10 Mar 2017 17:49:46 +0000 (09:49 -0800)]
pkg/ip: SetupVeth returns net.Interface
Casey Callendrello [Fri, 10 Mar 2017 15:46:52 +0000 (16:46 +0100)]
Initial commit
Tang Le [Fri, 10 Mar 2017 02:22:25 +0000 (10:22 +0800)]
Validate rangeStart and rangeEnd specified in conf
Signed-off-by: Tang Le <tangle3@wanda.cn>
Jay Dunkelberger [Thu, 9 Mar 2017 21:55:15 +0000 (13:55 -0800)]
pkg/ip: do not leak types from vendored netlink package
The exported function SetupVeth now returns a package-defined type.
Signed-off-by: Gabe Rosenhouse <grosenhouse@pivotal.io>
Jay Dunkelberger [Thu, 9 Mar 2017 21:55:15 +0000 (13:55 -0800)]
pkg/ip: do not leak types from vendored netlink package
The exported function SetupVeth now returns a package-defined type.
Signed-off-by: Gabe Rosenhouse <grosenhouse@pivotal.io>
Gabe Rosenhouse [Thu, 9 Mar 2017 00:46:44 +0000 (16:46 -0800)]
Merge pull request #393 from containernetworking/community-sync-readme
readme.md: Add link to community sync
Tom Denham [Wed, 8 Mar 2017 23:54:15 +0000 (15:54 -0800)]
readme.md: Add link to community sync
Gabe Rosenhouse [Mon, 6 Mar 2017 15:13:06 +0000 (07:13 -0800)]
Merge pull request #366 from ehazlett/ipam-host-local-initial-reserved-ip
Do not error if last reserved not found after initial creation
Evan Hazlett [Thu, 2 Mar 2017 20:37:43 +0000 (15:37 -0500)]
fix unrelated failing tests
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
Evan Hazlett [Thu, 2 Mar 2017 20:16:09 +0000 (15:16 -0500)]
add test for ensuring initial subnet creation does not contain an error
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
Evan Hazlett [Fri, 3 Feb 2017 22:58:30 +0000 (17:58 -0500)]
do not error if last_reserved_ip is missing for host local ipam
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
Tom Denham [Thu, 2 Mar 2017 17:23:02 +0000 (09:23 -0800)]
Merge pull request #387 from tangle329/master
Check n.IPAM before use it in LoadIPAMConfig function
Dan Williams [Thu, 2 Mar 2017 17:17:00 +0000 (11:17 -0600)]
Merge pull request #373 from dcbw/conflist-runtime-config
spec,libcni: add support for injecting runtimeConfig into plugin stdin data
Tang Le [Thu, 2 Mar 2017 02:25:19 +0000 (10:25 +0800)]
Check n.IPAM before use it in LoadIPAMConfig function
Signed-off-by: Tang Le <tangle3@wanda.cn>
Dan Williams [Fri, 17 Feb 2017 04:57:12 +0000 (22:57 -0600)]
spec,libcni: add support for injecting runtimeConfig into plugin stdin data
Add a new CapabilityArgs member to the RuntimeConf struct which runtimes can
use to pass arbitrary capability-based keys to the plugin. Elements of this
member will be filtered against the plugin's advertised capabilities (from
its config JSON) and then added to a new "runtimeConfig" top-level map added
to the config JSON sent to the plugin on stdin.
Also "runtime_config"->"runtimeConfig" in CONVENTIONS.md to make
capitalization consistent with other CNI config keys like "cniVersion".
Dan Williams [Fri, 17 Feb 2017 04:57:12 +0000 (22:57 -0600)]
spec,libcni: add support for injecting runtimeConfig into plugin stdin data
Add a new CapabilityArgs member to the RuntimeConf struct which runtimes can
use to pass arbitrary capability-based keys to the plugin. Elements of this
member will be filtered against the plugin's advertised capabilities (from
its config JSON) and then added to a new "runtimeConfig" top-level map added
to the config JSON sent to the plugin on stdin.
Also "runtime_config"->"runtimeConfig" in CONVENTIONS.md to make
capitalization consistent with other CNI config keys like "cniVersion".
Tom Denham [Wed, 1 Mar 2017 16:45:56 +0000 (08:45 -0800)]
Merge pull request #382 from rosenhouse/doc-spec-upgrade
Documentation: guidance for upgrading to CNI Spec v0.3.0
Casey Callendrello [Tue, 28 Feb 2017 18:44:25 +0000 (19:44 +0100)]
Minor rewording about default config version
Casey Callendrello [Tue, 28 Feb 2017 18:44:25 +0000 (19:44 +0100)]
Minor rewording about default config version
Dan Williams [Mon, 27 Feb 2017 22:13:45 +0000 (16:13 -0600)]
Merge pull request #383 from dcbw/test-fixes
tests: misc test fixes
Dan Williams [Mon, 27 Feb 2017 22:13:45 +0000 (16:13 -0600)]
Merge pull request #383 from dcbw/test-fixes
tests: misc test fixes
Dan Williams [Mon, 27 Feb 2017 21:10:37 +0000 (15:10 -0600)]
Merge pull request #374 from squeed/config-list-upconvert
libcni: up-convert a Config to a ConfigList when no other configs are found.
Dan Williams [Mon, 27 Feb 2017 21:06:57 +0000 (15:06 -0600)]
Merge pull request #377 from squeed/ptp-sandbox
plugins/main/ptp: set the Sandbox property on the response
Dan Williams [Mon, 27 Feb 2017 21:06:26 +0000 (15:06 -0600)]
Merge pull request #380 from bboreham/patch-1
Add Bryan Boreham as maintainer
Dan Williams [Mon, 27 Feb 2017 19:28:07 +0000 (13:28 -0600)]
pkg/types: misc current types testcase cleanups
Dan Williams [Mon, 27 Feb 2017 19:28:07 +0000 (13:28 -0600)]
pkg/types: misc current types testcase cleanups
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.
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.
Dan Williams [Mon, 27 Feb 2017 17:46:22 +0000 (11:46 -0600)]
Merge pull request #375 from aaithal/complieOnNonLinuxPlatforms
pkg/ns: refactored so that builds succeed on non-linux platforms
Gabe Rosenhouse [Mon, 27 Feb 2017 15:57:00 +0000 (07:57 -0800)]
docs: table formatting is hard