Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.48 KB

README.md

File metadata and controls

49 lines (28 loc) · 1.48 KB

Topology Viewer with gRPC and XR telemetry

Apache 2.0 License

Example of how to build a real time topology using gRPC, XR Telemetry and a very small Mongo database.

You can add devices directly from the web interface and they will be configured with the correct telemetry subscription.

Add Device

Then, you will see the devices coming up in the graph

Topology

It uses the ISIS adjacency and interface IP information to build the links between devices. In order to get real time information without querying all the time to the server javascript web-sockets are used. The rest of the actions (e.g. get devices, add devices) are done with traditional get/post actions using angular JS

The database address needs to be added as an env variable called TELEMETRY_DB

Usage

From your go path:

Get the code

  • go get github.com/cisco-gve/tviewer

Start the database as a container

  • docker run --name tviewerdb -p 27017:27017 -d mongo

Set database env variable

  • export TELEMETRY_DB=localhost

Compile project

  • go install github.com/cisco-gve/tviewer

Run

  • ./bin/tviewer

There is a docker file in the repo that you can use as example to build a container if you like

Current Limitations

  • Only ISIS support
  • Only IPv4 topologies

Contacts