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.
Prerequisites
Make sure that you perform the following settings in your environment before you can configure DirectPath I/O passthrough devices:
Procedure
- Log in to the OpenStack Management Server.
- 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
/opt/vmware/vio/custom/custom.yml
- Open the /opt/vmware/vio/custom/custom.yml file in a text editor.
- Create PCI alias using VIO customization by editing the custom.yml file according to your configuration.
- 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"}]
- Save the custom.yml file.
- 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