| tierno | 7edb675 | 2016-03-21 17:37:52 +0100 | [diff] [blame^] | 1 | ---
|
| 2 | vnf:
|
| 3 | name: dataplaneVNF3
|
| 4 | description: "Example of a dataplane VNF consisting of one VM with two SR-IOV"
|
| 5 | # class: parent # Optional. Used to organize VNFs
|
| 6 | external-connections:
|
| 7 | - name: mgmt
|
| 8 | type: mgmt
|
| 9 | VNFC: dataplaneVNF3-VM
|
| 10 | local_iface_name: eth0
|
| 11 | description: control interface VM1
|
| 12 | - name: data0
|
| 13 | type: data
|
| 14 | VNFC: dataplaneVNF3-VM
|
| 15 | local_iface_name: xe0
|
| 16 | description: Dataplane interface
|
| 17 | - name: data1
|
| 18 | type: data
|
| 19 | VNFC: dataplaneVNF3-VM
|
| 20 | local_iface_name: xe1
|
| 21 | description: Dataplane interface
|
| 22 | VNFC:
|
| 23 | - name: dataplaneVNF3-VM
|
| 24 | description: "Dataplane VM with 2 threads, 2 GB hugepages, 2 SR-IOV interface"
|
| 25 | #Copy the image to a compute path and edit this path
|
| 26 | VNFC image: /path/to/imagefolder/dataplaneVNF3.qcow2
|
| 27 | disk: 10
|
| 28 | numas:
|
| 29 | - threads: 2 # "cores", "paired-threads", "threads"
|
| 30 | memory: 2 # GBytes
|
| 31 | interfaces:
|
| 32 | - name: xe0
|
| 33 | vpci: "0000:00:11.0"
|
| 34 | dedicated: "no" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)
|
| 35 | bandwidth: 1 Gbps
|
| 36 | - name: xe1
|
| 37 | vpci: "0000:00:12.0"
|
| 38 | dedicated: "no"
|
| 39 | bandwidth: 1 Gbps
|
| 40 | bridge-ifaces:
|
| 41 | - name: eth0
|
| 42 | vpci: "0000:00:09.0"
|
| 43 | bandwidth: 1 Mbps # Optional, informative only
|
| 44 |
|
| 45 |
|