nova/nova/tests/unit/pci
Jay Pipes 15ac5b688b pci: add uuid field to PciDevice object
In future patches, we will be adding child resource provider records to
the placement API for certain PCI devices (e.g. SR-IOV physical
functions). Each resource provider record has a UUID identifier.
Unfortunately, the pci_devices table in the cell database does not have
a globally unique identifier field; it uses an autoincrementing integer
identifier for the pci_devices table. This means that code in the
scheduler report client would need to look up a resource provider
record for certain PCI devices by a unique name attribute, and the
scheduler report client would need to generate that unique name.
Looking up resource providers from the scheduler report client by
either UUID or name would result in an unreasonable increase in code
size for no real benefit. An easier solution is to simply add a uuid
identifier field to the pci_devices table and just look up resource
provider records via UUID.

Change-Id: I96ff82e50b16976f432b4dda65b9784cd5c0a16b
blueprint: nested-resource-providers
2017-06-11 12:56:48 -04:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fakes.py pci: avoid parsing whitelist repeatedly 2016-03-09 18:49:15 +00:00
test_devspec.py Enhance PCI passthrough whitelist to support regex 2016-12-11 00:53:14 +02:00
test_manager.py pci: add uuid field to PciDevice object 2017-06-11 12:56:48 -04:00
test_request.py Fix pci_alias that include white spaces 2016-12-02 02:42:30 +00:00
test_stats.py [3/3]Replace six.iteritems() with .items() 2017-02-09 23:09:38 +08:00
test_utils.py Modify PciPassthroughFilter to accept lists 2017-04-11 19:49:07 +00:00
test_whitelist.py Enhance PCI passthrough whitelist to support regex 2016-12-11 00:53:14 +02:00