i should also note that some dirver like hyperv only use type-pci https://opendev.org/openstack/nova/src/branch/master/nova/virt/hyperv/hostops.py#L192-L215
class PciDeviceType(BaseNovaEnum):
# NOTE(jaypipes): It's silly that the word "type-" is in these constants, # but alas, these were the original constant strings used... STANDARD = "type-PCI" SRIOV_PF = "type-PF" SRIOV_VF = "type-VF"
ALL = (STANDARD, SRIOV_PF, SRIOV_VF)
https://opendev.org/openstack/nova/src/branch/master/nova/objects/fields.py#L681-L689
i should also note that some dirver like hyperv only use /opendev. org/openstack/ nova/src/ branch/ master/ nova/virt/ hyperv/ hostops. py#L192- L215
type-pci
https:/
class PciDeviceType( BaseNovaEnum) :
# NOTE(jaypipes): It's silly that the word "type-" is in these constants,
# but alas, these were the original constant strings used...
STANDARD = "type-PCI"
SRIOV_PF = "type-PF"
SRIOV_VF = "type-VF"
ALL = (STANDARD, SRIOV_PF, SRIOV_VF)
https:/ /opendev. org/openstack/ nova/src/ branch/ master/ nova/objects/ fields. py#L681- L689