39ec15f58c
This is a follow up for change I0c764e441993e32aafef0b18049a425c3c832a50 to address review comments. The most important part is the early exit from _fill_provider_mapping if request_spec.maps_requested_resources returns False. That is needed to avoid the performance impact of getting allocations and resource provider traits per instance and provider. Since this code is currently only going to be exercised with ports that have resource requests, we want to avoid the extra work for all other server create requests. Part of blueprint bandwidth-resource-provider Change-Id: I90845461b2b98c176c7b3b97dd3f47ed604a9bef |
||
---|---|---|
.. | ||
functional | ||
live_migration/hooks | ||
unit | ||
__init__.py | ||
fixtures.py | ||
json_ref.py |