Skip to content
Snippets Groups Projects
ubuntu_xenial_vnfd.yaml 1.63 KiB
Newer Older
vnfd:vnfd-catalog:
    vnfd:
    -   id: ubuntu_xenial_vnfd
        name: ubuntu_xenial_vnfd
        short-name: ubuntu_xenial_vnfd
        description: Generated by OSM pacakage generator
        vendor: OSM
        version: '1.0'

        # Place the logo as png in icons directory and provide the name here
        logo: ubuntu-logo14.png

        # Management interface
        mgmt-interface:
            vdu-id: ubuntu_xenial_vnfd-VM

        # Atleast one VDU need to be specified
        vdu:
        -   id: ubuntu_xenial_vnfd-VM
            name: ubuntu_xenial_vnfd-VM
            description: ubuntu_xenial_vnfd-VM
            count: 1

            # Flavour of the VM to be instantiated for the VDU
            vm-flavor:
                vcpu-count: 2
                memory-mb: 4096
                storage-gb: 10

            # Image including the full path
            image: '/mnt/powervault/virtualization/vnfs/demos/ubuntu/ubuntu-16.06.img'

            external-interface:
            # Specify the external interfaces
            # There can be multiple interfaces defined
            -   name: eth0
                virtual-interface:
                    type: OM-MGMT
                    bandwidth: '0'
                    vpci: 0000:00:0a.0
                vnfd-connection-point-ref: eth0
            -   name: eth1
                virtual-interface:
                    type: VIRTIO
                    bandwidth: '0'
                    vpci: 0000:00:0b.0
                vnfd-connection-point-ref: eth1

        connection-point:
            -   name: eth0
                type: VPORT
            -   name: eth1
                type: VPORT