You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunetly, when I send a request from gnmi_cli, I get an empty response:
mzadmin@mzadmin-VirtualBox:$ gnmi_cli -a localhost:8080 -q '*' -logtostderr -insecure -qt s
{}
mzadmin@mzadmin-VirtualBox:$
And an error message appears on the server side:
E0921 14:38:48.043118 9483 client.go:226] Client gnmi_sim error: end of updates
The thing is, I don't know how to set up properly the server, using the config file.
In particular, I don't know how I specify which sensor paths are to be made available.
And how I can assign values to the sensors?
Is it possible to have the values being generated randomly and dynamically so that two consecutive messages have different values?
I have seen the gen_config tool that may help in some way.
But I don't know how to use that either.
Any help is appreciated.
Thank you
The text was updated successfully, but these errors were encountered:
Hi,
I would like to use gnmi_cli to connect to the fake_server simulator (https://github.com/openconfig/gnmi/tree/master/testing/fake/gnmi/cmd/fake_server).
I started the (fake) server and it seems ok:
I0921 14:37:47.773644 9483 server.go:115] Starting RPC server on address: localhost:8080
Unfortunetly, when I send a request from gnmi_cli, I get an empty response:
mzadmin@mzadmin-VirtualBox:
$ gnmi_cli -a localhost:8080 -q '*' -logtostderr -insecure -qt s${}
mzadmin@mzadmin-VirtualBox:
And an error message appears on the server side:
E0921 14:38:48.043118 9483 client.go:226] Client gnmi_sim error: end of updates
The thing is, I don't know how to set up properly the server, using the config file.
In particular, I don't know how I specify which sensor paths are to be made available.
And how I can assign values to the sensors?
Is it possible to have the values being generated randomly and dynamically so that two consecutive messages have different values?
I have seen the gen_config tool that may help in some way.
But I don't know how to use that either.
Any help is appreciated.
Thank you
The text was updated successfully, but these errors were encountered: