openmano first code upload
[osm/RO.git] / vnfs / examples / dataplaneVNF3.yaml
1 ---\r
2 vnf:\r
3     name:        dataplaneVNF3\r
4     description: "Example of a dataplane VNF consisting of one VM with two SR-IOV"\r
5     # class: parent      # Optional. Used to organize VNFs\r
6     external-connections:\r
7     -   name:              mgmt\r
8         type:              mgmt\r
9         VNFC:              dataplaneVNF3-VM\r
10         local_iface_name:  eth0\r
11         description:       control interface VM1\r
12     -   name:              data0\r
13         type:              data\r
14         VNFC:              dataplaneVNF3-VM\r
15         local_iface_name:  xe0\r
16         description:       Dataplane interface\r
17     -   name:              data1\r
18         type:              data\r
19         VNFC:              dataplaneVNF3-VM\r
20         local_iface_name:  xe1\r
21         description:       Dataplane interface\r
22     VNFC:\r
23     -   name:        dataplaneVNF3-VM\r
24         description: "Dataplane VM with 2 threads, 2 GB hugepages, 2 SR-IOV interface"\r
25         #Copy the image to a compute path and edit this path\r
26         VNFC image:  /path/to/imagefolder/dataplaneVNF3.qcow2\r
27         disk: 10\r
28         numas: \r
29         -   threads: 2         # "cores", "paired-threads", "threads"\r
30             memory: 2                 # GBytes\r
31             interfaces:\r
32             -   name:      xe0\r
33                 vpci:      "0000:00:11.0"\r
34                 dedicated: "no"         # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)\r
35                 bandwidth: 1 Gbps\r
36             -   name:      xe1\r
37                 vpci:      "0000:00:12.0"\r
38                 dedicated: "no"\r
39                 bandwidth: 1 Gbps\r
40         bridge-ifaces:\r
41         -   name:      eth0\r
42             vpci:      "0000:00:09.0"\r
43             bandwidth: 1 Mbps          # Optional, informative only\r
44 \r
45 \r