openmano first code upload
[osm/RO.git] / vnfs / examples / dataplaneVNF1.yaml
1 ---\r
2 vnf:\r
3     name:        dataplaneVNF1\r
4     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
5     external-connections:\r
6     -   name:              mgmt\r
7         type:              mgmt       # "mgmt"(autoconnect to management net)\r
8         VNFC:              dataplaneVNF1-VM\r
9         local_iface_name:  eth0\r
10         description:       Management interface for general use\r
11     -   name:              xe0\r
12         type:              data\r
13         VNFC:              dataplaneVNF1-VM\r
14         local_iface_name:  xe0\r
15         description:       Dataplane interface 1\r
16     -   name:              xe1\r
17         type:              data\r
18         VNFC:              dataplaneVNF1-VM\r
19         local_iface_name:  xe1\r
20         description:       Dataplane interface 2\r
21     -   name:              xe2\r
22         type:              data\r
23         VNFC:              dataplaneVNF1-VM\r
24         local_iface_name:  xe2\r
25         description:       Dataplane interface 3\r
26     -   name:              xe3\r
27         type:              data\r
28         VNFC:              dataplaneVNF1-VM\r
29         local_iface_name:  xe3\r
30         description:       Dataplane interface 4\r
31     VNFC:\r
32     -   name:        dataplaneVNF1-VM\r
33         description: "Dataplane VM with high I/O performance requirements: 14 HW threads, 16 GB hugepages and 4 10G interfaces"\r
34         #Copy the image to a compute path and edit this path\r
35         VNFC image:  /path/to/imagefolder/dataplaneVNF1.qcow2\r
36         numas: \r
37         -   paired-threads: 7          # "cores", "paired-threads", "threads"\r
38             paired-threads-id: [ [0,1], [2,3], [4,5], [6,7], [8,9], [10,11], [12, 13] ]\r
39             memory: 16                 # GBytes\r
40             interfaces:\r
41             -   name:      xe0\r
42                 vpci:      "0000:00:11.0"\r
43                 dedicated: "yes"         # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)\r
44                 bandwidth: 10 Gbps\r
45             -   name:      xe1\r
46                 vpci:      "0000:00:12.0"\r
47                 dedicated: "yes"\r
48                 bandwidth: 10 Gbps\r
49             -   name:      xe2\r
50                 vpci:      "0000:00:13.0"\r
51                 dedicated: "yes"\r
52                 bandwidth: 10 Gbps\r
53             -   name:      xe3\r
54                 vpci:      "0000:00:14.0"\r
55                 dedicated: "yes"\r
56                 bandwidth: 10 Gbps\r
57         bridge-ifaces:\r
58         -   name:      eth0\r
59             vpci:      "0000:00:09.0"\r
60             bandwidth: 1 Mbps          # Optional, informative only\r
61 \r