Home | History | Annotate | Download | only in afe

Lines Matching refs:host_obj

508     host_obj = models.Host.smart_get(id)
510 models.Host.check_no_platform([host_obj])
512 models.Host.check_board_labels_allowed([host_obj], labels)
515 rpc_utils.fanout_rpc([host_obj], 'add_labels_to_host', False,
549 host_obj = models.Host.smart_get(id)
550 rpc_utils.fanout_rpc([host_obj], 'remove_labels_from_host', False,
566 for host_obj in hosts:
567 for attr_obj in host_obj.attribute_list:
570 host_objs.append(host_obj)
573 for host_attr, host_obj in zip(host_attr_dicts, host_objs):
575 {'host_id': host_obj.id, 'attribute': attribute})
653 for host_obj in hosts:
654 host_dict = host_obj.get_object_dict()
655 host_dict['acls'] = [acl.name for acl in host_obj.acl_list]
657 for attribute in host_obj.attribute_list)
662 for label in host_obj.label_list:
671 host_obj.hostname, label_list)
673 host_dict['labels'] = [label.name for label in host_obj.label_list]
675 host_obj.hostname, host_obj.label_list)
679 for attr in host_obj.staticattribute_list: