https://github.com/juniper/topoviz
A network topology visualisation tool. Creates a force directed graph from the output of a JUNOS cli cmd
https://github.com/juniper/topoviz
Last synced: about 1 year ago
JSON representation
A network topology visualisation tool. Creates a force directed graph from the output of a JUNOS cli cmd
- Host: GitHub
- URL: https://github.com/juniper/topoviz
- Owner: Juniper
- License: other
- Created: 2019-12-16T04:18:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-10T02:58:32.000Z (over 3 years ago)
- Last Synced: 2025-04-09T04:26:37.008Z (about 1 year ago)
- Language: Perl
- Homepage:
- Size: 152 KB
- Stars: 15
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Topoviz
### A network topology visualizer
Creates a force directed D3 graph based on the output from one of these JUNOS cli cmds:
```show ospf database router extensive | display xml | no-more | save ```
```show isis database extensive | display xml | no-more | save ```
```show ted database extensive | display xml | no-more | save ```
## INSTALLATION
### Recommended method is to use Docker:
* Clone the repo
* Create the docker image using ```docker build topoviz/ -t topoviz:v0.1```
* Run the docker image using ```docker run -itd -p 8080:80/tcp topoviz:v0.1```
* Connect to host using http on port 8080, example: http://localhost:8080/topoviz/
### Alternatively you could:
* Clone the repo onto a server running apache and the wsgi module
* Ensure perl has List::MoreUtils installed
* Ensure the json directory is writeable by the apache user
## USAGE
* Zoom using:
* Mousewheel
* Trackpad pinch/expand
* Trackpad 2 finger drag up/down
* Click on a router to:
* List its details in info pane
* Mouseover a router to:
* Highlight connected nodes
* Drag any node to:
* Fix its position
* Double click a fixed node to:
* Release it
* Mouseover a link to:
* Show its metric
## NOTES
This code was written in 2016 for JTAC, some customers have expressed an interest in the tool hence its wider release
## LICENSE
MIT
## CONTRIBUTORS
Juniper Networks is actively contributing to and maintaining this repo. Please contact jnpr-community-netdev@juniper.net for any queries.
*Contributors:*
[Chris Jenn](https://github.com/ipmonk)