f85b2b84aa
PCI stats will also include device_type in it's pools, in order to meet the request specs. Changing the request device_type allowed values to match the values defined in nova.fields.PciDeviceType Supporting a device_type in a pci requests specs will allow the users to explicitly request pci devices by it's type, i.e. PF or a VF Some SR-IOV cards expose the same device_id for both PFs and VFs Due to this fact PFs will be filtered out for the available pools unless it has been explicitly requested. While keeping track of the number of available physical functions in the pci pools, this change will also update the dependent virtual functions count and remove it from the pools, when PF is allocated. Physical function will be removed from the pools when one of it's VFs is allocated. DocImpact Partially implements blueprint sriov-physical-function-passthrough Change-Id: If631d828fbad37a3dd9a61f4d5f9856b6e2f9cfc |
||
---|---|---|
.. | ||
__init__.py | ||
devspec.py | ||
manager.py | ||
request.py | ||
stats.py | ||
utils.py | ||
whitelist.py |