Lines Matching refs:host_objs
185 host_objs = models.Host.smart_get_bulk(hosts)
187 models.Host.check_no_platform(host_objs)
190 models.Host.check_board_labels_allowed(host_objs, [label.name])
191 label.host_set.add(*host_objs)
234 host_objs = models.Host.smart_get_bulk(hosts)
236 host_objs, 'add_label', include_hostnames=False,
262 host_objs = models.Host.smart_get_bulk(hosts)
263 rpc_utils.fanout_rpc(host_objs, 'add_label_to_hosts', id=id)
272 host_objs = models.Host.smart_get_bulk(hosts)
280 label.host_set.remove(*host_objs)
292 host_objs = models.Host.smart_get_bulk(hosts)
295 rpc_utils.fanout_rpc(host_objs, 'remove_label_from_hosts', id=id)
565 host_objs = []
570 host_objs.append(host_obj)
573 for host_attr, host_obj in zip(host_attr_dicts, host_objs):