X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=vnfs%2Fexamples%2Fv3_linux_sriov.yaml;fp=vnfs%2Fexamples%2Fv3_linux_sriov.yaml;h=78bdb8347842387f460cca43a0926d745b2a8c4e;hb=66eba6ece53cd85d0efbe8b4ff4f414c812b347b;hp=0000000000000000000000000000000000000000;hpb=3fcfdb7674436861d6ab0740972573293b9a355f;p=osm%2FRO.git diff --git a/vnfs/examples/v3_linux_sriov.yaml b/vnfs/examples/v3_linux_sriov.yaml new file mode 100644 index 00000000..78bdb834 --- /dev/null +++ b/vnfs/examples/v3_linux_sriov.yaml @@ -0,0 +1,53 @@ +vnfd:vnfd-catalog: + vnfd: + - id: linux-sriov + name: linux_sriov + short-name: linux_sriov + description: Simple VNF example with a ubuntu using SR-IOV + vendor: OSM + version: '1.0' + + # Place the logo as png in icons directory and provide the name here + logo: cirros-64.png + + # Management interface + mgmt-interface: + cp: eth0 + + # Atleast one VDU need to be specified + vdu: + - id: linux-sriov-VM + name: linux_sriov_VM + description: linux_sriov_VM + count: 1 + + # Flavour of the VM to be instantiated for the VDU + vm-flavor: + vcpu-count: 1 + memory-mb: 2048 + storage-gb: 20 + + # Image/checksum or image including the full path + image: ubuntu16.04 + #checksum: + + interface: + # Specify the external interfaces + - name: eth0 + type: EXTERNAL + virtual-interface: + type: VIRTIO + external-connection-point-ref: eth0 + - name: sriov0 + type: EXTERNAL + virtual-interface: + type: SR-IOV + bandwidth: '0' + vpci: 0000:00:0b.0 + external-connection-point-ref: sriov0 + connection-point: + - name: eth0 + type: VPORT + - name: sriov0 + type: VPORT +