add Dead state for unvailable nodes
[sfa.git] / sfa / iotlab / iotlabaggregate.py
index ee95299..a0edf3a 100644 (file)
@@ -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: