TUN-6142: Add tunnel details support to RPC

This commit adds the tunnel details to RPC register connection response
so we can have access to some of the details associacted to the tunnel
that only the edge knows.

Currently this is limited to knowing if the tunnel is remotely managed
or not. In the future we could extend this with more information.
This commit is contained in:
João Oliveirinha
2022-04-27 14:34:11 +01:00
parent f3244db861
commit d68ad89159
3 changed files with 243 additions and 229 deletions

View File

@@ -121,6 +121,8 @@ struct ConnectionDetails {
uuid @0 :Data;
# airport code of the colo where this connection landed
locationName @1 :Text;
# tells if the tunnel is remotely managed
tunnelIsRemotelyManaged @2: Bool;
}
struct TunnelAuth {