You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: content/cumulus-linux-513/Monitoring-and-Troubleshooting/gNMI Streaming.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -66,13 +66,14 @@ Cumulus Linux does not support mTLS on the underlying gRPC tunnel.
66
66
cumulus@switch:~$ nv config apply
67
67
```
68
68
69
-
3. Configure each tunnel server to which you want to connect. You must specify the listening address, port, target name, and CA certificate ID for each tunnel server.
69
+
3. Configure each tunnel server to which you want to connect. You must specify the listening address, port, target name, and the certificate for each tunnel server. You can also reconfigure the retry interval (optional). The default retry interval is 30 seconds.
70
70
71
71
```
72
72
cumulus@switch:~$ nv set system grpc-tunnel server SERVER1 address 10.1.1.10
73
73
cumulus@switch:~$ nv set system grpc-tunnel server SERVER1 port 443
74
74
cumulus@switch:~$ nv set system grpc-tunnel server SERVER1 target-name TARGET1
75
-
cumulus@switch:~$ nv set system grpc-tunnel server SERVER1 ca-certificate CERT1
75
+
cumulus@switch:~$ nv set system grpc-tunnel server SERVER1 ca-certificate CERT1
76
+
cumulus@switch:~$ nv set system grpc-tunnel server SERVER1 retry-interval 40
76
77
cumulus@switch:~$ nv set system grpc-tunnel server state enabled
77
78
cumulus@switch:~$ nv config apply
78
79
```
@@ -90,7 +91,7 @@ Cumulus Linux does not support mTLS on the underlying gRPC tunnel.
90
91
- Based on the gNMI client you use, the gNMI server certificate might require the management IP address of the Cumulus Linux switch to be included in the subject alternate name (`SAN`) field of the server certificate.
91
92
{{%/notice%}}
92
93
93
-
### Create Sample TLS Certificates for the gNMI Client
94
+
### Sample TLS Certificates for the gNMI Client
94
95
95
96
This section describes a very basic TLS certificate configuration for a gNMI client and tunnel server that you can use for initial testing.
96
97
@@ -152,7 +153,7 @@ To configure authentication:
152
153
4. You must also import the certificate of the CA that signed the keys to the switch and configure the tunnel client to use it to connect to the server (`nv set system grpc-tunnel server <server name> ca-certificate <cert id>`).
153
154
5. Copy the certificate of the CA that signed the keys (or the client certificate itself) to the device running the tunnel server and use it in the tunnel server configuration.
154
155
155
-
## RPC Events
156
+
## RPC Methods
156
157
157
158
Cumulus Linux supports the following <spanclass="a-tooltip">[RPC](##"Remote Procedure Call")</span> events:
0 commit comments