Understand gNMI and how to build your first gNMI client with Python to interwork with IOS-XR
This laboratory comes with two Jupyter notebooks for practising the gNMI functionalities of Cisco IOS XR. A set of Docker containers is used for collecting and monitoring model-driven telemetry data.
- Python 3
- Cisco-gnmi-python library
- Jupyter-notebook
- Docker
- Docker-compose
- IOS XR
-
Deploy the stack of containers for monitoring of telemetry data by following these instructions.
-
Load the Traffic Monitoring dashboard in Chronograf.
The details for the connection and authentication to the IOS XR can be found in each notebook.
This laboratory assumes the following:
- the host of the Jupyter notebook and the docker containers is
198.18.134.50
- the Jupyter notebook is exposed on port
8080
- the Chronograf web application is exposed on port
8888
- the IOS XR is reachable at
198.18.134.72
with usernamecisco
and passwordcisco
- the IOS XR has the following gRPC configuration:
grpc port 57777 !
Access the notebook at https://198.18.134.50:8080.
Start with the cisco-gNMI-main
notebook. To run a section of the laboratory, select the cell and press Shift+Enter
.
This laboratory was tested in an environment that had the following software installed:
Software | version |
---|---|
Python | 3.6.8 |
Cisco-gnmi | 1.0.4 |
Jupyter-notebook | 6.0.2 |
Docker | 19.03.5 |
Docker-compose | 1.25.1 |
IOS XR | 7.0.x |
If you have questions, concerns, bug reports, etc., please create an issue against this repository.
Feedback, bug fixes and feature enhancements or additions are encouraged. Please see the CONTRIBUTING file for more information.
This project was written and is maintained by the following individuals:
- cprecup [email protected]
- nckbgov [email protected]
- sbyx [email protected]