You must modify the metadata for a flavor to enable SR-IOV. All instances created from a SR-IOV-enabled flavor and SR-IOV-enabled image inherit the SR-IOV property.

Procedure

  1. Log in to the VMware Integrated OpenStack dashboard as a cloud administrator.
  2. Select the admin project from the drop-down menu in the title bar.
  3. Select Admin > System > Flavors.
  4. (Optional) : Create a flavor dedicated to the SR-IOV specification.

    The original flavor configuration remains intact and available for other uses.

  5. Select the flavor to modify.
  6. In the Actions column of the image listing, click the down arrow and select Update Metadata.
  7. In the column under Available Metadata, expand the VMware Driver Options for Flavors tab.
    Note:

    If the VMware Driver Options for Flavors tab is not present, the related metadata property might already be configured.

  8. Click the plus sign (+) next to the PCI Passthrough alias metadata property.

    In the column under Existing Metadata, the newly added metadata property and the default value appear. The numerical portion represents the number of virtual functions that you can request.

    The PCI Passthrough alias refers to a PCI request specification that contains vendor_id, product_id, and device_type. In VMware Integrated OpenStack, the alias is already created and refers to a PCI request specification that you can use to allocate any device regardless of the vendor_id, product_id, and device_type.

  9. Increase the numerical value as needed.

    The maximum number of virtual functions allowed is 10.

  10. Click Save.

Results

You can now modify image metadata to enable SR-IOV.