From 0a1ec382afaade5edf87298cba5431b864b21a5d Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Sat, 31 Oct 2009 21:29:49 +0000 Subject: [PATCH] list of pi in in key PI; SM uses the authority credential while contacting AM for slice creation --- sfa/trust/auth.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sfa/trust/auth.py b/sfa/trust/auth.py index 6faa397b..ebee5896 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -225,10 +225,10 @@ class Auth: rl.add("info") elif type == "authority": - pis = record.get("pi", []) + pis = record.get("PI", []) operators = record.get("operator", []) - if (caller_hrn == config.SFA_INTERFACE_HRN): - rl.add("authority") + if (caller_hrn == self.config.SFA_INTERFACE_HRN): + rl.add("authority,sa,ma",) if (caller_hrn in pis): rl.add("authority,sa") if (caller_hrn in operators): -- 2.43.0