The nova.scheduler.filters.isolated_hosts_filter
Module¶
-
class
IsolatedHostsFilter
¶ Bases:
nova.scheduler.filters.BaseHostFilter
Keep specified images to selected hosts.
-
host_passes
(host_state, spec_obj)¶ Result Matrix with ‘restrict_isolated_hosts_to_isolated_images’ set to True:
| | isolated_image | non_isolated_image | -------------+----------------+------------------- | iso_host | True | False | non_iso_host | False | True
Result Matrix with ‘restrict_isolated_hosts_to_isolated_images’ set to False:
| | isolated_image | non_isolated_image | -------------+----------------+------------------- | iso_host | True | True | non_iso_host | False | True
-
run_filter_once_per_request
= True¶
-