git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef50cc0
)
dont default client_id to node's hostname
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Fri, 7 Sep 2012 16:41:31 +0000
(12:41 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Fri, 7 Sep 2012 16:41:31 +0000
(12:41 -0400)
sfa/planetlab/plaggregate.py
patch
|
blob
|
history
diff --git
a/sfa/planetlab/plaggregate.py
b/sfa/planetlab/plaggregate.py
index
b9bad41
..
60f5db9
100644
(file)
--- a/
sfa/planetlab/plaggregate.py
+++ b/
sfa/planetlab/plaggregate.py
@@
-238,7
+238,8
@@
class PlAggregate:
# add sliver info
sliver = slivers[node['node_id']]
rspec_node['sliver_id'] = sliver['sliver_id']
- rspec_node['client_id'] = node['hostname']
+ if node.get('client_id'):
+ rspec_node['client_id'] = node['client_id']
rspec_node['slivers'] = [sliver]
# slivers always provide the ssh service