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:
5765b76
)
GENICloud should only return the resources managed by its aggregates
author
Andy Bavier
<acb@cs.princeton.edu>
Tue, 5 Jul 2011 19:46:47 +0000
(15:46 -0400)
committer
Andy Bavier
<acb@cs.princeton.edu>
Tue, 5 Jul 2011 19:46:47 +0000
(15:46 -0400)
(not by GENICloud Central)
sfa/managers/slice_manager_pl.py
patch
|
blob
|
history
diff --git
a/sfa/managers/slice_manager_pl.py
b/sfa/managers/slice_manager_pl.py
index
4ac41a4
..
c7d6fed
100644
(file)
--- a/
sfa/managers/slice_manager_pl.py
+++ b/
sfa/managers/slice_manager_pl.py
@@
-128,6
+128,11
@@
def ListResources(api, creds, options, call_id):
# unless the caller is the aggregate's SM
if caller_hrn == aggregate and aggregate != api.hrn:
continue
+
+ # For GENICloud
+ if aggregate == api.hrn:
+ continue
+
# get the rspec from the aggregate
server = api.aggregates[aggregate]
#threads.run(server.ListResources, credentials, my_opts, call_id)