Add location grouping with cola layout

This commit is contained in:
Ian Gulliver
2026-01-24 15:04:42 -08:00
parent c662ff80f4
commit 8b50762c92
12 changed files with 241 additions and 10 deletions

View File

@@ -34,8 +34,10 @@ type Tendrils struct {
nodes *Nodes
artnet *ArtNetNodes
danteFlows *DanteFlows
config *Config
Interface string
ConfigFile string
DisableARP bool
DisableLLDP bool
DisableSNMP bool
@@ -83,6 +85,13 @@ func (t *Tendrils) Run() {
}
}()
cfg, err := LoadConfig(t.ConfigFile)
if err != nil {
log.Printf("[ERROR] failed to load config: %v", err)
} else {
t.config = cfg
}
t.populateLocalAddresses()
t.startHTTPServer()