summaryrefslogtreecommitdiffstats
path: root/recipes-networking/cni
Commit message (Collapse)AuthorAgeFilesLines
* cni: move cni tools to /usr/libexec/cniStefan Agner2019-10-021-2/+6
| | | | | | | | | Use a standard location to store the cni tools and plugins. This is more in line how other distributions package cni. Keep a symlink to /opt/cni/bin for backward compatibility. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cni: build more pluginsChen Qi2019-08-121-1/+1
| | | | | | | | Also build plugins under ipam. Other distros default to contain these plugins. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cni: fix problem about cross compilationChen Qi2019-08-121-3/+3
| | | | | | | | | | | | | | When setting up k8s, the following error appeared, failing to setup coredns pod. NetworkPlugin cni failed to set up pod "coredns-5f7fc64c95-4nnfq_kube-system" network: fork/exec /opt/cni/bin/loopback: no such file or directory This is because the binary, /opt/cni/bin/loopback, has wrong interpreter. So fix do_compile to use ${GO} instead of go to fix this problem. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cni: remove unnecessary GO settingsChen Qi2019-08-121-18/+0
| | | | | | | | | | | These settings are either in go.bbclass or duplicate, thus removing them. Keep only CGO_ENABLED and GOPATH to easier manipulation while upgrading cni. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containers/go/build: don't override global package strip flagsBruce Ashfield2019-07-221-1/+0
| | | | | | | | | | | | | | | | | | When the go-lang container recipes were first created there were issues with strip and the resulting binaries. As such, strip was inhibited for the various packages. This variable is now set in the default classes, and tests show that strip works on the binaries (saving up to 2M on disk for some binaries) with no runtime issues found. So we drop our explicit set of the inhibit and let the build proceed by the defaults. If issues are found, we can re-enable the setting or bbappends can turn it back on for builds showing issues. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: update CNI to 0.7.xBruce Ashfield2019-07-121-3/+3
| | | | | | Updating the CNI and plugins to 0.7.x series. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cni: update to latest plugins, and skip windows bridge buildBruce Ashfield2018-11-021-3/+3
| | | | | | | | | Updating the cni plugins to match k8s and cri-o. We also filter out the windows plugins, since they use a different build infrastructure than the other variants .. and are not currently needed. This can be revisted in the future as needed. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cni: update to the latest pluginsBruce Ashfield2018-07-041-2/+5
| | | | | | | | | | | | Updating the latest plugins. We have to make some minor build adjustments, but otherwise, this is a simple update. We also drop the ptest build, since it is not used and is causing build errors. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cni: rprovide kubernetes-cniBruce Ashfield2017-10-051-2/+4
| | | | | | | | | Many distros make a 'kubernetes-cni' package available. This is no more than a binary extracted set of 'cni' plugins. We already have 'cni' available in the build system, so we make sure it rprovides kubernetes-cni to keep conflicts and confusion at a minimum. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* containers: CNI: introduce container networking interfaceBruce Ashfield2017-10-021-0/+93
Introducing the CNI framework to allow platforms such as kubernetes + cri-o to use thm for networking configuration. The networking plugins are installed, but are not configured by default to create any specific networking interfaces, which are the responsibility of the image and distribution. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>