Skip to content
Snippets Groups Projects
Commit be368991 authored by Malte Bauch's avatar Malte Bauch
Browse files

added GoStruct in Device creation in:

cmd/gnmi-telemetry/telemetry.go -> this is not working
cmd/gnmi/gnmi.go
parent 730bdec6
No related branches found
No related tags found
3 merge requests!97Resolve "PND handling via CLI and database",!91"Overhaul Architecture",!90Develop
......@@ -22,7 +22,8 @@ func main() {
RespChan: make(chan *gpb.SubscribeResponse),
}
device := nucleus.Device{
SBI: sbi,
GoStruct: sbi.Schema().Root,
SBI: sbi,
Config: nucleus.DeviceConfig{
Uuid: uuid.New(),
Address: "localhost:9339",
......
......@@ -17,7 +17,8 @@ func main() {
log.SetLevel(log.DebugLevel)
sbi := &nucleus.AristaOC{}
device := &nucleus.Device{
SBI: sbi,
GoStruct: sbi.Schema().Root,
SBI: sbi,
Config: nucleus.DeviceConfig{
Uuid: uuid.New(),
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment