From: fsaintma Date: Fri, 18 Dec 2015 12:40:54 +0000 (+0100) Subject: add Dead state for unvailable nodes X-Git-Tag: sfa-3.1-21~44 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=d455cac1bab3040261193db360e18256e74e513d add Dead state for unvailable nodes --- diff --git a/sfa/iotlab/iotlabaggregate.py b/sfa/iotlab/iotlabaggregate.py index ee95299b..a0edf3a7 100644 --- a/sfa/iotlab/iotlabaggregate.py +++ b/sfa/iotlab/iotlabaggregate.py @@ -59,6 +59,7 @@ class IotLABAggregate(object): # rspec_node['boot_state'] = 'true' if node['state'] == 'Absent' or \ node['state'] == 'Suspected' or \ + node['state'] == 'Dead' or \ node['state'] == 'Busy': rspec_node['available'] = 'false' else: