Hi,
> What is the best way to determine the "goodness" of a nodes
> connection? with batman and
> olsr you can get a number expressing this. I use it in a script to
> set the bullet leds to a pattern that lets me see instantly how good a
> connection each node has. Is there something I can get to with
> read_handler?
Handlers are described here:
http://www.wing-project.org/software:notebook
For example if you want to list the routes known by the node, you can use:
read_handler lt.routes
Likewise for the list of known peers:
read_handler lt.hosts
I'm not sure what you mean with "goodness" of a node connection. You
could use
as input the metric to the node's best gateway. You can get the best
gateway with:
read_handler wr/set_gateway.gateway
while the metric to each of the known gateways are given by:
read_handler wr/gw.gateway_stats
Let me know if this makes sense to you.
R.
_______________________________________________
Wing mailing list
Wing@create-net-ml.org
http://diana.create-net-ml.org/cgi-bin/mailman/listinfo/wing
No comments:
Post a Comment