The nova.pci.whitelist Module

class Whitelist(whitelist_spec=None)

Bases: object

White list class to decide assignable pci devices.

Not all devices on compute node can be assigned to guest, the cloud administrator decides the devices that can be assigned based on vendor_id or product_id etc. If no white list specified, no device will be assignable.


Check if a device can be assigned to a guest.

Parameters:dev – A dictionary describing the device properties

Previous topic

The nova.pci.utils Module

Next topic

The nova.policy Module

Project Source

This Page