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:
e2ef171
)
ensure urn has sliver type
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Sun, 20 May 2012 19:35:31 +0000
(15:35 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Sun, 20 May 2012 19:35:31 +0000
(15:35 -0400)
sfa/client/sfaadmin.py
patch
|
blob
|
history
diff --git
a/sfa/client/sfaadmin.py
b/sfa/client/sfaadmin.py
index
a19e189
..
1e1d675
100755
(executable)
--- a/
sfa/client/sfaadmin.py
+++ b/
sfa/client/sfaadmin.py
@@
-286,7
+286,8
@@
class AggregateCommands(Commands):
or the resources allocated by a slice"""
options = {'geni_rspec_version': rspec_version}
if xrn:
- options['geni_slice_urn'] = xrn
+ options['geni_slice_urn'] = Xrn(xrn, 'slice').get_urn()
+ print options
resources = self.api.manager.ListResources(self.api, [], options)
print resources