blob: fdcf19709ee77f89680122fca7e13209091d5ad1 [file] [log] [blame]
tierno7edb6752016-03-21 17:37:52 +01001---
2vnf:
3 name: dataplaneVNF1
4 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"
5 external-connections:
6 - name: mgmt
7 type: mgmt # "mgmt"(autoconnect to management net)
8 VNFC: dataplaneVNF1-VM
9 local_iface_name: eth0
10 description: Management interface for general use
11 - name: xe0
12 type: data
13 VNFC: dataplaneVNF1-VM
14 local_iface_name: xe0
15 description: Dataplane interface 1
16 - name: xe1
17 type: data
18 VNFC: dataplaneVNF1-VM
19 local_iface_name: xe1
20 description: Dataplane interface 2
21 - name: xe2
22 type: data
23 VNFC: dataplaneVNF1-VM
24 local_iface_name: xe2
25 description: Dataplane interface 3
26 - name: xe3
27 type: data
28 VNFC: dataplaneVNF1-VM
29 local_iface_name: xe3
30 description: Dataplane interface 4
31 VNFC:
32 - name: dataplaneVNF1-VM
33 description: "Dataplane VM with high I/O performance requirements: 14 HW threads, 16 GB hugepages and 4 10G interfaces"
34 #Copy the image to a compute path and edit this path
35 VNFC image: /path/to/imagefolder/dataplaneVNF1.qcow2
36 numas:
37 - paired-threads: 7 # "cores", "paired-threads", "threads"
38 paired-threads-id: [ [0,1], [2,3], [4,5], [6,7], [8,9], [10,11], [12, 13] ]
39 memory: 16 # GBytes
40 interfaces:
41 - name: xe0
42 vpci: "0000:00:11.0"
43 dedicated: "yes" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)
44 bandwidth: 10 Gbps
45 - name: xe1
46 vpci: "0000:00:12.0"
47 dedicated: "yes"
48 bandwidth: 10 Gbps
49 - name: xe2
50 vpci: "0000:00:13.0"
51 dedicated: "yes"
52 bandwidth: 10 Gbps
53 - name: xe3
54 vpci: "0000:00:14.0"
55 dedicated: "yes"
56 bandwidth: 10 Gbps
57 bridge-ifaces:
58 - name: eth0
59 vpci: "0000:00:09.0"
60 bandwidth: 1 Mbps # Optional, informative only
61