blob: 41d76452f01ef4bbb896ab8777ffe60752b7baac [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: dataplaneVNF1
24 description: "Example of a dataplane VNF consisting of a single VM for data plane workloads with high I/O performance requirements: 14 HW threads, 16 GB hugepages and 4 10G interfaces"
25 external-connections:
26 - name: mgmt
27 type: mgmt # "mgmt"(autoconnect to management net)
28 VNFC: dataplaneVNF1-VM
29 local_iface_name: eth0
30 description: Management interface for general use
31 - name: xe0
32 type: data
33 VNFC: dataplaneVNF1-VM
34 local_iface_name: xe0
35 description: Dataplane interface 1
36 - name: xe1
37 type: data
38 VNFC: dataplaneVNF1-VM
39 local_iface_name: xe1
40 description: Dataplane interface 2
41 - name: xe2
42 type: data
43 VNFC: dataplaneVNF1-VM
44 local_iface_name: xe2
45 description: Dataplane interface 3
46 - name: xe3
47 type: data
48 VNFC: dataplaneVNF1-VM
49 local_iface_name: xe3
50 description: Dataplane interface 4
51 VNFC:
52 - name: dataplaneVNF1-VM
53 description: "Dataplane VM with high I/O performance requirements: 14 HW threads, 16 GB hugepages and 4 10G interfaces"
54 #Copy the image to a compute path and edit this path
55 VNFC image: /path/to/imagefolder/dataplaneVNF1.qcow2
56 numas:
57 - paired-threads: 7 # "cores", "paired-threads", "threads"
58 paired-threads-id: [ [0,1], [2,3], [4,5], [6,7], [8,9], [10,11], [12, 13] ]
59 memory: 16 # GBytes
60 interfaces:
61 - name: xe0
62 vpci: "0000:00:11.0"
63 dedicated: "yes" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)
64 bandwidth: 10 Gbps
65 - name: xe1
66 vpci: "0000:00:12.0"
67 dedicated: "yes"
68 bandwidth: 10 Gbps
69 - name: xe2
70 vpci: "0000:00:13.0"
71 dedicated: "yes"
72 bandwidth: 10 Gbps
73 - name: xe3
74 vpci: "0000:00:14.0"
75 dedicated: "yes"
76 bandwidth: 10 Gbps
77 bridge-ifaces:
78 - name: eth0
79 vpci: "0000:00:09.0"
80 bandwidth: 1 Mbps # Optional, informative only
81