1144 Commits

Author SHA1 Message Date
Dan Williams
231f6c4c53 Merge pull request #433 from dunjut/master
scripts: cleanup() should rm net container in docker-run.sh
2017-04-28 20:58:17 -05:00
Dan Williams
a6c96acda4 Merge pull request #440 from feiskyer/cap
cnitool: support capablity args
2017-04-28 20:55:31 -05:00
Tino Rusch
6099d8c84c
added host-device plugin which adds a specified link to the container network namespace; 2017-04-28 09:34:22 +02:00
Dan Williams
c11286b835 Merge pull request #2 from dcbw/vlan
plugins: add a simple VLAN plugin
2017-04-26 12:54:05 -05:00
Dan Williams
010c8a9503 Merge pull request #439 from dnardo/netlink-update
vendor: Update vishvanana/netlink dependency.
2017-04-25 10:24:05 -05:00
Pengfei Ni
73a2d131ee cnitool: support capablity args
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2017-04-25 17:35:03 +08:00
Dan Williams
21d96393ea Merge pull request #391 from tangle329/master
Validate rangeStart and rangeEnd specified in conf
2017-04-24 22:00:07 -05:00
Tom Denham
8eddd61fed Merge pull request #435 from micahhausler/patch-1
Fixed table formatting
2017-04-24 11:21:33 -07:00
Daniel Nardo
0de29de33e Update netlink dependency. 2017-04-24 10:31:24 -07:00
Micah Hausler
87fbabeeef Fixed table formatting 2017-04-21 15:22:56 -04:00
du
6ee2048ec2 scripts: cleanup() should rm net container in docker-run.sh 2017-04-21 18:27:46 +08:00
Bryan Boreham
279cae5ec5 Merge pull request #432 from dunjut/master
README: build the plugins using ./build.sh, not ./build
2017-04-21 11:12:49 +01:00
du
43c11dda15 README: build the plugins using ./build.sh, not ./build 2017-04-21 15:29:57 +08:00
Dan Williams
076080eedf vlan: add VLAN plugin 2017-04-19 13:41:12 -05:00
Dan Williams
6b3bf7ea7b vendor: add CNI invoke, ip, ipam, and hwaddr packages 2017-04-18 23:49:26 -05:00
Dan Williams
7309649a66 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"))
2017-04-18 23:49:26 -05:00
Dan Williams
9ef6f5f723 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 "...".
2017-04-18 23:40:46 -05:00
Gabe Rosenhouse
4a2f3ddd5d Merge pull request #430 from kris-nova/remove-proposal
Wondering if this is still a proposal?
2017-04-16 11:13:24 -07:00
Kris Nova
392e1bbd10 Changing Proposal->Specification in Spec 2017-04-16 11:01:23 -06:00
Gabe Rosenhouse
5bb59a12b8 Merge pull request #419 from asridharan/cnitool
Added documentation for `cnitool`
2017-04-07 10:20:07 -07:00
Gabe Rosenhouse
137b4975ec Merge pull request #419 from asridharan/cnitool
Added documentation for `cnitool`
2017-04-07 10:20:07 -07:00
Avinash Sridharan
7d3fe6923b Documentation: Added documentation for cnitool.
Added documentation to simplify the usage of `cnitool` and the
settings expected to be used with `cnitool`.
2017-04-05 21:40:24 +00:00
Avinash Sridharan
382686ed63 Documentation: Added documentation for cnitool.
Added documentation to simplify the usage of `cnitool` and the
settings expected to be used with `cnitool`.
2017-04-05 21:40:24 +00:00
Avinash Sridharan
d427963784 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.
2017-04-05 21:40:24 +00:00
Avinash Sridharan
5b0d6a0c8f libcni: Improved error messages.
Improved the error reporting to be more descriptive when configuration
files are not filed while using the cni-tool.
2017-04-05 21:40:16 +00:00
Tom Denham
361ec957fb Merge pull request #413 from dcbw/spec-fix-ips
spec/plugins: fix 'ip'->'ips' in the spec, bump to 0.3.1
2017-04-05 14:39:44 -07:00
Dan Williams
29ba54c045 spec/plugins: fix 'ip'->'ips' in the spec, bump to 0.3.1 2017-04-05 12:46:24 -05:00
Dan Williams
8447ebc83a spec/plugins: fix 'ip'->'ips' in the spec, bump to 0.3.1 2017-04-05 12:46:24 -05:00
Dan Williams
9445711fa5 spec/plugins: fix 'ip'->'ips' in the spec, bump to 0.3.1 2017-04-05 12:46:24 -05:00
Gabe Rosenhouse
d4bbce1865 Merge pull request #423 from rosenhouse/update-travis
travis: shift forward to Go 1.8 and 1.7
2017-04-05 09:26:49 -07:00
Gabe Rosenhouse
ff92701693 Merge pull request #421 from kshafiee/patch-1
Added entry for CNI-Genie
2017-04-05 09:24:21 -07:00
Gabe Rosenhouse
a39d6845fa travis: shift forward to Go 1.8 and 1.7 2017-04-05 09:11:35 -07:00
Dan Williams
d66edc3180 Merge pull request #400 from lstoll/lstoll-rename-build-script
Rename build script to avoid conflict with bazel
2017-04-05 11:03:23 -05:00
kshafiee
aaba1b0224 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
2017-04-03 12:00:02 -07:00
Tom Denham
470e86eb8b Update community sync detail 2017-03-31 14:38:48 -07:00
Tom Denham
73c6616946 Merge pull request #414 from kad/s390x
Enable s390x build
2017-03-27 10:10:06 -07:00
Alexander Kanevskiy
61f3b4b315 Enable s390x build 2017-03-23 00:51:29 +02:00
Tom Denham
0799f5732f Merge pull request #412 from tomdee/safe-del
plugins/*: Don't error if the device doesn't exist
2017-03-22 09:47:29 -07:00
Tom Denham
58b78e72fd 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
2017-03-22 08:52:29 -07:00
Tom Denham
13824487c6
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
2017-03-22 08:52:29 -07:00
Tom Denham
699380d687 Merge pull request #407 from aaronlevy/del-err
plugins/meta/flannel: If net config is missing do not return err on DEL
2017-03-21 10:43:40 -07:00
Aaron Levy
74d4cbed76 plugins/meta/flannel: If net config is missing do not return err on DEL 2017-03-17 13:37:33 -07:00
Gabe Rosenhouse
b87126377a Merge pull request #396 from cf-container-networking/vendored-types-leakage
pkg/ip: do not leak types from vendored netlink package
2017-03-16 19:20:40 -07:00
Brandon Philips
c235b448d4 Merge pull request #401 from chrismarino/patch-1
Added Romana to list of CNI providers...
2017-03-15 12:38:04 -07:00
chrismarino
c1c7826922 Added Romana to list of CNI providers...
Added Romana to list of CNI providers.
2017-03-15 12:10:21 -07:00
Lincoln Stoll
1b9caefba5 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.
2017-03-15 15:59:44 +11:00
Gabe Rosenhouse
bb322572eb pkg/ip: improve docstring for SetupVeth 2017-03-13 11:27:12 -07:00
Gabe Rosenhouse
f51dd618c5 pkg/ip: improve docstring for SetupVeth 2017-03-13 11:27:12 -07:00
Casey Callendrello
559ffa1111 Add simple testing infrastructure 2017-03-13 18:05:55 +01:00
Casey Callendrello
168a5a0210 godeps: initial creation 2017-03-13 14:36:20 +01:00