Skip to content
Snippets Groups Projects

"Overhaul Architecture"

Merged Ghost User requested to merge 67-overhaul-architecture into develop
2 files
+ 6
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
3
@@ -29,16 +29,16 @@ func main() {
transport := &nucleus.Gnmi{SetNode: sbi.SetNode()}
cfg := &gnmi.Config{
Addr: "localhost:9339",
Addr: "portainer.danet.fbi.h-da.de:6030",
Username: "admin",
Password: "arista",
Encoding: gpb.Encoding_PROTO,
Encoding: gpb.Encoding_JSON_IETF,
}
transport.SetConfig(cfg)
device.Transport = transport
p := []string{"/interfaces/interface[name=en0]/state/name"}
p := []string{"/interfaces/interface[name=*]/state/name"}
errors := 0
for _, path := range p {
err := pnd.RequestAll(path)
Loading