Added licenses to VNF and NS openmano descriptors. Removed module-blueprints folder.
[osm/RO.git] / vnfs / examples / dataplaneVNF2.yaml
1 ##\r
2 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.\r
3 # This file is part of openmano\r
4 # All Rights Reserved.\r
5 #\r
6 # Licensed under the Apache License, Version 2.0 (the "License"); you may\r
7 # not use this file except in compliance with the License. You may obtain\r
8 # a copy of the License at\r
9 #\r
10 #         http://www.apache.org/licenses/LICENSE-2.0\r
11 #\r
12 # Unless required by applicable law or agreed to in writing, software\r
13 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT\r
14 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\r
15 # License for the specific language governing permissions and limitations\r
16 # under the License.\r
17 #\r
18 # For those usages not covered by the Apache License, Version 2.0 please\r
19 # contact with: nfvlabs@tid.es\r
20 ##\r
21 ---\r
22 vnf:\r
23     name:        dataplaneVNF2\r
24     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
25     external-connections:\r
26     -   name:              mgmt\r
27         type:              mgmt       # "mgmt"(autoconnect to management net)\r
28         VNFC:              dataplaneVNF2-VM\r
29         local_iface_name:  eth0\r
30         description:       Management interface for general use\r
31     -   name:              control\r
32         type:              bridge\r
33         VNFC:              dataplaneVNF2-VM\r
34         local_iface_name:  eth1\r
35         description:       Bridge interface\r
36     -   name:              xe0\r
37         type:              data\r
38         VNFC:              dataplaneVNF2-VM\r
39         local_iface_name:  xe0\r
40         description:       Dataplane interface 1\r
41     -   name:              xe1\r
42         type:              data\r
43         VNFC:              dataplaneVNF2-VM\r
44         local_iface_name:  xe1\r
45         description:       Dataplane interface 2\r
46     -   name:              xe2\r
47         type:              data\r
48         VNFC:              dataplaneVNF2-VM\r
49         local_iface_name:  xe2\r
50         description:       Dataplane interface 3 (SR-IOV)\r
51     VNFC:\r
52     -   name:        dataplaneVNF2-VM\r
53         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
54         #Copy the image to a compute path and edit this path\r
55         VNFC image:  /path/to/imagefolder/dataplaneVNF2.qcow2\r
56         numas: \r
57         -   cores: 3          # "cores", "paired-threads", "threads"\r
58             memory: 8                 # GBytes\r
59             interfaces:\r
60             -   name:      xe0\r
61                 vpci:      "0000:00:11.0"\r
62                 dedicated: "yes"         # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)\r
63                 bandwidth: 10 Gbps\r
64             -   name:      xe1\r
65                 vpci:      "0000:00:12.0"\r
66                 dedicated: "yes"\r
67                 bandwidth: 10 Gbps\r
68             -   name:      xe2\r
69                 vpci:      "0000:00:13.0"\r
70                 dedicated: "no"\r
71                 bandwidth: 1 Gbps\r
72         bridge-ifaces:\r
73         -   name:      eth0\r
74             vpci:      "0000:00:09.0"\r
75             bandwidth: 1 Mbps          # Optional, informative only\r
76         -   name:      eth1\r
77             vpci:      "0000:00:10.0"\r
78             bandwidth: 1 Mbps          # Optional, informative only\r
79 \r