X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetSliceTicket.py;h=90c0f632c441118557899c9d743bdd9f9ac81b64;hb=6c80c1bd16f43fd1981a72e9e717cc6e552cff86;hp=c56f3280bd7f94b6fc15f2c0a05aa32d8590fafc;hpb=f5cd72e35593c96b9996ab4e49674cccc7525c48;p=plcapi.git diff --git a/PLC/Methods/GetSliceTicket.py b/PLC/Methods/GetSliceTicket.py index c56f328..90c0f63 100644 --- a/PLC/Methods/GetSliceTicket.py +++ b/PLC/Methods/GetSliceTicket.py @@ -57,13 +57,13 @@ class GetSliceTicket(Method): # 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()), - 'initscripts': initscripts, - 'slivers': get_slivers(self.api, [slice['slice_id']]), + 'initscripts': initscripts, + 'slivers': get_slivers(self.api, auth, [slice['slice_id']]), } # Sign ticket