919 Commits

Author SHA1 Message Date
Casey Callendrello
c9e3fc4890 Add references to all plugins to the README 2017-05-16 16:46:24 +02:00
Casey Callendrello
9f52fc0374 Move documentation folder to individual READMEs 2017-05-16 16:46:15 +02:00
Casey Callendrello
3ac78df0b6 Add 'Documentation/' from commit '5bb59a12b80dc99552bebf0394a067807f72f947'
git-subtree-dir: Documentation
git-subtree-mainline: db8f94a5096c356107873455525f5fa3a02561d5
git-subtree-split: 5bb59a12b80dc99552bebf0394a067807f72f947
2017-05-15 17:13:31 +02:00
Casey Callendrello
db8f94a509 Rename build & test, take two 2017-05-15 16:50:24 +02:00
Casey Callendrello
1430c43243 Rename build script to avoid conflict with bazel 2017-05-15 16:45:58 +02:00
Casey Callendrello
f130db5b61 Merge pull request #5 from dcbw/add-cni-plugins
plugins: add plugins from containernetworking/cni
2017-05-15 12:27:40 +02:00
Dan Williams
d2792f264e 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
2017-05-14 23:12:45 -05:00
Dan Williams
4e0349a7e7 Remove everything except for plugins in preparation for import to plugins repo 2017-05-14 23:04:53 -05:00
Dan Williams
4af68521cd plugins: move vlan to plugins/main/ 2017-05-09 22:47:26 -05:00
Dan Williams
7cab2fd317 vendor: add github.com/d2g 2017-05-09 22:45:44 -05:00
Dan Williams
be5f1f723e vendor: add coreos/go-systemd 2017-05-09 22:45:44 -05:00
Dan Williams
8c27b64f13 vendor: add gomega/gbytes and gomega/gexec 2017-05-09 22:45:44 -05:00
Dan Williams
af9127b7ea vendor: bump CNI to 1a9288c3c09cea4e580fdb1a636f1c5e185a391f 2017-05-09 22:45:44 -05:00
Casey Callendrello
1a9288c3c0 Merge pull request #450 from gunjan5/spec-version-mismatch
cniVersion and config structure mismatch
2017-05-08 11:12:25 +02:00
Dan Williams
e03c76b852 Merge pull request #445 from feiskyer/cniversion
Add cniVersion to Result
2017-05-05 17:47:26 -05:00
gunjan5
efe4f37afa cniVersion and config structure mismatch 2017-05-05 14:50:58 -07:00
Casey Callendrello
c44a76ddd3 Merge pull request #4 from containernetworking/plugins-travis
travis integration
2017-05-05 17:10:19 +02:00
Tom Denham
b686cad062 Merge pull request #447 from gunjan5/invalid-spec-json
Fix invalid json
2017-05-04 16:06:04 -07:00
gunjan5
5e3be5a44f fix invalid json 2017-05-04 15:59:11 -07:00
Gabe Rosenhouse
1e3715157c travis integration
- go build instead of go install to support cross-compile to bin dir
- shellcheck fixes for build script
2017-05-03 12:22:14 -07:00
Pengfei Ni
a11be4d759 Fix testings accross the project
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2017-05-03 23:21:44 +08:00
Pengfei Ni
f197c01b62 Fix testings accross the project
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2017-05-03 23:21:44 +08:00
Pengfei Ni
3cd4e26aeb Add cniVersion to Result
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2017-05-03 21:38:42 +08:00
Pengfei Ni
27a5b994c2 Add cniVersion to Result
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2017-05-03 21:38:42 +08:00
Tino Rusch
f2faf549b4
[host-device] integrated getLink() function which maps either devicename, hw-addr or kernelpath to a link object; 2017-05-02 13:21:50 +02:00
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