git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
173a762
)
SFI client passing -r parameter even if the rspec_type is not known by sfi.py client
author
Loic Baron
<loic.baron@lip6.fr>
Mon, 28 Sep 2015 14:00:20 +0000
(16:00 +0200)
committer
Loic Baron
<loic.baron@lip6.fr>
Mon, 28 Sep 2015 14:00:20 +0000
(16:00 +0200)
sfa/client/sfi.py
patch
|
blob
|
history
diff --git
a/sfa/client/sfi.py
b/sfa/client/sfi.py
index
6f5f64d
..
b606d97
100644
(file)
--- a/
sfa/client/sfi.py
+++ b/
sfa/client/sfi.py
@@
-1152,9
+1152,10
@@
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:
# 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'
}
+ api_options['geni_rspec_version'] = {'type':
options.rspec_version
}
else:
api_options['geni_rspec_version'] = {'type': 'geni', 'version': '3'}
else:
api_options['geni_rspec_version'] = {'type': 'geni', 'version': '3'}
+
list_resources = server.ListResources (creds, api_options)
value = ReturnValue.get_value(list_resources)
if self.options.raw:
list_resources = server.ListResources (creds, api_options)
value = ReturnValue.get_value(list_resources)
if self.options.raw: