diff mbox

[Branch,~linaro-validation/lava-scheduler/trunk] Rev 176: add "RETIRED" state for boards

Message ID 20120607234410.27684.45720.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Andy Doan June 7, 2012, 11:44 p.m. UTC
------------------------------------------------------------
revno: 176
fixes bug: https://launchpad.net/bugs/996251
committer: Andy Doan <andy.doan@linaro.org>
branch nick: lava-scheduler
timestamp: Mon 2012-06-04 13:49:03 -0500
message:
  add "RETIRED" state for boards
  
  This allows you to remove a board from the instance without deleteing
  all old test records associated with it.
modified:
  lava_scheduler_app/models.py


--
lp:lava-scheduler
https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk

You are subscribed to branch lp:lava-scheduler.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_scheduler_app/models.py'
--- lava_scheduler_app/models.py	2012-05-28 07:21:03 +0000
+++ lava_scheduler_app/models.py	2012-06-04 18:49:03 +0000
@@ -69,12 +69,14 @@ 
     IDLE = 1
     RUNNING = 2
     OFFLINING = 3
+    RETIRED = 4
 
     STATUS_CHOICES = (
         (OFFLINE, 'Offline'),
         (IDLE, 'Idle'),
         (RUNNING, 'Running'),
         (OFFLINING, 'Going offline'),
+        (RETIRED, 'Retired'),
     )
 
     # A device health shows a device is ready to test or not