openconfig / grpctunnel

A TCP-over-gRPC Tunnel
Apache License 2.0
81 stars 24 forks source link

Can a tunnel-server initiate new session with the already registered target? #80

Open ruchakulkarni11 opened 1 year ago

ruchakulkarni11 commented 1 year ago

I am using grpctunnel to implement tunnel with gnmi-server and gnmic.

My target is registering successfully and session is created by tunnel-server and rpc is invoked.

Since my target is already registered, Can I have another separate tunnel session with the same tunnel-server where my target is already registered? Can I initiate this session from the tunnel-server?

I want to check on tunnel-server if the incoming register target request is already registered and so now tunnel-server should create a new session for the existing target?

Appreciate any inputs!