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
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
10 # http://www.apache.org/licenses/LICENSE-2.0
\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
18 # For those usages not covered by the Apache License, Version 2.0 please
\r
19 # contact with: nfvlabs@tid.es
\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
29 VNFC: dataplaneVNF3-VM
\r
30 local_iface_name: eth0
\r
31 description: control interface VM1
\r
34 VNFC: dataplaneVNF3-VM
\r
35 local_iface_name: xe0
\r
36 description: Dataplane interface
\r
39 VNFC: dataplaneVNF3-VM
\r
40 local_iface_name: xe1
\r
41 description: Dataplane interface
\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
49 - threads: 2 # "cores", "paired-threads", "threads"
\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
57 vpci: "0000:00:12.0"
\r
62 vpci: "0000:00:09.0"
\r
63 bandwidth: 1 Mbps # Optional, informative only
\r