Add location grouping with cola layout
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user