Lines Matching refs:models
14 from autotest_lib.frontend.afe import models, model_attributes
78 return models.HostQueueEntry.Status.ABORTED
82 return models.HostQueueEntry.Status.COMPLETED
83 return models.HostQueueEntry.Status.FAILED
253 allowed_hqe_statuses=(models.HostQueueEntry.Status.GATHERING,),
254 allowed_host_statuses=(models.Host.Status.RUNNING,))
268 models.HostQueueEntry.Status.COMPLETED)
276 self._final_status() == models.HostQueueEntry.Status.ABORTED
286 models.SpecialTask.objects.create(
287 host=models.Host.objects.get(id=queue_entry.host.id),
288 task=models.SpecialTask.Task.CLEANUP,
291 queue_entry.host.set_status(models.Host.Status.READY)
334 allowed_hqe_statuses=(models.HostQueueEntry.Status.PARSING,))
375 allowed_hqe_statuses=(models.HostQueueEntry.Status.ARCHIVING,))