From: Mohamed Larabi Date: Thu, 3 Oct 2013 13:45:35 +0000 (+0200) Subject: fix version number for both creds and rspec X-Git-Tag: sfa-3.0-2~16 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=bfa14d66c2ae40002e988b7ca908916c43d30271 fix version number for both creds and rspec --- diff --git a/sfa/client/sfi.py b/sfa/client/sfi.py index 47885498..bf0e0c10 100644 --- a/sfa/client/sfi.py +++ b/sfa/client/sfi.py @@ -667,7 +667,7 @@ use this if you mean an authority instead""") self.private_key = client_bootstrap.private_key() self.my_credential_string = client_bootstrap.my_credential_string () self.my_credential = {'geni_type': 'geni_sfa', - 'geni_version': '3.0', + 'geni_version': '3', 'geni_value': self.my_credential_string} self.my_gid = client_bootstrap.my_gid () self.client_bootstrap = client_bootstrap @@ -1085,9 +1085,9 @@ use this if you mean an authority instead""") # just request the version the client wants api_options['geni_rspec_version'] = version_manager.get_version(options.rspec_version).to_dict() else: - api_options['geni_rspec_version'] = {'type': 'geni', 'version': '3.0'} + api_options['geni_rspec_version'] = {'type': 'geni', 'version': '3'} else: - api_options['geni_rspec_version'] = {'type': 'geni', 'version': '3.0'} + api_options['geni_rspec_version'] = {'type': 'geni', 'version': '3'} result = server.ListResources (creds, api_options) value = ReturnValue.get_value(result) if self.options.raw: