Add structured node config with names/macs/ips and avoid flag

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-31 09:52:51 -08:00
parent 3b8005a28c
commit bb22e16460
8 changed files with 276 additions and 135 deletions

View File

@@ -140,6 +140,10 @@ func (pm *PingManager) Ping(ipStr string, timeout time.Duration) bool {
func (t *Tendrils) pingNode(node *Node) {
t.nodes.mu.RLock()
if node.Avoid {
t.nodes.mu.RUnlock()
return
}
var ips []string
nodeName := node.DisplayName()
nodeID := node.ID