Skip to content
10 changes: 9 additions & 1 deletion doc/grpctunnel_design.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# TCP over gRPC Tunnel

**Contributors**:
James Protzman, Carl Lebsack, Rob Shakir
James Protzman, Carl Lebsack, Rob Shakir, Gregory Soroka, Eric Sporel

**February, 2019**
*Updated*: February 2021
Expand Down Expand Up @@ -37,6 +37,7 @@ James Protzman, Carl Lebsack, Rob Shakir
- [Tunnel Client](#tunnel-client)
- [Tunnel Server](#tunnel-server)
- [Target Registration](#target-registration)
- [Message Flow](#message-flow)
- [Subscription](#subscription)
- [Bridge Mode](#bridge-mode)

Expand Down Expand Up @@ -143,6 +144,7 @@ message RegisterOp {
enum TargetType {
UNKNOWN = 0;
SSH = 22;
NETCONF_SSH = 830;
OPENFLOW = 6653;
GNMI_GNOI = 9339;
P4_RUNTIME = 9559;
Expand Down Expand Up @@ -351,6 +353,12 @@ addition handler will be called.
Once the tunnel is up running, subsequent addition and deletion of targets are
also supported.

### Message Flow

**Type 1 Tunnel Client to Tunnel Server Tunnel Call Flow**

![Tunnel Call Flow](images/tunnelcallflow.png "Tunnel Call Flow")

### Subscription

During registration, a client sends an `subscription` message to subscribe
Expand Down
Binary file added doc/images/tunnelcallflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion proto/tunnel/tunnel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//
//
//
// Version: 0.1
// Version: 0.2

syntax = "proto3";

Expand Down