341
342
name, query = host_filter.instance_type_to_filter(instance_type)
342
343
return host_filter.filter_hosts(self.zone_manager, query)
344
def weigh_hosts(self, num, request_spec, hosts):
345
def weigh_hosts(self, topic, request_spec, hosts):
345
346
"""Derived classes must override this method and return
346
347
a lists of hosts in [{weight, hostname}] format.