You can create OpenStack instances that use the DirectPath I/O or Single Root I/O Virtualization (SR-IOV) technology. This configures the required passthrough for network devices on vSphere.
Before configuring passthrough for network devices on vSphere, you must enable DirectPath I/O or SR-IOV. For more information about DirectPath I/O and SR-IOV requirements, see the vSphere Web Client documentation.
DirectPath I/O and SR-IOV cannot be enabled together on the same device.
Verify that your deployment includes vSphere 6.0 or later.
- Enable DirectPath I/O in vSphere.
See Enable Passthrough for a Network Device on a Host in the vSphere Networking document for your version of vSphere.Note:
To persist the MAC address of the physical adapter, direct passthrough should be enabled on a physical adapter after the cluster is added as compute node. If enabled before the cluster is added as a compute node, then disable direct passthrough, reboot the host and enable direct passthrough again.
- Enable SR-IOV in vSphere.
See Enable SR-IOV on a Host Physical Adapter in the vSphere Networking document for your version of vSphere.
What to do next
Because DRS rules do not apply to SR-IOV-enabled devices, for SR-IOV-enabled hosts and adapters, create a dedicated compute cluster called vmnics.
The virtual functions become active on the NIC port represented by the physical adapter entry. They appear in the PCI Devices list on the Settings tab for the host.
To examine the configuration of virtual functions on the host, use the esxcli network sriovnic vCLI commands.