git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Techs can view slices that are running on nodes at their site
[plcapi.git]
/
PLC
/
Methods
/
GetSliceTicket.py
diff --git
a/PLC/Methods/GetSliceTicket.py
b/PLC/Methods/GetSliceTicket.py
index
f985c28
..
fecf9ac
100644
(file)
--- a/
PLC/Methods/GetSliceTicket.py
+++ b/
PLC/Methods/GetSliceTicket.py
@@
-1,4
+1,5
@@
# $Id$
# $Id$
+# $URL$
import time
import time
@@
-56,13
+57,13
@@
class GetSliceTicket(Method):
# Tickets are the canonicalized XML-RPC methodResponse
# representation of a partial GetSlivers() response, i.e.,
# Tickets are the canonicalized XML-RPC methodResponse
# representation of a partial GetSlivers() response, i.e.,
-
- initscripts = InitScripts(self.api, {'enabled': True})
+
+
initscripts = InitScripts(self.api, {'enabled': True})
data = {
'timestamp': int(time.time()),
data = {
'timestamp': int(time.time()),
- 'initscripts': initscripts,
- 'slivers': get_slivers(self.api, [slice['slice_id']]),
+
'initscripts': initscripts,
+ 'slivers': get_slivers(self.api,
self.caller, auth,
[slice['slice_id']]),
}
# Sign ticket
}
# Sign ticket