Lines Matching refs:models
14 from autotest_lib.frontend.afe import models, model_attributes
83 return models.HostQueueEntry.Status.ABORTED
87 return models.HostQueueEntry.Status.COMPLETED
88 return models.HostQueueEntry.Status.FAILED
260 allowed_hqe_statuses=(models.HostQueueEntry.Status.GATHERING,),
261 allowed_host_statuses=(models.Host.Status.RUNNING,))
275 models.HostQueueEntry.Status.COMPLETED)
283 self._final_status() == models.HostQueueEntry.Status.ABORTED
293 models.SpecialTask.objects.create(
294 host=models.Host.objects.get(id=queue_entry.host.id),
295 task=models.SpecialTask.Task.CLEANUP,
298 queue_entry.host.set_status(models.Host.Status.READY)
341 allowed_hqe_statuses=(models.HostQueueEntry.Status.PARSING,))