Lines Matching refs:dbmodels
7 from django.db import models as dbmodels, connection unknown
44 class AtomicGroup(model_logic.ModelWithInvalid, dbmodels.Model):
59 name = dbmodels.CharField(max_length=255, unique=True)
60 description = dbmodels.TextField(blank=True)
68 max_number_of_machines = dbmodels.IntegerField(default=INFINITE_MACHINES)
69 invalid = dbmodels.BooleanField(default=False,
101 class Label(model_logic.ModelWithInvalid, dbmodels.Model):
114 name = dbmodels.CharField(max_length=255, unique=True)
115 kernel_config = dbmodels.CharField(max_length=255, blank=True)
116 platform = dbmodels.BooleanField(default=False)
117 invalid = dbmodels.BooleanField(default=False,
119 only_if_needed = dbmodels.BooleanField(default=False)
124 atomic_group = dbmodels.ForeignKey(AtomicGroup, null=True, blank=True)
166 class StaticLabel(model_logic.ModelWithInvalid, dbmodels.Model):
177 name = dbmodels.CharField(max_length=255, unique=True)
178 kernel_config = dbmodels.CharField(max_length=255, blank=True)
179 platform = dbmodels.BooleanField(default=False)
180 invalid = dbmodels.BooleanField(default=False,
182 only_if_needed = dbmodels.BooleanField(default=False)
187 atomic_group = dbmodels.ForeignKey(AtomicGroup, null=True, blank=True)
203 class ReplacedLabel(dbmodels.Model, model_logic.ModelExtensions):
205 label = dbmodels.ForeignKey(Label)
218 class Shard(dbmodels.Model, model_logic.ModelExtensions):
220 hostname = dbmodels.CharField(max_length=255, unique=True)
224 labels = dbmodels.ManyToManyField(Label, blank=True,
232 class Drone(dbmodels.Model, model_logic.ModelExtensions):
238 hostname = dbmodels.CharField(max_length=255, unique=True)
264 class DroneSet(dbmodels.Model, model_logic.ModelExtensions):
279 name = dbmodels.CharField(max_length=255, unique=True)
280 drones = dbmodels.ManyToManyField(Drone, db_table='afe_drone_sets_drones')
362 class User(dbmodels.Model, model_logic.ModelExtensions):
376 login = dbmodels.CharField(max_length=255, unique=True)
377 access_level = dbmodels.IntegerField(default=ACCESS_USER, blank=True)
380 reboot_before = dbmodels.SmallIntegerField(
383 reboot_after = dbmodels.SmallIntegerField(
386 drone_set = dbmodels.ForeignKey(DroneSet, null=True, blank=True)
387 show_experimental = dbmodels.BooleanField(default=False)
508 labels = dbmodels.ManyToManyField(Label, blank=True,
510 static_labels = dbmodels.ManyToManyField(
512 locked_by = dbmodels.ForeignKey(User, null=True, blank=True, editable=False)
518 shard = dbmodels.ForeignKey(Shard, blank=True, null=True)
923 class HostAttribute(dbmodels.Model, model_logic.ModelExtensions):
928 host = dbmodels.ForeignKey(Host)
929 attribute = dbmodels.CharField(max_length=90)
930 value = dbmodels.CharField(max_length=300)
969 class StaticHostAttribute(dbmodels.Model, model_logic.ModelExtensions):
974 host = dbmodels.ForeignKey(Host)
975 attribute = dbmodels.CharField(max_length=90)
976 value = dbmodels.CharField(max_length=300)
1013 class Test(dbmodels.Model, model_logic.ModelExtensions):
1040 name = dbmodels.CharField(max_length=255, unique=True)
1041 author = dbmodels.CharField(max_length=255)
1042 test_class = dbmodels.CharField(max_length=255)
1043 test_category = dbmodels.CharField(max_length=255)
1044 dependencies = dbmodels.CharField(max_length=255, blank=True)
1045 description = dbmodels.TextField(blank=True)
1046 experimental = dbmodels.BooleanField(default=True)
1047 run_verify = dbmodels.BooleanField(default=False)
1048 test_time = dbmodels.SmallIntegerField(choices=TestTime.choices(),
1050 test_type = dbmodels.SmallIntegerField(
1052 sync_count = dbmodels.IntegerField(default=1)
1053 path = dbmodels.CharField(max_length=255, unique=True)
1054 test_retry = dbmodels.IntegerField(blank=True, default=0)
1055 run_reset = dbmodels.BooleanField(default=True)
1058 dbmodels.ManyToManyField(Label, blank=True,
1080 class TestParameter(dbmodels.Model):
1084 test = dbmodels.ForeignKey(Test)
1085 name = dbmodels.CharField(max_length=255)
1096 class Profiler(dbmodels.Model, model_logic.ModelExtensions):
1105 name = dbmodels.CharField(max_length=255, unique=True)
1106 description = dbmodels.TextField(blank=True)
1120 class AclGroup(dbmodels.Model, model_logic.ModelExtensions):
1131 name = dbmodels.CharField(max_length=255, unique=True)
1132 description = dbmodels.CharField(max_length=255, blank=True)
1133 users = dbmodels.ManyToManyField(User, blank=False,
1135 hosts = dbmodels.ManyToManyField(Host, blank=True,
1284 class ParameterizedJob(dbmodels.Model):
1352 class Job(dbmodels.Model, model_logic.ModelExtensions):
1502 owner = dbmodels.CharField(max_length=255)
1503 name = dbmodels.CharField(max_length=255)
1504 priority = dbmodels.SmallIntegerField(default=priorities.Priority.DEFAULT)
1505 control_file = dbmodels.TextField(null=True, blank=True)
1506 control_type = dbmodels.SmallIntegerField(
1510 created_on = dbmodels.DateTimeField()
1511 synch_count = dbmodels.IntegerField(blank=True, default=0)
1512 timeout = dbmodels.IntegerField(default=DEFAULT_TIMEOUT)
1513 run_verify = dbmodels.BooleanField(default=False)
1514 email_list = dbmodels.CharField(max_length=250, blank=True)
1516 dbmodels.ManyToManyField(Label, blank=True,
1518 reboot_before = dbmodels.SmallIntegerField(
1521 reboot_after = dbmodels.SmallIntegerField(
1524 parse_failed_repair = dbmodels.BooleanField(
1528 max_runtime_hrs = dbmodels.IntegerField(default=DEFAULT_MAX_RUNTIME_HRS)
1529 max_runtime_mins = dbmodels.IntegerField(default=DEFAULT_MAX_RUNTIME_MINS)
1530 drone_set = dbmodels.ForeignKey(DroneSet, null=True, blank=True)
1539 parameterized_job = dbmodels.ForeignKey(ParameterizedJob, null=True,
1542 parent_job = dbmodels.ForeignKey('self', blank=True, null=True)
1544 test_retry = dbmodels.IntegerField(blank=True, default=0)
1546 run_reset = dbmodels.BooleanField(default=True)
1548 timeout_mins = dbmodels.IntegerField(default=DEFAULT_TIMEOUT_MINS)
1552 shard = dbmodels.ForeignKey(Shard, blank=True, null=True)
1556 require_ssp = dbmodels.NullBooleanField(default=None, blank=True, null=True)
1793 class JobHandoff(dbmodels.Model, model_logic.ModelExtensions):
1796 job = dbmodels.OneToOneField(Job, on_delete=dbmodels.CASCADE,
1798 created = dbmodels.DateTimeField(auto_now_add=True)
1799 completed = dbmodels.BooleanField(default=False)
1800 drone = dbmodels.CharField(
1813 class JobKeyval(dbmodels.Model, model_logic.ModelExtensions):
1819 job = dbmodels.ForeignKey(Job)
1820 key = dbmodels.CharField(max_length=90)
1821 value = dbmodels.CharField(max_length=300)
1860 class IneligibleHostQueue(dbmodels.Model, model_logic.ModelExtensions):
1862 job = dbmodels.ForeignKey(Job)
1863 host = dbmodels.ForeignKey(Host)
1872 class HostQueueEntry(dbmodels.Model, model_logic.ModelExtensions):
1899 job = dbmodels.ForeignKey(Job)
1900 host = dbmodels.ForeignKey(Host, blank=True, null=True)
1901 status = dbmodels.CharField(max_length=255)
1902 meta_host = dbmodels.ForeignKey(Label, blank=True, null=True,
1904 active = dbmodels.BooleanField(default=False)
1905 complete = dbmodels.BooleanField(default=False)
1906 deleted = dbmodels.BooleanField(default=False)
1907 execution_subdir = dbmodels.CharField(max_length=255, blank=True,
1911 atomic_group = dbmodels.ForeignKey(AtomicGroup, blank=True, null=True)
1912 aborted = dbmodels.BooleanField(default=False)
1913 started_on = dbmodels.DateTimeField(null=True, blank=True)
1914 finished_on = dbmodels.DateTimeField(null=True, blank=True)
2086 class HostQueueEntryStartTimes(dbmodels.Model):
2088 insert_time = dbmodels.DateTimeField()
2089 highest_hqe_id = dbmodels.IntegerField()
2096 class AbortedHostQueueEntry(dbmodels.Model, model_logic.ModelExtensions):
2098 queue_entry = dbmodels.OneToOneField(HostQueueEntry, primary_key=True)
2099 aborted_by = dbmodels.ForeignKey(User)
2100 aborted_on = dbmodels.DateTimeField()
2114 class SpecialTask(dbmodels.Model, model_logic.ModelExtensions):
2133 host = dbmodels.ForeignKey(Host, blank=False, null=False)
2134 task = dbmodels.CharField(max_length=64, choices=Task.choices(),
2136 requested_by = dbmodels.ForeignKey(User)
2137 time_requested = dbmodels.DateTimeField(auto_now_add=True, blank=False,
2139 is_active = dbmodels.BooleanField(default=False, blank=False, null=False)
2140 is_complete = dbmodels.BooleanField(default=False, blank=False, null=False)
2141 is_aborted = dbmodels.BooleanField(default=False, blank=False, null=False)
2142 time_started = dbmodels.DateTimeField(null=True, blank=True)
2143 queue_entry = dbmodels.ForeignKey(HostQueueEntry, blank=True, null=True)
2144 success = dbmodels.BooleanField(default=False, blank=False, null=False)
2145 time_finished = dbmodels.DateTimeField(null=True, blank=True)
2244 class StableVersion(dbmodels.Model, model_logic.ModelExtensions):
2246 board = dbmodels.CharField(max_length=255, unique=True)
2247 version = dbmodels.CharField(max_length=255)