Home | History | Annotate | Download | only in server

Lines Matching refs:hostnames

512     def _dict_for_host_query(hostnames=(), status=None, label=None):
514 if hostnames:
515 query_args['hostname__in'] = hostnames
523 def get_hosts(self, hostnames=(), status=None, label=None, **dargs):
525 query_args.update(self._dict_for_host_query(hostnames=hostnames,
533 """Like get_hosts() but returns hostnames instead of Host objects."""
540 def reverify_hosts(self, hostnames=(), status=None, label=None):
543 query_args.update(self._dict_for_host_query(hostnames=hostnames,
549 def repair_hosts(self, hostnames=(), status=None, label=None):
552 query_args.update(self._dict_for_host_query(hostnames=hostnames,
647 hostnames = [s.host.hostname for s in job_statuses if s.host]
649 for host in self.get_hosts(hostname__in=hostnames):
709 @returns List of hostnames that all have the same host attribute and
748 @param locked_hosts: List of hostnames of hosts to unlock.