add mdns hostname discovery and artnet universe tracking

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-22 23:59:32 -08:00
parent 7bced7b350
commit 536c2d3dc9
7 changed files with 570 additions and 16 deletions

View File

@@ -12,12 +12,16 @@ func main() {
noLLDP := flag.Bool("no-lldp", false, "disable LLDP discovery")
noSNMP := flag.Bool("no-snmp", false, "disable SNMP discovery")
noIGMP := flag.Bool("no-igmp", false, "disable IGMP querier")
noMDNS := flag.Bool("no-mdns", false, "disable mDNS discovery")
noArtNet := flag.Bool("no-artnet", false, "disable Art-Net discovery")
logEvents := flag.Bool("log-events", false, "log node events")
logNodes := flag.Bool("log-nodes", false, "log full node details on changes")
debugARP := flag.Bool("debug-arp", false, "debug ARP discovery")
debugLLDP := flag.Bool("debug-lldp", false, "debug LLDP discovery")
debugSNMP := flag.Bool("debug-snmp", false, "debug SNMP discovery")
debugIGMP := flag.Bool("debug-igmp", false, "debug IGMP querier")
debugMDNS := flag.Bool("debug-mdns", false, "debug mDNS discovery")
debugArtNet := flag.Bool("debug-artnet", false, "debug Art-Net discovery")
flag.Parse()
t := tendrils.New()
@@ -26,11 +30,15 @@ func main() {
t.DisableLLDP = *noLLDP
t.DisableSNMP = *noSNMP
t.DisableIGMP = *noIGMP
t.DisableMDNS = *noMDNS
t.DisableArtNet = *noArtNet
t.LogEvents = *logEvents
t.LogNodes = *logNodes
t.DebugARP = *debugARP
t.DebugLLDP = *debugLLDP
t.DebugSNMP = *debugSNMP
t.DebugIGMP = *debugIGMP
t.DebugMDNS = *debugMDNS
t.DebugArtNet = *debugArtNet
t.Run()
}