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

Module Topology

source code

ClusterShell topology module

This module contains the network topology parser and its related classes. These classes are used to build a topology tree of nodegroups according to the configuration file.

This file must be written using the following syntax:

# for now only [routes] tree is taken in account: [routes] admin: first_level_gateways[0-10] first_level_gateways[0-10]: second_level_gateways[0-100] second_level_gateways[0-100]: nodes[0-2000] ...

Classes [hide private]
  TopologyError
topology parser error to report invalid configurations or parsing errors
  TopologyNodeGroup
Base element for in-memory representation of the propagation tree.
  TopologyTree
represent a simplified network topology as a tree of machines to use to connect to other ones
  TopologyRoute
A single route between two nodesets
  TopologyRoutingTable
This class provides a convenient way to store and manage topology routes
  TopologyGraph
represent a complete network topology by storing every "can reach" relations between nodes.
  TopologyParser
This class offers a way to interpret network topologies supplied under the form :
Variables [hide private]
  __package__ = 'ClusterShell'