add mdns hostname discovery and artnet universe tracking
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user