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:
72cb481
)
call api.get_cached_server_version() insead of _get_server_version() in CreateSliver
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 6 Jul 2011 17:28:29 +0000
(13:28 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 6 Jul 2011 17:28:29 +0000
(13:28 -0400)
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
0ed8f48
..
2cbc823
100644
(file)
--- a/
sfa/managers/slice_manager_pl.py
+++ b/
sfa/managers/slice_manager_pl.py
@@
-158,7
+158,7
@@
def CreateSliver(api, xrn, creds, rspec_str, users, call_id):
try:
# Need to call GetVersion at an aggregate to determine the supported
# rspec type/format beofre calling CreateSliver at an Aggregate.
- server_version =
_get_server_version(api,
server)
+ server_version =
api.get_cached_server_version(
server)
if 'sfa' not in aggregate_version and 'geni_api' in aggregate_version:
# sfa aggregtes support both sfa and pg rspecs, no need to convert
# if aggregate supports sfa rspecs. otherwise convert to pg rspec