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

Class TopologyRoute

source code


A single route between two nodesets

Instance Methods [hide private]
 
__init__(self, src_ns, dst_ns)
both src_ns and dst_ns are expected to be non-empty NodeSet instances
source code
 
dest(self, nodeset=None)
get the route's destination.
source code
 
__str__(self)
printable representation
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, src_ns, dst_ns)
(Constructor)

source code 

both src_ns and dst_ns are expected to be non-empty NodeSet instances

Overrides: object.__init__

dest(self, nodeset=None)

source code 

get the route's destination. The optionnal argument serves for convenience and provides a way to use the method for a subset of the whole source nodeset

__str__(self)
(Informal representation operator)

source code 

printable representation

Overrides: object.__str__