aagrawal493
aagrawal493
Thanks for pointing it , i see that i was getting error in addTargetHandler , as i had given Target id same in gnmi_collector configuration file as well as tunnel...
Yes i already checked that , qr := c.config.Request[target.Request] before this line i printed target.Request which is printing as "/oc-if:interfaces/oc-if:interface[name=GIGECLIENTCTP.2-*]" but once this line is executed, i printed qr.String() that...
thanks for information, after providing named request which is present in gnmi_collector config file, i see that Request is sent toward tunnel_client side, but immediately connection is getting closed ,...
I looked further and i see that at grpcserver side, i am getting following message in debug logs "grpc-message: USERNAME/PASSWORD Field(s) are Not Specified" For tunnel request as command line...
yes i am able to test grpc-tunnel and gnmi-collector seperately, Yes grpc server requires username/password authentication. i have given named request (which is present in configuration file) as tunnel_request option,...
i tried it adding in cfg file , which is read by gnmi_collector, in following format. target: < key: "TARGET2" value: < addresses: "x.y.z.w:50052" request: "interfaces" credentials: < username: "username"...