From d455cac1bab3040261193db360e18256e74e513d Mon Sep 17 00:00:00 2001 From: fsaintma Date: Fri, 18 Dec 2015 13:40:54 +0100 Subject: [PATCH] add Dead state for unvailable nodes --- sfa/iotlab/iotlabaggregate.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.43.0