X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fclient%2Fsfi.py;fp=sfa%2Fclient%2Fsfi.py;h=8fe234904adfd6439dd8fab0007498e0366840fd;hb=27091c5dbe38674fee5e91d153315449027d3061;hp=84c77d6806529a2ca980761d7040ade615f2fb4b;hpb=3244a98433c769a9c8df52f5a493edc157372dc2;p=sfa.git diff --git a/sfa/client/sfi.py b/sfa/client/sfi.py index 84c77d68..8fe23490 100755 --- a/sfa/client/sfi.py +++ b/sfa/client/sfi.py @@ -841,8 +841,10 @@ class Sfi: delegated_cred = self.delegate_cred(cred, get_authority(self.authority)) creds.append(delegated_cred) if opts.rspec_version: - call_options['rspec_version'] = opts.rspec_version + #call_options['rspec_version'] = opts.rspec_version + call_options['rspec_version'] = {'type': opts.rspec_version, 'version': "2"} result = server.ListResources(creds, call_options,unique_call_id()) + #result = server.ListResources(creds, call_options) format = opts.format if opts.file is None: display_rspec(result, format) @@ -875,8 +877,9 @@ class Sfi: version = server.GetVersion() if 'sfa' not in version: # need to pass along user keys if this request is going to a ProtoGENI aggregate - # ProtoGeni Aggregaes will only install the keys of the user that is issuing the - # request. all slice keys + # ProtoGeni Aggregates will only install the keys of the user that is issuing the + # request. So we will only pass in one user that contains the keys for all + # users of the slice user = {'urn': user_cred.get_gid_caller().get_urn(), 'keys': []} slice_record = self.registry.Resolve(slice_urn, creds)