From 24b8f37d9edcd59229a5a58ff36d36c5807ae937 Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Thu, 9 Jul 2009 13:14:24 +0000 Subject: [PATCH] Unless person account is enabled, the GetSlivers does not return the user key to the node --- sfa/plc/slices.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sfa/plc/slices.py b/sfa/plc/slices.py index bb41d78d..20d88a45 100644 --- a/sfa/plc/slices.py +++ b/sfa/plc/slices.py @@ -186,7 +186,8 @@ class Slices(SimpleStorage): # Create the person record if not persons: - self.api.plshell.AddPerson(self.api.plauth, person_dict) + person_id=self.api.plshell.AddPerson(self.api.plauth, person_dict) + self.api.plshell.UpdatePerson(self.api.plauth, person_id, {'enabled' : True}) key_ids = [] else: key_ids = persons[0]['key_ids'] -- 2.43.0