Open tsmjay opened 3 months ago
try?
gnmi_get -notls -username admin -password YourPaSsWoRd -xpath /openconfig-interfaces:interfaces/interface[name=Ethernet0]/config -target_addr 127.0.0.1:8080 -xpath_target OC-YANG
@fishingfly root@sonic:/# gnmi_get -notls -username admin -password YourPaSsWoRd -xpath /openconfig-interfaces:interfaces/interface[name=Ethernet0]/config -target_addr 127.0.0.1:8080 -xpath_target OC-YANG F1107 08:22:16.200512 1098 gnmi_get.go:86] Dialing to "127.0.0.1:8080" failed: grpc: the credentials require transport level security (use grpc.WithTransportCredentials() to set)
Hi,
If I take any of the recent builds of SONiC, run them in GNS3, get a bash shell inside the 'docker-sonic-gnmi' container, and run the example gNMI 'get' command, I get the following:
I have tested the master, 202405, 202311 and 202305 branches.
Am I missing something?
Thanks.