openmano first code upload
[osm/RO.git] / vnfs / examples / dataplaneVNF1.yaml
diff --git a/vnfs/examples/dataplaneVNF1.yaml b/vnfs/examples/dataplaneVNF1.yaml
new file mode 100644 (file)
index 0000000..fdcf197
--- /dev/null
@@ -0,0 +1,61 @@
+---\r
+vnf:\r
+    name:        dataplaneVNF1\r
+    description: "Example of a dataplane VNF consisting of a single VM for data plane workloads with high I/O performance requirements: 14 HW threads, 16 GB hugepages and 4 10G interfaces"\r
+    external-connections:\r
+    -   name:              mgmt\r
+        type:              mgmt       # "mgmt"(autoconnect to management net)\r
+        VNFC:              dataplaneVNF1-VM\r
+        local_iface_name:  eth0\r
+        description:       Management interface for general use\r
+    -   name:              xe0\r
+        type:              data\r
+        VNFC:              dataplaneVNF1-VM\r
+        local_iface_name:  xe0\r
+        description:       Dataplane interface 1\r
+    -   name:              xe1\r
+        type:              data\r
+        VNFC:              dataplaneVNF1-VM\r
+        local_iface_name:  xe1\r
+        description:       Dataplane interface 2\r
+    -   name:              xe2\r
+        type:              data\r
+        VNFC:              dataplaneVNF1-VM\r
+        local_iface_name:  xe2\r
+        description:       Dataplane interface 3\r
+    -   name:              xe3\r
+        type:              data\r
+        VNFC:              dataplaneVNF1-VM\r
+        local_iface_name:  xe3\r
+        description:       Dataplane interface 4\r
+    VNFC:\r
+    -   name:        dataplaneVNF1-VM\r
+        description: "Dataplane VM with high I/O performance requirements: 14 HW threads, 16 GB hugepages and 4 10G interfaces"\r
+        #Copy the image to a compute path and edit this path\r
+        VNFC image:  /path/to/imagefolder/dataplaneVNF1.qcow2\r
+        numas: \r
+        -   paired-threads: 7          # "cores", "paired-threads", "threads"\r
+            paired-threads-id: [ [0,1], [2,3], [4,5], [6,7], [8,9], [10,11], [12, 13] ]\r
+            memory: 16                 # GBytes\r
+            interfaces:\r
+            -   name:      xe0\r
+                vpci:      "0000:00:11.0"\r
+                dedicated: "yes"         # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)\r
+                bandwidth: 10 Gbps\r
+            -   name:      xe1\r
+                vpci:      "0000:00:12.0"\r
+                dedicated: "yes"\r
+                bandwidth: 10 Gbps\r
+            -   name:      xe2\r
+                vpci:      "0000:00:13.0"\r
+                dedicated: "yes"\r
+                bandwidth: 10 Gbps\r
+            -   name:      xe3\r
+                vpci:      "0000:00:14.0"\r
+                dedicated: "yes"\r
+                bandwidth: 10 Gbps\r
+        bridge-ifaces:\r
+        -   name:      eth0\r
+            vpci:      "0000:00:09.0"\r
+            bandwidth: 1 Mbps          # Optional, informative only\r
+\r