1 from sfa.util.faults import *
2 from sfa.util.method import Method
3 from sfa.util.parameter import Parameter, Mixed
4 from sfa.methods.GetGids import GetGids
6 class get_gids(GetGids):
8 Deprecated. Use GetGids instead.
10 Get a list of record information (hrn, gid and type) for
13 @param cred credential string
14 @param cert certificate string
18 interfaces = ['registry']
21 Parameter(str, "Certificate string"),
22 Mixed(Parameter(str, "Human readable name (hrn or xrn)"),
23 Parameter(type([str]), "List of Human readable names (hrn or xrn)"))
26 returns = [Parameter(dict, "Dictionary of gids keyed on hrn")]
28 def call(self, cred, xrns):
30 return GetGids.call(self, xrns, cred)