def weigh_hosts(self, topic, request_spec, hosts):
        return [dict(weight=1, hostname=hostname, capabilities=capabilities)
                for hostname, capabilities in hosts]
This version assigns a weight of 1 to all hosts, making selection
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/scheduler/abstract_scheduler.py/AbstractScheduler.weigh_hosts