blazar/blazar/tests/plugins/instances
Tetsuro Nakamura a21f88e28b Change pickup_hosts() for affinity=True/None
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
2019-02-19 06:09:19 +00:00
..
__init__.py Add instance reservation plugin 2017-08-07 10:37:50 +00:00
test_instance_plugin.py Change pickup_hosts() for affinity=True/None 2019-02-19 06:09:19 +00:00