Lines Matching refs:dbmodels
7 from django.db import models as dbmodels, connection unknown
39 class AtomicGroup(model_logic.ModelWithInvalid, dbmodels.Model):
54 name = dbmodels.CharField(max_length=255, unique=True)
55 description = dbmodels.TextField(blank=True)
63 max_number_of_machines = dbmodels.IntegerField(default=INFINITE_MACHINES)
64 invalid = dbmodels.BooleanField(default=False,
96 class Label(model_logic.ModelWithInvalid, dbmodels.Model):
109 name = dbmodels.CharField(max_length=255, unique=True)
110 kernel_config = dbmodels.CharField(max_length=255, blank=True)
111 platform = dbmodels.BooleanField(default=False)
112 invalid = dbmodels.BooleanField(default=False,
114 only_if_needed = dbmodels.BooleanField(default=False)
119 atomic_group = dbmodels.ForeignKey(AtomicGroup, null=True, blank=True)
150 class Shard(dbmodels.Model, model_logic.ModelExtensions):
152 hostname = dbmodels.CharField(max_length=255, unique=True)
156 labels = dbmodels.ManyToManyField(Label, blank=True,
190 class Drone(dbmodels.Model, model_logic.ModelExtensions):
196 hostname = dbmodels.CharField(max_length=255, unique=True)
222 class DroneSet(dbmodels.Model, model_logic.ModelExtensions):
237 name = dbmodels.CharField(max_length=255, unique=True)
238 drones = dbmodels.ManyToManyField(Drone, db_table='afe_drone_sets_drones')
320 class User(dbmodels.Model, model_logic.ModelExtensions):
334 login = dbmodels.CharField(max_length=255, unique=True)
335 access_level = dbmodels.IntegerField(default=ACCESS_USER, blank=True)
338 reboot_before = dbmodels.SmallIntegerField(
341 reboot_after = dbmodels.SmallIntegerField(
344 drone_set = dbmodels.ForeignKey(DroneSet, null=True, blank=True)
345 show_experimental = dbmodels.BooleanField(default=False)
467 labels = dbmodels.ManyToManyField(Label, blank=True,
469 locked_by = dbmodels.ForeignKey(User, null=True, blank=True, editable=False)
475 shard = dbmodels.ForeignKey(Shard, blank=True, null=True)
722 class HostAttribute(dbmodels.Model, model_logic.ModelExtensions):
727 host = dbmodels.ForeignKey(Host)
728 attribute = dbmodels.CharField(max_length=90)
729 value = dbmodels.CharField(max_length=300)
768 class Test(dbmodels.Model, model_logic.ModelExtensions):
795 name = dbmodels.CharField(max_length=255, unique=True)
796 author = dbmodels.CharField(max_length=255)
797 test_class = dbmodels.CharField(max_length=255)
798 test_category = dbmodels.CharField(max_length=255)
799 dependencies = dbmodels.CharField(max_length=255, blank=True)
800 description = dbmodels.TextField(blank=True)
801 experimental = dbmodels.BooleanField(default=True)
802 run_verify = dbmodels.BooleanField(default=False)
803 test_time = dbmodels.SmallIntegerField(choices=TestTime.choices(),
805 test_type = dbmodels.SmallIntegerField(
807 sync_count = dbmodels.IntegerField(default=1)
808 path = dbmodels.CharField(max_length=255, unique=True)
809 test_retry = dbmodels.IntegerField(blank=True, default=0)
810 run_reset = dbmodels.BooleanField(default=True)
813 dbmodels.ManyToManyField(Label, blank=True,
835 class TestParameter(dbmodels.Model):
839 test = dbmodels.ForeignKey(Test)
840 name = dbmodels.CharField(max_length=255)
851 class Profiler(dbmodels.Model, model_logic.ModelExtensions):
860 name = dbmodels.CharField(max_length=255, unique=True)
861 description = dbmodels.TextField(blank=True)
875 class AclGroup(dbmodels.Model, model_logic.ModelExtensions):
886 name = dbmodels.CharField(max_length=255, unique=True)
887 description = dbmodels.CharField(max_length=255, blank=True)
888 users = dbmodels.ManyToManyField(User, blank=False,
890 hosts = dbmodels.ManyToManyField(Host, blank=True,
1039 class Kernel(dbmodels.Model):
1043 version = dbmodels.CharField(max_length=255)
1044 cmdline = dbmodels.CharField(max_length=255, blank=True)
1084 class ParameterizedJob(dbmodels.Model):
1088 test = dbmodels.ForeignKey(Test)
1089 label = dbmodels.ForeignKey(Label, null=True)
1090 use_container = dbmodels.BooleanField(default=False)
1091 profile_only = dbmodels.BooleanField(default=False)
1092 upload_kernel_config = dbmodels.BooleanField(default=False)
1094 kernels = dbmodels.ManyToManyField(
1096 profilers = dbmodels.ManyToManyField(
1127 class ParameterizedJobProfiler(dbmodels.Model):
1131 parameterized_job = dbmodels.ForeignKey(ParameterizedJob)
1132 profiler = dbmodels.ForeignKey(Profiler)
1140 class ParameterizedJobProfilerParameter(dbmodels.Model):
1144 parameterized_job_profiler = dbmodels.ForeignKey(ParameterizedJobProfiler)
1145 parameter_name = dbmodels.CharField(max_length=255)
1146 parameter_value = dbmodels.TextField()
1147 parameter_type = dbmodels.CharField(
1160 class ParameterizedJobParameter(dbmodels.Model):
1164 parameterized_job = dbmodels.ForeignKey(ParameterizedJob)
1165 test_parameter = dbmodels.ForeignKey(TestParameter)
1166 parameter_value = dbmodels.TextField()
1167 parameter_type = dbmodels.CharField(
1207 class Job(dbmodels.Model, model_logic.ModelExtensions):
1355 owner = dbmodels.CharField(max_length=255)
1356 name = dbmodels.CharField(max_length=255)
1357 priority = dbmodels.SmallIntegerField(default=priorities.Priority.DEFAULT)
1358 control_file = dbmodels.TextField(null=True, blank=True)
1359 control_type = dbmodels.SmallIntegerField(
1363 created_on = dbmodels.DateTimeField()
1364 synch_count = dbmodels.IntegerField(blank=True, default=0)
1365 timeout = dbmodels.IntegerField(default=DEFAULT_TIMEOUT)
1366 run_verify = dbmodels.BooleanField(default=False)
1367 email_list = dbmodels.CharField(max_length=250, blank=True)
1369 dbmodels.ManyToManyField(Label, blank=True,
1371 reboot_before = dbmodels.SmallIntegerField(
1374 reboot_after = dbmodels.SmallIntegerField(
1377 parse_failed_repair = dbmodels.BooleanField(
1381 max_runtime_hrs = dbmodels.IntegerField(default=DEFAULT_MAX_RUNTIME_HRS)
1382 max_runtime_mins = dbmodels.IntegerField(default=DEFAULT_MAX_RUNTIME_MINS)
1383 drone_set = dbmodels.ForeignKey(DroneSet, null=True, blank=True)
1385 parameterized_job = dbmodels.ForeignKey(ParameterizedJob, null=True,
1388 parent_job = dbmodels.ForeignKey('self', blank=True, null=True)
1390 test_retry = dbmodels.IntegerField(blank=True, default=0)
1392 run_reset = dbmodels.BooleanField(default=True)
1394 timeout_mins = dbmodels.IntegerField(default=DEFAULT_TIMEOUT_MINS)
1398 shard = dbmodels.ForeignKey(Shard, blank=True, null=True)
1402 require_ssp = dbmodels.NullBooleanField(default=None, blank=True, null=True)
1684 class JobKeyval(dbmodels.Model, model_logic.ModelExtensions):
1690 job = dbmodels.ForeignKey(Job)
1691 key = dbmodels.CharField(max_length=90)
1692 value = dbmodels.CharField(max_length=300)
1731 class IneligibleHostQueue(dbmodels.Model, model_logic.ModelExtensions):
1733 job = dbmodels.ForeignKey(Job)
1734 host = dbmodels.ForeignKey(Host)
1743 class HostQueueEntry(dbmodels.Model, model_logic.ModelExtensions):
1768 job = dbmodels.ForeignKey(Job)
1769 host = dbmodels.ForeignKey(Host, blank=True, null=True)
1770 status = dbmodels.CharField(max_length=255)
1771 meta_host = dbmodels.ForeignKey(Label, blank=True, null=True,
1773 active = dbmodels.BooleanField(default=False)
1774 complete = dbmodels.BooleanField(default=False)
1775 deleted = dbmodels.BooleanField(default=False)
1776 execution_subdir = dbmodels.CharField(max_length=255, blank=True,
1780 atomic_group = dbmodels.ForeignKey(AtomicGroup, blank=True, null=True)
1781 aborted = dbmodels.BooleanField(default=False)
1782 started_on = dbmodels.DateTimeField(null=True, blank=True)
1783 finished_on = dbmodels.DateTimeField(null=True, blank=True)
1960 class AbortedHostQueueEntry(dbmodels.Model, model_logic.ModelExtensions):
1962 queue_entry = dbmodels.OneToOneField(HostQueueEntry, primary_key=True)
1963 aborted_by = dbmodels.ForeignKey(User)
1964 aborted_on = dbmodels.DateTimeField()
1978 class RecurringRun(dbmodels.Model, model_logic.ModelExtensions):
1988 job = dbmodels.ForeignKey(Job)
1989 owner = dbmodels.ForeignKey(User)
1990 start_date = dbmodels.DateTimeField()
1991 loop_period = dbmodels.IntegerField(blank=True)
1992 loop_count = dbmodels.IntegerField(blank=True)
2005 class SpecialTask(dbmodels.Model, model_logic.ModelExtensions):
2024 host = dbmodels.ForeignKey(Host, blank=False, null=False)
2025 task = dbmodels.CharField(max_length=64, choices=Task.choices(),
2027 requested_by = dbmodels.ForeignKey(User)
2028 time_requested = dbmodels.DateTimeField(auto_now_add=True, blank=False,
2030 is_active = dbmodels.BooleanField(default=False, blank=False, null=False)
2031 is_complete = dbmodels.BooleanField(default=False, blank=False, null=False)
2032 is_aborted = dbmodels.BooleanField(default=False, blank=False, null=False)
2033 time_started = dbmodels.DateTimeField(null=True, blank=True)
2034 queue_entry = dbmodels.ForeignKey(HostQueueEntry, blank=True, null=True)
2035 success = dbmodels.BooleanField(default=False, blank=False, null=False)
2036 time_finished = dbmodels.DateTimeField(null=True, blank=True)
2135 class StableVersion(dbmodels.Model, model_logic.ModelExtensions):
2137 board = dbmodels.CharField(max_length=255, unique=True)
2138 version = dbmodels.CharField(max_length=255)