git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get_ticket has been replaced by GetTicket
[sfa.git]
/
sfa
/
managers
/
slice_manager_pl.py
diff --git
a/sfa/managers/slice_manager_pl.py
b/sfa/managers/slice_manager_pl.py
index
88e2f5a
..
1d2f695
100644
(file)
--- a/
sfa/managers/slice_manager_pl.py
+++ b/
sfa/managers/slice_manager_pl.py
@@
-85,7
+85,7
@@
def renew_slice(api, xrn, creds, expiration_time):
threads.get_results()
return 1
threads.get_results()
return 1
-def get_ticket(api, xrn,
rspec, origin_hrn=None
):
+def get_ticket(api, xrn,
creds, rspec, users
):
slice_hrn, type = urn_to_hrn(xrn)
# get the netspecs contained within the clients rspec
aggregate_rspecs = {}
slice_hrn, type = urn_to_hrn(xrn)
# get the netspecs contained within the clients rspec
aggregate_rspecs = {}
@@
-114,7
+114,8
@@
def get_ticket(api, xrn, rspec, origin_hrn=None):
break
if server is None:
continue
break
if server is None:
continue
- threads.run(server.get_ticket, credential, xrn, aggregate_rspec, origin_hrn)
+ threads.run(server.GetTicket, xrn, credential, aggregate_rspec, users)
+
results = threads.get_results()
# gather information from each ticket
results = threads.get_results()
# gather information from each ticket