From 4a9c19883aedf16d70b4fa4634139596e8c58ada Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 21 Oct 2011 12:29:17 -0400 Subject: [PATCH] added interface_name() method --- sfa/util/plxrn.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sfa/util/plxrn.py b/sfa/util/plxrn.py index 5976f3ec..f292823d 100644 --- a/sfa/util/plxrn.py +++ b/sfa/util/plxrn.py @@ -67,6 +67,10 @@ class PlXrn (Xrn): self._normalize() return self.authority[-1] + def interface_name(self): + self._normalize() + return self.leaf + #def hrn_to_pl_login_base(hrn): def pl_login_base (self): self._normalize() -- 2.45.2