Package ClusterShell :: Module NodeUtils :: Class FileGroupSource
[hide private]
[frames] | no frames]

Class FileGroupSource

source code


File-based Group Source using loader for file format and cache expiry.

Instance Methods [hide private]
 
__init__(self, name, loader)
Initialize FileGroupSource object.
source code

Inherited from GroupSource: resolv_all, resolv_list, resolv_map, resolv_reverse

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  groups
groups property (dict)
  allgroups
allgroups property (string)

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, loader)
(Constructor)

source code 

Initialize FileGroupSource object.

:param name: group source name (eg. key name of yaml root dict) :param loader: associated content loader (eg. YAMLGroupLoader object)

Overrides: object.__init__

Property Details [hide private]

groups

groups property (dict)

Get Method:
unreachable.groups(self) - groups property (dict)

allgroups

allgroups property (string)

Get Method:
unreachable.allgroups(self) - allgroups property (string)