From f53cc21f35525412c9d1ef4d239398f6df4ba0d0 Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 12 Feb 2005 06:25:35 +0000 Subject: [PATCH] A customer mentioned that we didn't have a get_hostaddr method for the LDAP backend. LDAP is on its way out of favour, so I'm hardly shocked. --- lustre/utils/Lustre/lustredb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/utils/Lustre/lustredb.py b/lustre/utils/Lustre/lustredb.py index fb578fa..5938671 100644 --- a/lustre/utils/Lustre/lustredb.py +++ b/lustre/utils/Lustre/lustredb.py @@ -411,6 +411,9 @@ class LustreDB_LDAP(LustreDB): def get_route_tbl(self): return [] + def get_hostaddr(self): + return self._get_refs('hostaddr') + def _update_active(self, tgtuuid, newuuid): """Return list of uuids matching the filter.""" import ldap -- 1.8.3.1