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