Lines Matching refs:HostQueueEntry
481 class HostQueueEntry(DBObject): class
499 super(HostQueueEntry, self).__init__(id=id, row=row, **kwargs)
645 active = (status in models.HostQueueEntry.ACTIVE_STATUSES)
646 complete = (status in models.HostQueueEntry.COMPLETE_STATUSES)
685 if status is not models.HostQueueEntry.Status.ABORTED:
780 hosts_queue = HostQueueEntry.fetch('job_id = %s' % self.job.id)
810 self.set_status(models.HostQueueEntry.Status.QUEUED)
855 self.set_status(models.HostQueueEntry.Status.PENDING)
869 self.status == models.HostQueueEntry.Status.PENDING):
878 Status = models.HostQueueEntry.Status
1094 pending_entries = models.HostQueueEntry.objects.filter(
1095 job=self.id, status=models.HostQueueEntry.Status.PENDING)
1136 statuses = list(models.HostQueueEntry.PRE_JOB_STATUSES)
1138 statuses = list(models.HostQueueEntry.IDLE_PRE_JOB_STATUSES)
1139 return models.HostQueueEntry.objects.filter(job=self.id,
1152 if child_entry.status == models.HostQueueEntry.Status.PENDING:
1155 child_entry.status = models.HostQueueEntry.Status.STOPPED
1168 query = models.HostQueueEntry.objects.filter(
1190 return list(HostQueueEntry.fetch(
1282 hqe_model = models.HostQueueEntry.objects.get(id=queue_entry.id)
1330 pending_entries = list(HostQueueEntry.fetch(
1383 queue_entry.set_status(models.HostQueueEntry.Status.STARTING)