From a5e1052beb92ac6dd45c396b753bd78986f07ab0 Mon Sep 17 00:00:00 2001 From: "Sridhar K. N. Rao" Date: Wed, 2 Jun 2021 20:17:33 +0530 Subject: WIP: Reference Definitions. This patch adds reference definitions, and dockerfile for test-containers. Signed-off-by: Sridhar K. N. Rao Change-Id: Ifbd90f80cb1bc91fa0bf6053fc6405891d645412 --- .../vpp/userspace-vpp-netAttach-memif.yaml | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tools/k8s/reference-definitions/network-attachments/vpp/userspace-vpp-netAttach-memif.yaml (limited to 'tools/k8s/reference-definitions/network-attachments/vpp') diff --git a/tools/k8s/reference-definitions/network-attachments/vpp/userspace-vpp-netAttach-memif.yaml b/tools/k8s/reference-definitions/network-attachments/vpp/userspace-vpp-netAttach-memif.yaml new file mode 100644 index 00000000..1ac6c245 --- /dev/null +++ b/tools/k8s/reference-definitions/network-attachments/vpp/userspace-vpp-netAttach-memif.yaml @@ -0,0 +1,32 @@ +apiVersion: "k8s.cni.cncf.io/v1" +kind: NetworkAttachmentDefinition +metadata: + name: userspace-vpp-net +spec: + config: '{ + "cniVersion": "0.3.1", + "type": "userspace", + "name": "userspace-vpp-net", + "kubeconfig": "/etc/cni/net.d/multus.d/multus.kubeconfig", + "logFile": "/var/log/userspace-vpp-net-1-cni.log", + "logLevel": "debug", + "host": { + "engine": "vpp", + "iftype": "memif", + "netType": "interface", + "memif": { + "role": "master", + "mode": "ethernet" + } + }, + "container": { + "engine": "vpp", + "iftype": "memif", + "netType": "interface", + "memif": { + "role": "slave", + "mode": "ethernet" + } + } + }' + -- cgit 1.2.3-korg