sfi calls Resolve (details=False) before issuing CreateSliver
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 24 Sep 2012 09:21:38 +0000 (11:21 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 24 Sep 2012 09:21:38 +0000 (11:21 +0200)
this seems to work now again, tested in dual-mode SFA/Plc

sfa/client/sfi.py

index bcfaf8b..b0f23eb 100644 (file)
@@ -1154,7 +1154,8 @@ or with an slice hrn, shows currently provisioned resources
         # xxx Thierry 2012 sept. 21
         # contrary to what I was first thinking, calling Resolve with details=False does not yet work properly here
         # I am turning details=True on again on a - hopefully - temporary basis, just to get this whole thing to work again
-        slice_records = self.registry().Resolve(slice_urn, [self.my_credential_string], {'details':True})
+        slice_records = self.registry().Resolve(slice_urn, [self.my_credential_string])
+        # slice_records = self.registry().Resolve(slice_urn, [self.my_credential_string], {'details':True})
         if slice_records and 'reg-researchers' in slice_records[0] and slice_records[0]['reg-researchers']:
             slice_record = slice_records[0]
             user_hrns = slice_record['reg-researchers']