Package ZenStatus :: Module pingtree :: Class Rnode
[hide private]
[frames] | no frames]

Class Rnode

source code

object --+
         |
        Rnode

Rnode is a router node in the tree map.

Instance Methods [hide private]
 
__init__(self, ip, devname, status, parent=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
checkpath(self)
Walk back up the path to the ping server looking for failed routers.
source code
 
routerpj(self)
Return the pingJob of our parent router.
source code
 
hasDev(self, devname) source code
 
hasNet(self, netname) source code
 
addRouter(self, ip, devname, status) source code
 
addNet(self, netip, enterip) source code
 
getNet(self, netname)
Return the net node for net name
source code
 
addDevice(self, device, unused_cycle=60)
Add a device to the ping tree.
source code
 
pjgen(self) source code
 
pprint(self, nodes=None) source code
 
pprint_gen(self, root=None) source code
 
__str__(self)
str(x)
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, ip, devname, status, parent=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)