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