Registry

Helper for /Registry section

DIRAC.ConfigurationSystem.Client.Helpers.Registry.findDefaultGroupForDN(dn)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.findDefaultGroupForUser(userName)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getAllGroups()
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getAllUsers()
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getBannedIPs()
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getDNForHost(host)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getDNForUsername(username)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getDNsInGroup(groupName)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getDNsInVO(vo)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getDefaultUserGroup()
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getDefaultVOMSAttribute()
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getDefaultVOMSVO()
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getGroupOption(groupName, optName, defaultValue='')
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getGroupsForDN(dn)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getGroupsForUser(username)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getGroupsForVO(vo)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getGroupsWithProperty(propName)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getGroupsWithVOMSAttribute(vomsAttr)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getHostOption(hostName, optName, defaultValue='')
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getHostnameForDN(dn)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getHosts()
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getPropertiesForEntity(group, name='', dn='', defaultValue=None)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getPropertiesForGroup(groupName, defaultValue=None)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getPropertiesForHost(hostName, defaultValue=None)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getUserOption(userName, optName, defaultValue='')
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getUsernameForDN(dn, usersList=False)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getUsersInGroup(groupName, defaultValue=None)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getUsersInVO(vo, defaultValue=None)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getVOForGroup(group)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getVOMSAttributeForGroup(group)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getVOMSRoleGroupMapping(vo='')

Get mapping of the VOMS role to the DIRAC group

Parameters:vo (str) – perform the operation for the given VO
Returns:standard structure with two mappings: VOMS-DIRAC { <VOMS_Role>: [<DIRAC_Group>] } and DIRAC-VOMS { <DIRAC_Group>: <VOMS_Role> } and a list of DIRAC groups without mapping
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getVOMSServerInfo(requestedVO='')

Get information on VOMS servers for the given VO or for all of them

DIRAC.ConfigurationSystem.Client.Helpers.Registry.getVOMSVOForGroup(group)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getVOOption(voName, optName, defaultValue='')
DIRAC.ConfigurationSystem.Client.Helpers.Registry.getVOs()

Get all the configured VOs

DIRAC.ConfigurationSystem.Client.Helpers.Registry.groupHasProperties(groupName, propList)
DIRAC.ConfigurationSystem.Client.Helpers.Registry.hostHasProperties(hostName, propList)