• Home
  • Raw
  • Download

Lines Matching refs:dbmodels

11     from django.db import models as dbmodels, connection  unknown
47 class AtomicGroup(model_logic.ModelWithInvalid, dbmodels.Model):
62 name = dbmodels.CharField(max_length=255, unique=True)
63 description = dbmodels.TextField(blank=True)
71 max_number_of_machines = dbmodels.IntegerField(default=INFINITE_MACHINES)
72 invalid = dbmodels.BooleanField(default=False,
104 class Label(model_logic.ModelWithInvalid, dbmodels.Model):
117 name = dbmodels.CharField(max_length=255, unique=True)
118 kernel_config = dbmodels.CharField(max_length=255, blank=True)
119 platform = dbmodels.BooleanField(default=False)
120 invalid = dbmodels.BooleanField(default=False,
122 only_if_needed = dbmodels.BooleanField(default=False)
127 atomic_group = dbmodels.ForeignKey(AtomicGroup, null=True, blank=True)
169 class StaticLabel(model_logic.ModelWithInvalid, dbmodels.Model):
180 name = dbmodels.CharField(max_length=255, unique=True)
181 kernel_config = dbmodels.CharField(max_length=255, blank=True)
182 platform = dbmodels.BooleanField(default=False)
183 invalid = dbmodels.BooleanField(default=False,
185 only_if_needed = dbmodels.BooleanField(default=False)
190 atomic_group = dbmodels.ForeignKey(AtomicGroup, null=True, blank=True)
206 class ReplacedLabel(dbmodels.Model, model_logic.ModelExtensions):
208 label = dbmodels.ForeignKey(Label)
221 class Shard(dbmodels.Model, model_logic.ModelExtensions):
223 hostname = dbmodels.CharField(max_length=255, unique=True)
227 labels = dbmodels.ManyToManyField(Label, blank=True,
235 class Drone(dbmodels.Model, model_logic.ModelExtensions):
241 hostname = dbmodels.CharField(max_length=255, unique=True)
267 class DroneSet(dbmodels.Model, model_logic.ModelExtensions):
282 name = dbmodels.CharField(max_length=255, unique=True)
283 drones = dbmodels.ManyToManyField(Drone, db_table='afe_drone_sets_drones')
365 class User(dbmodels.Model, model_logic.ModelExtensions):
379 login = dbmodels.CharField(max_length=255, unique=True)
380 access_level = dbmodels.IntegerField(default=ACCESS_USER, blank=True)
383 reboot_before = dbmodels.SmallIntegerField(
386 reboot_after = dbmodels.SmallIntegerField(
389 drone_set = dbmodels.ForeignKey(DroneSet, null=True, blank=True)
390 show_experimental = dbmodels.BooleanField(default=False)
511 labels = dbmodels.ManyToManyField(Label, blank=True,
513 static_labels = dbmodels.ManyToManyField(
515 locked_by = dbmodels.ForeignKey(User, null=True, blank=True, editable=False)
521 shard = dbmodels.ForeignKey(Shard, blank=True, null=True)
926 class HostAttribute(dbmodels.Model, model_logic.ModelExtensions):
931 host = dbmodels.ForeignKey(Host)
932 attribute = dbmodels.CharField(max_length=90)
933 value = dbmodels.CharField(max_length=300)
972 class StaticHostAttribute(dbmodels.Model, model_logic.ModelExtensions):
977 host = dbmodels.ForeignKey(Host)
978 attribute = dbmodels.CharField(max_length=90)
979 value = dbmodels.CharField(max_length=300)
1016 class Test(dbmodels.Model, model_logic.ModelExtensions):
1044 name = dbmodels.CharField(max_length=255, unique=True)
1045 author = dbmodels.CharField(max_length=255)
1046 test_class = dbmodels.CharField(max_length=255)
1047 test_category = dbmodels.CharField(max_length=255)
1048 dependencies = dbmodels.CharField(max_length=255, blank=True)
1049 description = dbmodels.TextField(blank=True)
1050 experimental = dbmodels.BooleanField(default=True)
1051 run_verify = dbmodels.BooleanField(default=False)
1052 test_time = dbmodels.SmallIntegerField(choices=TestTime.choices(),
1054 test_type = dbmodels.SmallIntegerField(
1056 sync_count = dbmodels.IntegerField(default=1)
1057 path = dbmodels.CharField(max_length=255, unique=True)
1058 test_retry = dbmodels.IntegerField(blank=True, default=0)
1059 run_reset = dbmodels.BooleanField(default=True)
1062 dbmodels.ManyToManyField(Label, blank=True,
1084 class TestParameter(dbmodels.Model):
1088 test = dbmodels.ForeignKey(Test)
1089 name = dbmodels.CharField(max_length=255)
1100 class Profiler(dbmodels.Model, model_logic.ModelExtensions):
1109 name = dbmodels.CharField(max_length=255, unique=True)
1110 description = dbmodels.TextField(blank=True)
1124 class AclGroup(dbmodels.Model, model_logic.ModelExtensions):
1135 name = dbmodels.CharField(max_length=255, unique=True)
1136 description = dbmodels.CharField(max_length=255, blank=True)
1137 users = dbmodels.ManyToManyField(User, blank=False,
1139 hosts = dbmodels.ManyToManyField(Host, blank=True,
1288 class ParameterizedJob(dbmodels.Model):
1356 class Job(dbmodels.Model, model_logic.ModelExtensions):
1512 owner = dbmodels.CharField(max_length=255)
1513 name = dbmodels.CharField(max_length=255)
1514 priority = dbmodels.SmallIntegerField(default=priorities.Priority.DEFAULT)
1515 control_file = dbmodels.TextField(null=True, blank=True)
1516 control_type = dbmodels.SmallIntegerField(
1520 created_on = dbmodels.DateTimeField()
1521 synch_count = dbmodels.IntegerField(blank=True, default=0)
1522 timeout = dbmodels.IntegerField(default=DEFAULT_TIMEOUT)
1523 run_verify = dbmodels.BooleanField(default=False)
1524 email_list = dbmodels.CharField(max_length=250, blank=True)
1526 dbmodels.ManyToManyField(Label, blank=True,
1528 reboot_before = dbmodels.SmallIntegerField(
1531 reboot_after = dbmodels.SmallIntegerField(
1534 parse_failed_repair = dbmodels.BooleanField(
1538 max_runtime_hrs = dbmodels.IntegerField(default=DEFAULT_MAX_RUNTIME_HRS)
1539 max_runtime_mins = dbmodels.IntegerField(default=DEFAULT_MAX_RUNTIME_MINS)
1540 drone_set = dbmodels.ForeignKey(DroneSet, null=True, blank=True)
1549 parameterized_job = dbmodels.ForeignKey(ParameterizedJob, null=True,
1552 parent_job = dbmodels.ForeignKey('self', blank=True, null=True)
1554 test_retry = dbmodels.IntegerField(blank=True, default=0)
1556 run_reset = dbmodels.BooleanField(default=True)
1558 timeout_mins = dbmodels.IntegerField(default=DEFAULT_TIMEOUT_MINS)
1562 shard = dbmodels.ForeignKey(Shard, blank=True, null=True)
1565 require_ssp = dbmodels.NullBooleanField(default=None, blank=True, null=True)
1835 class JobHandoff(dbmodels.Model, model_logic.ModelExtensions):
1838 job = dbmodels.OneToOneField(Job, on_delete=dbmodels.CASCADE,
1840 created = dbmodels.DateTimeField(auto_now_add=True)
1841 completed = dbmodels.BooleanField(default=False)
1842 drone = dbmodels.CharField(
1855 class JobKeyval(dbmodels.Model, model_logic.ModelExtensions):
1861 job = dbmodels.ForeignKey(Job)
1862 key = dbmodels.CharField(max_length=90)
1863 value = dbmodels.CharField(max_length=300)
1902 class IneligibleHostQueue(dbmodels.Model, model_logic.ModelExtensions):
1904 job = dbmodels.ForeignKey(Job)
1905 host = dbmodels.ForeignKey(Host)
1914 class HostQueueEntry(dbmodels.Model, model_logic.ModelExtensions):
1941 job = dbmodels.ForeignKey(Job)
1942 host = dbmodels.ForeignKey(Host, blank=True, null=True)
1943 status = dbmodels.CharField(max_length=255)
1944 meta_host = dbmodels.ForeignKey(Label, blank=True, null=True,
1946 active = dbmodels.BooleanField(default=False)
1947 complete = dbmodels.BooleanField(default=False)
1948 deleted = dbmodels.BooleanField(default=False)
1949 execution_subdir = dbmodels.CharField(max_length=255, blank=True,
1953 atomic_group = dbmodels.ForeignKey(AtomicGroup, blank=True, null=True)
1954 aborted = dbmodels.BooleanField(default=False)
1955 started_on = dbmodels.DateTimeField(null=True, blank=True)
1956 finished_on = dbmodels.DateTimeField(null=True, blank=True)
2134 class HostQueueEntryStartTimes(dbmodels.Model):
2136 insert_time = dbmodels.DateTimeField()
2137 highest_hqe_id = dbmodels.IntegerField()
2144 class AbortedHostQueueEntry(dbmodels.Model, model_logic.ModelExtensions):
2146 queue_entry = dbmodels.OneToOneField(HostQueueEntry, primary_key=True)
2147 aborted_by = dbmodels.ForeignKey(User)
2148 aborted_on = dbmodels.DateTimeField()
2162 class SpecialTask(dbmodels.Model, model_logic.ModelExtensions):
2181 host = dbmodels.ForeignKey(Host, blank=False, null=False)
2182 task = dbmodels.CharField(max_length=64, choices=Task.choices(),
2184 requested_by = dbmodels.ForeignKey(User)
2185 time_requested = dbmodels.DateTimeField(auto_now_add=True, blank=False,
2187 is_active = dbmodels.BooleanField(default=False, blank=False, null=False)
2188 is_complete = dbmodels.BooleanField(default=False, blank=False, null=False)
2189 is_aborted = dbmodels.BooleanField(default=False, blank=False, null=False)
2190 time_started = dbmodels.DateTimeField(null=True, blank=True)
2191 queue_entry = dbmodels.ForeignKey(HostQueueEntry, blank=True, null=True)
2192 success = dbmodels.BooleanField(default=False, blank=False, null=False)
2193 time_finished = dbmodels.DateTimeField(null=True, blank=True)
2292 class StableVersion(dbmodels.Model, model_logic.ModelExtensions):
2294 board = dbmodels.CharField(max_length=255, unique=True)
2295 version = dbmodels.CharField(max_length=255)