- location = IotlabLocation({'country':'France', 'site':
- node['site']})
- rspec_node['location'] = location
-
- # Adding mobility of the node in the rspec
- mobility = IotlabMobility()
- for field in mobility:
- try:
- mobility[field] = node[field]
- except KeyError, error:
- logger.log_exc("CortexlabAggregate\t get_nodes \
- mobility %s " % (error))
- rspec_node['mobility'] = mobility
-
- position = IotlabPosition()
- for field in position:
- try:
- position[field] = node[field]
- except KeyError, error:
- logger.log_exc("CortexlabAggregate\t get_nodes \
- position %s " % (error))
-
- rspec_node['position'] = position
- #rspec_node['interfaces'] = []
+ # Location, mobility and position removed. If you need it go check
+ # get_nodes in iotlabaggregate.py