class documentation

class GetentResolver(object):

View In Hierarchy

Resolves Ganeti uids and gids by name.

Method __init__ Initialize the resolver.
Method LookupGid Looks which Ganeti group belongs to this gid.
Method LookupGroup Looks which gid belongs to this name.
Method LookupUid Looks which Ganeti user belongs to this uid.
Method LookupUser Looks which uid belongs to this name.
Instance Variable admin_gid The resolved gid of the admin group
Instance Variable confd_gid The resolved gid of the confd group
Instance Variable confd_uid The resolved uid of the confd user
Instance Variable daemons_gid The resolved gid of the daemons group
Instance Variable luxid_gid The resolved gid of the luxid group
Instance Variable luxid_uid The resolved uid of the luxid user
Instance Variable masterd_gid The resolved gid of the masterd group
Instance Variable masterd_uid The resolved uid of the masterd user
Instance Variable metad_gid The resolved gid of the metad group
Instance Variable metad_uid The resolved uid of the metad user
Instance Variable mond_gid The resolved gid of the mond group
Instance Variable mond_uid The resolved uid of the mond user
Instance Variable noded_gid The resolved uid of the noded group
Instance Variable noded_uid The resolved uid of the noded user
Instance Variable rapi_gid The resolved gid of the rapi group
Instance Variable rapi_uid The resolved uid of the rapi user
Instance Variable wconfd_gid The resolved gid of the wconfd group
Instance Variable wconfd_uid The resolved uid of the wconfd user
Instance Variable _gid2group Undocumented
Instance Variable _group2gid Undocumented
Instance Variable _uid2user Undocumented
Instance Variable _user2uid Undocumented
def __init__(self, _getpwnam=pwd.getpwnam, _getgrnam=grp.getgrnam):

Initialize the resolver.

def LookupGid(self, gid):

Looks which Ganeti group belongs to this gid.

Parameters
gidThe gid to lookup @returns The group name associated with that gid
def LookupGroup(self, name):

Looks which gid belongs to this name.

Parameters
nameThe name to lookup @returns The gid associated with that group name
def LookupUid(self, uid):

Looks which Ganeti user belongs to this uid.

Parameters
uidThe uid to lookup @returns The user name associated with that uid
def LookupUser(self, name):

Looks which uid belongs to this name.

Parameters
nameThe name to lookup @returns The uid associated with that user name
admin_gid =

The resolved gid of the admin group

confd_gid =

The resolved gid of the confd group

confd_uid =

The resolved uid of the confd user

daemons_gid =

The resolved gid of the daemons group

luxid_gid =

The resolved gid of the luxid group

luxid_uid =

The resolved uid of the luxid user

masterd_gid =

The resolved gid of the masterd group

masterd_uid =

The resolved uid of the masterd user

metad_gid =

The resolved gid of the metad group

metad_uid =

The resolved uid of the metad user

mond_gid =

The resolved gid of the mond group

mond_uid =

The resolved uid of the mond user

noded_gid =

The resolved uid of the noded group

noded_uid =

The resolved uid of the noded user

rapi_gid =

The resolved gid of the rapi group

rapi_uid =

The resolved uid of the rapi user

wconfd_gid =

The resolved gid of the wconfd group

wconfd_uid =

The resolved uid of the wconfd user

_gid2group =

Undocumented

_group2gid =

Undocumented

_uid2user =

Undocumented

_user2uid =

Undocumented