From 4374db469737739359e48b0d55b0d7ad6cae50aa Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 16 Dec 2011 16:07:16 +0100 Subject: [PATCH] request cached advertisement that otherwise doesn't get served --- sfa/client/sfi.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.0