Merge changes I392f2858,Iba0cab65,I16304baf,Ic5befeff,I77f648f4, ...
[osm/RO.git] / vnfs / examples / dataplaneVNF3.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:        dataplaneVNF3\r
24     description: "Example of a dataplane VNF consisting of one VM with two SR-IOV"\r
25     # class: parent      # Optional. Used to organize VNFs\r
26     external-connections:\r
27     -   name:              mgmt\r
28         type:              mgmt\r
29         VNFC:              dataplaneVNF3-VM\r
30         local_iface_name:  eth0\r
31         description:       control interface VM1\r
32     -   name:              data0\r
33         type:              data\r
34         VNFC:              dataplaneVNF3-VM\r
35         local_iface_name:  xe0\r
36         description:       Dataplane interface\r
37     -   name:              data1\r
38         type:              data\r
39         VNFC:              dataplaneVNF3-VM\r
40         local_iface_name:  xe1\r
41         description:       Dataplane interface\r
42     VNFC:\r
43     -   name:        dataplaneVNF3-VM\r
44         description: "Dataplane VM with 2 threads, 2 GB hugepages, 2 SR-IOV interface"\r
45         #Copy the image to a compute path and edit this path\r
46         VNFC image:  /path/to/imagefolder/dataplaneVNF3.qcow2\r
47         disk: 10\r
48         numas: \r
49         -   threads: 2         # "cores", "paired-threads", "threads"\r
50             memory: 2                 # GBytes\r
51             interfaces:\r
52             -   name:      xe0\r
53                 vpci:      "0000:00:11.0"\r
54                 dedicated: "no"         # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)\r
55                 bandwidth: 1 Gbps\r
56             -   name:      xe1\r
57                 vpci:      "0000:00:12.0"\r
58                 dedicated: "no"\r
59                 bandwidth: 1 Gbps\r
60         bridge-ifaces:\r
61         -   name:      eth0\r
62             vpci:      "0000:00:09.0"\r
63             bandwidth: 1 Mbps          # Optional, informative only\r
64 \r
65 \r