def filter_hosts(self, zone_manager, query):
        return [(host, services)
               for host, services in zone_manager.service_states.iteritems()]
Return a list of hosts from ZoneManager list.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/scheduler/filters/all_hosts_filter.py/AllHostsFilter.filter_hosts