Removing references to the 'Dead' host status
Signed-off-by: James Ren <[email protected]>
--- autotest/frontend/afe/models.py 2010-04-12 13:55:37.000000000 -0700
+++ autotest/frontend/afe/models.py 2010-04-12 13:55:37.000000000 -0700
@@ -198,7 +198,7 @@
dirty: true if the host has been used without being rebooted
"""
Status = enum.Enum('Verifying', 'Running', 'Ready', 'Repairing',
- 'Repair Failed', 'Dead', 'Cleaning', 'Pending',
+ 'Repair Failed', 'Cleaning', 'Pending',
string_values=True)
Protection = host_protections.Protection
--- autotest/server/frontend.py 2010-04-12 13:55:37.000000000 -0700
+++ autotest/server/frontend.py 2010-04-12 13:55:37.000000000 -0700
@@ -144,7 +144,7 @@
def host_statuses(self, live=None):
- dead_statuses = ['Dead', 'Repair Failed', 'Repairing']
+ dead_statuses = ['Repair Failed', 'Repairing']
statuses = self.run('get_static_data')['host_statuses']
if live == True:
return list(set(statuses) - set(dead_statuses))
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest