blazar/blazar/tests/plugins/instances
Tetsuro Nakamura e90cc65799 Use placement inventory for instance reservation
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
2018-12-15 07:27:46 +00:00
..
__init__.py Add instance reservation plugin 2017-08-07 10:37:50 +00:00
test_instance_plugin.py Use placement inventory for instance reservation 2018-12-15 07:27:46 +00:00