2 # Copyright (C) 2019 Wind River Systems, Inc.
5 SUMMARY = "Multus CNI enables attaching multiple network interfaces to pods in Kubernetes."
7 Multus CNI is a container network interface (CNI) plugin for Kubernetes \
8 that enables attaching multiple network interfaces to pods. Typically, \
9 in Kubernetes each pod only has one network interface (apart from a loopback) \
10 -- with Multus you can create a multi-homed pod that has multiple interfaces. \
11 This is accomplished by Multus acting as a "meta-plugin", a CNI plugin that \
12 can call multiple other CNI plugins \
14 HOMEPAGE = "https://github.com/intel/multus-cni"
16 LICENSE = "Apache-2.0"
17 LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
20 https://github.com/intel/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BPN}-v${PV}.tar.gz \
23 SRC_URI[md5sum] = "7782df1ea42a8e5a41c71b623080ef2a"
24 SRC_URI[sha256sum] = "8b52f9de389d6500be47424ce7876e16d98b9d4547056d666dc588673f1d6842"
26 S = "${WORKDIR}/${BPN}-${PV}"
28 K8S_PLUGINS = "${sysconfdir}/kubernetes/plugins/${BPN}"
31 install -d ${D}${K8S_PLUGINS}
32 install -m 644 ${S}/README.md ${D}${K8S_PLUGINS}
33 install -m 644 ${S}/images/entrypoint.sh ${D}${K8S_PLUGINS}
34 install -m 644 ${S}/images/README.md ${D}${K8S_PLUGINS}/README-deployment.md
35 install -m 644 ${S}/images/multus-daemonset-pre-1.16.yml ${D}${K8S_PLUGINS}/multus-daemonset.yml