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

Module NodeUtils

source code

Cluster nodes utility module

The NodeUtils module is a ClusterShell helper module that provides supplementary services to manage nodes in a cluster. It is primarily designed to enhance the NodeSet module providing some binding support to external node groups sources in separate namespaces (example of group sources are: files, jobs scheduler, custom scripts, etc.).

Classes [hide private]
  GroupSourceError
Base GroupSource error exception
  GroupSourceNoUpcall
Raised when upcall or method is not available
  GroupSourceQueryFailed
Raised when a query failed (eg.
  GroupResolverError
Base GroupResolver error
  GroupResolverSourceError
Raised when upcall is not available
  GroupResolverIllegalCharError
Raised when an illegal group character is encountered
  GroupResolverConfigError
Raised when a configuration error is encountered
  GroupSource
ClusterShell Group Source class.
  FileGroupSource
File-based Group Source using loader for file format and cache expiry.
  UpcallGroupSource
GroupSource class managing external calls for nodegroup support.
  YAMLGroupLoader
YAML group file loader/reloader.
  GroupResolver
Base class GroupResolver that aims to provide node/group resolution from multiple GroupSources.
  GroupResolverConfig
GroupResolver class that is able to automatically setup its GroupSource's from a configuration file.
Variables [hide private]
  _DEFAULT_CACHE_TIME = 3600
  __package__ = 'ClusterShell'