a21f88e28b
The pickup_hosts() function, called for create/update/reallocate instance reservation, assumed affinity=False and returned sets of host ids to add/remove. To support affinity=True/None, this patch changes pickup_hosts() to return lists of hosts ids to add/remove allowing duplicate host ids according to the number of instances to reserve on that host. Blueprint: no-affinity-instance-reservation Change-Id: If1f4d7c3aee91dc32a173bd4ae598d194f38b3ea |
||
---|---|---|
.. | ||
__init__.py | ||
test_instance_plugin.py |