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

Type Rnode

object --+
         |
        Rnode


Rnode is a router node in the tree map.
Method Summary
  __init__(self, ip, devname, status, parent)
  __str__(self)
  addDevice(self, device, unused_cycle)
Add a device to the ping tree.
  addNet(self, netip, enterip)
  addRouter(self, ip, devname, status)
  checkpath(self)
Walk back up the path to the ping server looking for failed routers.
  getNet(self, netname)
Return the net node for net name
  hasDev(self, devname)
  hasNet(self, netname)
  pjgen(self)
  pprint(self, nodes)
  pprint_gen(self, root)
  routerpj(self)
Return the pingJob of our parent router.
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Method Details

addDevice(self, device, unused_cycle=60)

Add a device to the ping tree.

checkpath(self)

Walk back up the path to the ping server looking for failed routers.

getNet(self, netname)

Return the net node for net name

routerpj(self)

Return the pingJob of our parent router.

Generated by Epydoc 2.1 on Thu Aug 16 09:55:13 2007 http://epydoc.sf.net