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: README.md
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,18 @@
1
-
* Grpc for Cisco IOS-XR in python
1
+
Grpc for Cisco IOS-XR in python
2
+
-
2
3
3
4
This is a small repo testing GRPC in python for the IOS-XR end node. This setup is currently working in the IOS-XRv on vagrant.
4
5
To get started there are two examples here, one for MDT and one for grpc rpc calls.
5
6
6
-
**GRPC Calls
7
+
GRPC Calls
8
+
--
7
9
The file is called example_grpc.py. This file has an excamples of the different rpc calls. This configuration shows how to get things started with self signed certs.
8
10
9
11
1. Download the repository
10
12
2. Install grpc
11
-
```pip install grpcio``` (sudo may be required)
13
+
```
14
+
pip install grpcio
15
+
``` (sudo may be required)
12
16
3. ssh into the router and turn on grpc and tls on the router, below is an example configuration.
13
17
```
14
18
interface GigabitEthernet 0/0/0/0
@@ -22,7 +26,9 @@ grpc
22
26
!
23
27
```
24
28
4. Copy the autogenerated .pem file to the 'keys' folder in the client directory.
0 commit comments