e90cc65799
In instance plugin, this patch - changess the _create_resources() to create the ``CUSTOM_RESERVATION_{reservation UUID}`` class and add it into the private flavor extra specs. - changes the on_start(), update_resources(), and _reallocate() to add the ``CUSTOM_RESERVATION_{reservation UUID}`` inventory to the reservation provider. Note that the total parameter is fixed to 1. This should be fixed in a following patch where arbitrary affinity policy is enabled. - changes the on_end() to remove the custom resevation resource inventory from the reservation provider and delete the resource class itself. Change-Id: I41b9a9fba22830e391799fa2763e4e845959f37c Blueprint: placement-api |
||
---|---|---|
.. | ||
__init__.py | ||
test_instance_plugin.py |