15ac5b688b
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 |
||
---|---|---|
.. | ||
__init__.py | ||
fakes.py | ||
test_devspec.py | ||
test_manager.py | ||
test_request.py | ||
test_stats.py | ||
test_utils.py | ||
test_whitelist.py |