Merge "Revert "Patch 1431"" into dev/icn-v0.2.0
[icn.git] / deploy / kud-plugin-addons / device-plugins / sriov / test / sriov-nad.yaml
diff --git a/deploy/kud-plugin-addons/device-plugins/sriov/test/sriov-nad.yaml b/deploy/kud-plugin-addons/device-plugins/sriov/test/sriov-nad.yaml
new file mode 100644 (file)
index 0000000..964938e
--- /dev/null
@@ -0,0 +1,18 @@
+apiVersion: "k8s.cni.cncf.io/v1"
+kind: NetworkAttachmentDefinition
+metadata:
+  name: sriov-eno2
+  annotations:
+    k8s.v1.cni.cncf.io/resourceName: intel.com/intel_sriov_700
+spec:
+  config: '{
+    "type": "sriov",
+    "ipam": {
+            "type": "host-local",
+            "subnet": "10.56.206.0/24",
+            "routes": [
+                    { "dst": "0.0.0.0/0" }
+            ],
+            "gateway": "10.56.206.1"
+    }
+  }'