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.
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.