--
You received this message because you are subscribed to the Google Groups "sonicproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonicproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonicproject/ee64520e-4891-437d-9001-29e826e8970dn%40googlegroups.com.
./gnmi_get -xpath /openconfig-interfaces -target_addr 10.x.x.x:8080 -target_name hostname -alsologtostderr -insecure true -pretty -xpath_target openconfig
== GetRequest:
path: <
elem: <
name: "openconfig-lldp"
>
>
encoding: JSON_IETF
F0317 15:42:09.237367 92919 gnmi_get.go:130] Get failed: rpc error: code = Unimplemented desc = No target specified in prefix
./gnmi_get -xpath /openconfig-lldp:lldp/interfaces -target_addr 10.x.x.x:8080 -target_name hostname -alsologtostderr -insecure true -pretty -xpath_target openconfig
Try:
./gnmi_get -xpath /openconfig-interfaces:interfaces -target_addr 127.0.0.1:8080 -target_name hostname -alsologtostderr -insecure true -pretty -xpath_target openconfigjson_ietf_val: "{\"openconfig-interfaces:interfaces\":{\"interface\":[{\"config\":{\"description\":\"\",\"enabled\":false,\"mtu\":9100,\"name\":\"Ethernet0\",\"type\":\"iana-if-type:ethernetCsmacd\"},\"name\":\"Ethernet0\",\"openconfig-if-ethernet:ethernet\":{\"config\":{\"openconfig-if-ethernet-ext2:port-fec\":\"openconfig-platform-types:FEC_DISABLED\",\"port-speed\":\"openconfig-if-ethernet:SPEED_100GB\"},\"state\":{\"counters\":{\"in-fragment-frames\":\"0\",\"in-jabber-frames\":\"0\",\"in-oversize-frames\":\"0\",\"in-undersize-frames\":\"0\",\"openconfig-if-ethernet-ext2:eth-in-distribution\":{\"in-frames-1024-1518-octets\":\"0\",\"in-frames-128-255-octets\":\"0\",\"in-frames-1519-2047-octets\":\"0\",\"in-frames
...
To view this discussion on the web visit https://groups.google.com/d/msgid/sonicproject/0a9114c1-6bd6-4fe9-83fb-c5b718fea61bn%40googlegroups.com.