Home | Trees | Indices | Help |
|
---|
|
performs routes resolving operations within a propagation tree. This object provides a next_hop method, that will look for the best directly connected node to use to forward a message to a remote node.
Upon instanciation, the router will parse the topology tree to generate its routing table.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
The router relies on a routing table. The keys are the destination nodes and the values are the next hop gateways to use to reach these nodes. |
dispatch nodes from a target nodeset to the directly connected gateways. The method acts as an iterator, returning a gateway and the associated hosts. It should provide a rather good load balancing between the gateways. |
perform the next hop resolution. If several hops are available, then, the one with the least number of current jobs will be returned |
mark node dst as unreachable and don't advertise routes through it anymore. The cache will be updated only when necessary to avoid performing expensive traversals. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Dec 21 14:07:53 2016 | http://epydoc.sourceforge.net |