smsearcy / mesh-info

Collect and view information about an AREDN mesh network.
GNU General Public License v3.0
5 stars 2 forks source link

Simplify topology (OLSR) fetch #103

Closed smsearcy closed 1 year ago

smsearcy commented 1 year ago

The loading of the OLSR data is needlessly complicated because I tried to make if fully asynchronous with the following polling. I don't think there will be much of a performance hit if I just build the topology information first.

This might be a good time to start being more generic with the topology info (instead of OLSR centric). For example considering that we might want to use http://localnode/cgi-bin/api?mesh=topology in the future.

So a more generic Topology named tuple with deques of nodes and links.