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