smsearcy / mesh-info

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

Support multiple IP addresses for collector #90

Open smsearcy opened 1 year ago

smsearcy commented 1 year ago

I've observed that when multiple AREDN devices are connected via DTD (without additional configuration) that the DHCP server can change, meaning that IP address to contact for OLSR information can change.

One way to handle that would be having an option to specify a multiple IP addresses. The collector will round robin the hosts, remembering the last good one, which it will use until there is an error. Whenever an error occurs, it will try the next IP address.