Skip to content
Snippets Groups Projects

"Overhaul Architecture"

Merged Ghost User requested to merge 67-overhaul-architecture into develop
3 files
+ 53
2
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 21
0
 
package main
 
 
import (
 
"code.fbi.h-da.de/cocsn/gosdn/nucleus/util"
 
"code.fbi.h-da.de/cocsn/yang-models/generated/arista"
 
log "github.com/sirupsen/logrus"
 
)
 
 
func main() {
 
log.SetLevel(log.DebugLevel)
 
schema, _ := arista.Schema()
 
paths := util.NewPaths()
 
paths.ParseSchema(schema, "device")
 
 
for _, v := range paths {
 
v.Print()
 
}
 
 
p := paths.StringBuilder()
 
log.Debug(p)
 
}
Loading