From: Thierry Parmentelat Date: Fri, 16 Dec 2011 15:07:16 +0000 (+0100) Subject: request cached advertisement that otherwise doesn't get served X-Git-Tag: sfa-2.0-7~20 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4374db469737739359e48b0d55b0d7ad6cae50aa;p=sfa.git request cached advertisement that otherwise doesn't get served --- diff --git a/sfa/client/sfi.py b/sfa/client/sfi.py index 35165f62..5f7aefe5 100644 --- a/sfa/client/sfi.py +++ b/sfa/client/sfi.py @@ -839,6 +839,8 @@ or with an slice hrn, shows currently provisioned resources api_options['geni_rspec_version'] = {'type': 'geni', 'version': '3.0'} # always send call_id to v2 servers api_options ['call_id'] = unique_call_id() + # ask for cached value if available + api_options ['cached'] = True # the V2 form result = server.ListResources (creds, api_options) # V1