From 200cb20896e5b7fc2fa1e3b0f48ce71faad7608d Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 24 Sep 2012 11:21:38 +0200 Subject: [PATCH] sfi calls Resolve (details=False) before issuing CreateSliver this seems to work now again, tested in dual-mode SFA/Plc --- sfa/client/sfi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sfa/client/sfi.py b/sfa/client/sfi.py index bcfaf8bf..b0f23eb3 100644 --- a/sfa/client/sfi.py +++ b/sfa/client/sfi.py @@ -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'] -- 2.43.0