| Trees | Index | Help |
|
|---|
| Package ZenStatus :: Module pingtree |
|
| Classes | |
|---|---|
Net |
Net object represents a network in the tree map. |
Rnode |
Rnode is a router node in the tree map. |
| Function Summary | |
|---|---|
Returns tree where tree that maps the network from root's perspective and nmap is a dict that points network ids to the network objects in the tree. | |
getStatus(device)
| |
initglobals(devname)
| |
Return a mapping object with network ip as key and distance as value. | |
| Variable Summary | |
|---|---|
Logger |
log = <logging.Logger instance at 0x365c1c0>
|
| Function Details |
|---|
buildTree(root, rootnode=None, devs=None, memo=None)Returns tree where tree that maps the network from root's perspective and nmap is a dict that points network ids to the network objects in the tree. nmap is used to add devices to be pinged to the tree. |
netDistMap(root, nmap=None, distance=0, devs=None, memo=None)Return a mapping object with network ip as key and distance as value. This is a recursive method that does a breadth first search of the route space. It is called with no parameters (they are used by the recursion) |
| Variable Details |
|---|
log
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:10 2007 | http://epydoc.sf.net |