request cached advertisement that otherwise doesn't get served
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 16 Dec 2011 15:07:16 +0000 (16:07 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 16 Dec 2011 15:07:16 +0000 (16:07 +0100)
sfa/client/sfi.py

index 35165f6..5f7aefe 100644 (file)
@@ -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