Skip to content
Snippets Groups Projects

"Overhaul Architecture"

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