diff options
author | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2021-06-02 20:17:33 +0530 |
---|---|---|
committer | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2021-06-02 20:18:55 +0530 |
commit | a5e1052beb92ac6dd45c396b753bd78986f07ab0 (patch) | |
tree | 507feb4a126a29ec7c8a001d4ed5b6ac9925b0bf /tools/k8s/reference-definitions/network-attachments/sriov/configMap.yaml | |
parent | 300d9f201aba1b8e30387138acaba79a72502d82 (diff) |
WIP: Reference Definitions.
This patch adds reference definitions, and dockerfile for
test-containers.
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
Change-Id: Ifbd90f80cb1bc91fa0bf6053fc6405891d645412
Diffstat (limited to 'tools/k8s/reference-definitions/network-attachments/sriov/configMap.yaml')
-rw-r--r-- | tools/k8s/reference-definitions/network-attachments/sriov/configMap.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/k8s/reference-definitions/network-attachments/sriov/configMap.yaml b/tools/k8s/reference-definitions/network-attachments/sriov/configMap.yaml new file mode 100644 index 00000000..53461c0f --- /dev/null +++ b/tools/k8s/reference-definitions/network-attachments/sriov/configMap.yaml @@ -0,0 +1,30 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: sriovdp-config + namespace: kube-system +data: + config.json: | + { + "resourceList": [{ + "resourceName": "intel_sriov_dpdk_a", + "selectors": { + "vendors": ["8086"], + "devices": ["10ed"], + "drivers": ["vfio-pci"], + "pfNames": ["eno3"] + } + }, + { + "resourceName": "intel_sriov_dpdk_b", + "selectors": { + "vendors": ["8086"], + "devices": ["10ed"], + "drivers": ["vfio-pci"], + "pfNames": ["eno4"] + } + } + + ] + } + |