Starting with VMware Integrated OpenStack 3.1, you can create OpenStack instances that use network physical functions with the DirectPath I/O technology from VMware.

About this task

Consumption of DirectPath I/O passthrough features is achieved by using the appropriate flavor. Modify the metadata parameters of the flavor to create the instance.


Make sure that you perform the following settings in your environment before you can configure DirectPath I/O passthrough devices:

  • Enable DirectPath I/O in vSphere. See the DirectPath I/O chapter in the VMware vSphere 6.5 Documentation.


  1. Log in to the OpenStack Management Server.
  2. Create custom.yml file if it does not exist.
    sudo mkdir -p /opt/vmware/vio/custom
         sudo cp /var/lib/vio/ansible/custom/custom.yml.sample 
  3. Open the /opt/vmware/vio/custom/custom.yml file in a text editor.
  4. Create PCI alias using VIO customization by editing the custom.yml file according to your configuration.
    1. Edit nova_pci_alias value to create PCI alias based on device_type, vendor_id, and product_id and name the alias, for example:
      nova_pci_alias: [{"device_type": "type-VF", "name": "sriov"}, {"vendor_id":"15b3", "product_id":"1013", "device_type": "type-PF", "name":"fpt"}]
    2. Save the custom.yml file.
  5. Push the new configuration to your VMware Integrated OpenStack deployment.

    Refresh of the configuration briefly interrupts the OpenStack services.

    viocli deployment configure --tags nova_api_config

What to do next

Modify Flavor Metadata to Enable SR-IOV.