blob: bd84aba775f334c4ef2b12c0fc93715c3845c3f9 [file] [log] [blame]
tierno7edb6752016-03-21 17:37:52 +01001---
2vnf:
3 name: dataplaneVNF_2VMs
4 description: "Example of a dataplane VNF consisting of two VMs for data plane workloads with one internal network"
5 # class: parent # Optional. Used to organize VNFs
6 internal-connections:
7 - name: datanet
8 description: datanet
9 type: data
10 elements:
11 - VNFC: VNF_2VMs-VM1
12 local_iface_name: xe0
13 - VNFC: VNF_2VMs-VM2
14 local_iface_name: xe0
15 external-connections:
16 - name: control0
17 type: mgmt
18 VNFC: VNF_2VMs-VM1
19 local_iface_name: eth0
20 description: control interface VM1
21 - name: control1
22 type: mgmt
23 VNFC: VNF_2VMs-VM2
24 local_iface_name: eth0
25 description: control interface VM2
26 - name: in
27 type: data
28 VNFC: VNF_2VMs-VM1
29 local_iface_name: xe1
30 description: Dataplane interface input
31 - name: out
32 type: data
33 VNFC: VNF_2VMs-VM2
34 local_iface_name: xe1
35 description: Dataplane interface output
36 VNFC:
37 - name: VNF_2VMs-VM1
38 description: "Dataplane VM1 with 4 threads, 2 GB hugepages, 2 SR-IOV interface"
39 #Copy the image to a compute path and edit this path
40 VNFC image: /path/to/imagefolder/dataplaneVNF_2VMs.qcow2
41 disk: 10
42 numas:
43 - paired-threads: 2 # "cores", "paired-threads", "threads"
44 memory: 2 # GBytes
45 interfaces:
46 - name: xe0
47 vpci: "0000:00:11.0"
48 dedicated: "no" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)
49 bandwidth: 1 Gbps
50 - name: xe1
51 vpci: "0000:00:12.0"
52 dedicated: "no"
53 bandwidth: 1 Gbps
54 bridge-ifaces:
55 - name: eth0
56 vpci: "0000:00:09.0"
57 bandwidth: 1 Mbps # Optional, informative only
58
59 - name: VNF_2VMs-VM2
60 description: "Dataplane VM1 with 2 threads, 2 GB hugepages, 2 SR-IOV interface"
61 #Copy the image to a compute path and edit this path
62 VNFC image: /path/to/imagefolder/dataplaneVNF_2VMs.qcow2
63 disk: 10
64 numas:
65 - paired-threads: 1 # "cores", "paired-threads", "threads"
66 memory: 2 # GBytes
67 interfaces:
68 - name: xe0
69 vpci: "0000:00:11.0"
70 dedicated: "no" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)
71 bandwidth: 1 Gbps
72 - name: xe1
73 vpci: "0000:00:12.0"
74 dedicated: "no"
75 bandwidth: 1 Gbps
76 bridge-ifaces:
77 - name: eth0
78 vpci: "0000:00:09.0"
79 bandwidth: 1 Mbps # Optional, informative only
80