git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rough cleanup of the slicemanager business
[sfa.git]
/
sfa
/
iotlab
/
iotlabaggregate.py
diff --git
a/sfa/iotlab/iotlabaggregate.py
b/sfa/iotlab/iotlabaggregate.py
index
36b3291
..
3878da4
100644
(file)
--- a/
sfa/iotlab/iotlabaggregate.py
+++ b/
sfa/iotlab/iotlabaggregate.py
@@
-52,7
+52,10
@@
class IotLABAggregate(object):
rspec_node = IotlabNode()
rspec_node['mobile'] = node['mobile']
rspec_node['archi'] = node['archi']
rspec_node = IotlabNode()
rspec_node['mobile'] = node['mobile']
rspec_node['archi'] = node['archi']
- rspec_node['radio'] = (node['archi'].split(':'))[1]
+ if ':' in node['archi']:
+ rspec_node['radio'] = (node['archi'].split(':'))[1]
+ else:
+ rspec_node['radio'] = node['archi']
iotlab_xrn = Xrn('.'.join([self.driver.root_auth,
Xrn.escape(node['network_address'])]),
type='node')
iotlab_xrn = Xrn('.'.join([self.driver.root_auth,
Xrn.escape(node['network_address'])]),
type='node')