From patchwork Thu Jun 7 23:44:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Doan X-Patchwork-Id: 9166 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 0F93B23E56 for ; Thu, 7 Jun 2012 23:44:15 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id D3B0BA18004 for ; Thu, 7 Jun 2012 23:44:14 +0000 (UTC) Received: by yhpp61 with SMTP id p61so972053yhp.11 for ; Thu, 07 Jun 2012 16:44:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type:mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state; bh=XB5wRgBobLW1ExdbNorya0tDaSLWLULTuof7tUWNAH8=; b=TmYeU0TWgUG/pq/ertf01LgTJ2t4TbnHSSVKw82JNsmgzKMTG0dTHWMFtSn+UOoiNB xvcvoq42Tgl5mpFC2AmBT9K8LmV3umr/8OvCRAWcjhl8qWiC8LVzzGgXQ/JzWDQIn60Y oVz3JqdT3FK/epidI2u4DYDoGiGaQVLNb6vpUnZXA3jvqwIDPFswi9ek09aFNuYtJS5y /PJbXv/sQZlZCtKQOWpdOPjUpf6q1TbgrGfZ75qbvHAG8xK6B+7wD1PoAQoa9LhpX25S u4zZBwVNzUyIBIHikCwG2G6d85aU/fS+2UOaNAdro3RX9gVjSPqrDAo5HKshcDTwxx// QvBg== Received: by 10.42.155.73 with SMTP id t9mr2673104icw.48.1339112653899; Thu, 07 Jun 2012 16:44:13 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp6465ibb; Thu, 7 Jun 2012 16:44:11 -0700 (PDT) Received: by 10.14.94.204 with SMTP id n52mr2514973eef.200.1339112650817; Thu, 07 Jun 2012 16:44:10 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id ex1si3953385wib.21.2012.06.07.16.44.10 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Jun 2012 16:44:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1ScmN8-0007ZG-67 for ; Thu, 07 Jun 2012 23:44:10 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 1AA1EE0030 for ; Thu, 7 Jun 2012 23:44:10 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-scheduler X-Launchpad-Branch: ~linaro-validation/lava-scheduler/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 176 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-scheduler/trunk] Rev 176: add "RETIRED" state for boards Message-Id: <20120607234410.27684.45720.launchpad@ackee.canonical.com> Date: Thu, 07 Jun 2012 23:44:10 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="15353"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: ed722c4ce4add9f0058bac8b5e4e194f009fcb23 X-Gm-Message-State: ALoCoQmcf2nWSXqba4R0PqEg316NWOH7ItQYPu0clh2B9Fvf47U30d8TRXoe3djMlueA7uSGGuA0 ------------------------------------------------------------ revno: 176 fixes bug: https://launchpad.net/bugs/996251 committer: Andy Doan 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 === 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