Grid
The Grid module contains several utilities for grid operations
- DIRAC.Core.Utilities.Grid.ldapsearchBDII(filt=None, attr=None, host=None, base=None, selectionString='Glue')
Python wrapper for ldapserch at bdii.
- Parameters:
filt – Filter used to search ldap, default = ‘’, means select all
attr – Attributes returned by ldapsearch, default = ‘*’, means return all
host – Host used for ldapsearch, default = ‘cclcgtopbdii01.in2p3.fr:2170’, can be changed by $LCG_GFAL_INFOSYS
- Returns:
standard DIRAC answer with Value equals to list of ldapsearch responses
Each element of list is dictionary with keys:
‘dn’: Distinguished name of ldapsearch response ‘objectClass’: List of classes in response ‘attr’: Dictionary of attributes