| tierno | 66eba6e | 2017-11-10 17:09:18 +0100 | [diff] [blame] | 1 | vnfd:vnfd-catalog: |
| 2 | vnfd: |
| 3 | - id: linux-sriov |
| 4 | name: linux_sriov |
| 5 | short-name: linux_sriov |
| 6 | description: Simple VNF example with a ubuntu using SR-IOV |
| 7 | vendor: OSM |
| 8 | version: '1.0' |
| 9 | |
| 10 | # Place the logo as png in icons directory and provide the name here |
| 11 | logo: cirros-64.png |
| 12 | |
| 13 | # Management interface |
| 14 | mgmt-interface: |
| 15 | cp: eth0 |
| 16 | |
| 17 | # Atleast one VDU need to be specified |
| 18 | vdu: |
| 19 | - id: linux-sriov-VM |
| 20 | name: linux_sriov_VM |
| 21 | description: linux_sriov_VM |
| 22 | count: 1 |
| 23 | |
| 24 | # Flavour of the VM to be instantiated for the VDU |
| 25 | vm-flavor: |
| 26 | vcpu-count: 1 |
| 27 | memory-mb: 2048 |
| 28 | storage-gb: 20 |
| 29 | |
| 30 | # Image/checksum or image including the full path |
| 31 | image: ubuntu16.04 |
| 32 | #checksum: |
| 33 | |
| 34 | interface: |
| 35 | # Specify the external interfaces |
| 36 | - name: eth0 |
| 37 | type: EXTERNAL |
| 38 | virtual-interface: |
| 39 | type: VIRTIO |
| 40 | external-connection-point-ref: eth0 |
| 41 | - name: sriov0 |
| 42 | type: EXTERNAL |
| 43 | virtual-interface: |
| 44 | type: SR-IOV |
| 45 | bandwidth: '0' |
| 46 | vpci: 0000:00:0b.0 |
| 47 | external-connection-point-ref: sriov0 |
| 48 | connection-point: |
| 49 | - name: eth0 |
| 50 | type: VPORT |
| 51 | - name: sriov0 |
| 52 | type: VPORT |
| 53 | |