Tobias Klauser [Thu, 8 Jun 2017 12:48:58 +0000 (14:48 +0200)]
pkg/ns: use unix.Setns() instead of open coding it
Use unix.Setns() instead of manually re-implementing it using
unix.Syscall().
Gabe Rosenhouse [Wed, 7 Jun 2017 14:26:01 +0000 (07:26 -0700)]
Merge pull request #15 from rosenhouse/contribute-vagrantfile
Add CONTRIBUTING and Vagrantfile
Gabe Rosenhouse [Wed, 7 Jun 2017 03:13:31 +0000 (20:13 -0700)]
add Vagrantfile to support cross-platform development
Update CONTRIBUTING to reflect plugin split
Gabe Rosenhouse [Wed, 7 Jun 2017 02:20:19 +0000 (19:20 -0700)]
contributing doc: copy in from cni repo
Casey Callendrello [Fri, 2 Jun 2017 08:23:03 +0000 (10:23 +0200)]
Merge pull request #13 from squeed/build-fixes
build: some minor post-repo-split fixes; add fastbuild
Casey Callendrello [Thu, 1 Jun 2017 16:43:58 +0000 (18:43 +0200)]
build: some minor post-repo-split fixes; add fastbuild
Bryan Boreham [Thu, 1 Jun 2017 12:05:29 +0000 (13:05 +0100)]
Merge pull request #1 from squeed/portmap-plugin
iptables-based portmapping plugin
Casey Callendrello [Fri, 26 May 2017 15:50:13 +0000 (17:50 +0200)]
plugins/meta/portmap: add an iptables-based host port mapping plugin
Casey Callendrello [Wed, 31 May 2017 17:20:27 +0000 (19:20 +0200)]
vendor: add mattn/go-shellwords
Casey Callendrello [Fri, 26 May 2017 15:49:46 +0000 (17:49 +0200)]
vendor: add libcni
Casey Callendrello [Wed, 3 May 2017 09:54:41 +0000 (11:54 +0200)]
vendor: update coreos/go-iptables
Dan Williams [Wed, 31 May 2017 15:11:59 +0000 (10:11 -0500)]
Merge pull request #9 from squeed/move-pkg
Move libraries from cni only used by plugins.
Casey Callendrello [Mon, 22 May 2017 18:32:16 +0000 (20:32 +0200)]
vendor: remove moved cni/pkg/... libraries
Casey Callendrello [Mon, 22 May 2017 18:09:42 +0000 (20:09 +0200)]
move most of cni/pkg to plugins/pkg: delete code staying in cni/pkg
This moves the following packages to this repository:
* ip
* ipam
* ns
* testutils
* utils
Casey Callendrello [Fri, 19 May 2017 17:43:02 +0000 (19:43 +0200)]
Casey Callendrello [Fri, 19 May 2017 14:16:01 +0000 (16:16 +0200)]
Merge pull request #6 from squeed/merge-docs
Documentation folder merge
Casey Callendrello [Fri, 19 May 2017 13:54:54 +0000 (15:54 +0200)]
Merge pull request #8 from squeed/bump-cni
vendor: bump cni to v0.5.2
Casey Callendrello [Fri, 19 May 2017 12:36:51 +0000 (14:36 +0200)]
vendor: bump cni to v0.5.2
Casey Callendrello [Mon, 15 May 2017 17:07:19 +0000 (19:07 +0200)]
Add references to all plugins to the README
Casey Callendrello [Mon, 15 May 2017 15:16:27 +0000 (17:16 +0200)]
Move documentation folder to individual READMEs
Casey Callendrello [Mon, 15 May 2017 15:13:31 +0000 (17:13 +0200)]
Casey Callendrello [Mon, 15 May 2017 14:50:24 +0000 (16:50 +0200)]
Rename build & test, take two
Casey Callendrello [Mon, 15 May 2017 14:45:58 +0000 (16:45 +0200)]
Rename build script to avoid conflict with bazel
Casey Callendrello [Mon, 15 May 2017 10:27:40 +0000 (12:27 +0200)]
Merge pull request #5 from dcbw/add-cni-plugins
plugins: add plugins from containernetworking/cni
Dan Williams [Mon, 15 May 2017 04:06:45 +0000 (23:06 -0500)]
plugins: add plugins from containernetworking/cni
Plugins prepared from the containernetworking/cni repo as follows:
1) git reset --hard
1a9288c3c09cea4e580fdb1a636f1c5e185a391f
2) git remove everything not in plugins/
3) git remove plugins/test
4) git merge into containernetworking/plugins repo
5) adjust import paths for containernetworking/cni -> containernetworking/plugins
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>
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
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