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:
65fc63a
)
slicemgr also supports GENI AM API v2
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Mon, 28 Nov 2011 19:24:16 +0000
(14:24 -0500)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Mon, 28 Nov 2011 19:24:16 +0000
(14:24 -0500)
sfa/server/sfaapi.py
patch
|
blob
|
history
diff --git
a/sfa/server/sfaapi.py
b/sfa/server/sfaapi.py
index
faf62af
..
9afe9b4
100644
(file)
--- a/
sfa/server/sfaapi.py
+++ b/
sfa/server/sfaapi.py
@@
-246,7
+246,7
@@
class SfaApi (XmlrpcApi):
Converts the specified result into a standard GENI compliant
response
"""
- if self.interface.lower()
== 'aggregate'
:
+ if self.interface.lower()
in ['aggregate', 'slicemgr']
:
if hasattr(self.config, 'SFA_AGGREGATE_API_VERSION') and \
self.config.SFA_AGGREGATE_API_VERSION == 2:
result = self.prepare_response_v2_am(result)