Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyberang3l/InfiniBand-Graphviz-ualization
Generate graphviz dot files from InfiniBand topology dumps.
https://github.com/cyberang3l/InfiniBand-Graphviz-ualization
Last synced: 2 months ago
JSON representation
Generate graphviz dot files from InfiniBand topology dumps.
- Host: GitHub
- URL: https://github.com/cyberang3l/InfiniBand-Graphviz-ualization
- Owner: cyberang3l
- License: gpl-3.0
- Created: 2015-03-23T14:58:41.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-11T01:12:13.000Z (12 months ago)
- Last Synced: 2024-08-03T01:38:28.771Z (6 months ago)
- Language: Python
- Size: 40 KB
- Stars: 14
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# InfiniBand-Graphviz-ualization
Generate graphviz dot files from InfiniBand topology dumps.To get an InfiniBand topology dump, use the 'ibnetdiscover' tool and redirect its output in an 'infiniband.topo' file.
# Usage
Use the --help parameter to see a list of the available options.`./InfiniBand-graphviz.py --help`
The following command will read the "infiniband.topo" InfiniBand topology file, and generate a graphviz dot file.
`./InfiniBand-graphviz.py -f infiniband.topo`
For further analysis and visualization, you can use Gephi. In this case, export a gexf file as well.
`./InfiniBand-graphviz.py -f infiniband.topo -e`
# Create a beautiful graph with [Gephi](http://gephi.github.io/)
If you want to generate a beautiful graph with Gephi, follow the following steps:
1. Load the generated gexf file in Gephi.
2. Go to the 'Overview' tab and choose a placement layout (I like the results of 'ForceAtlas 2' algorithm).
3. Tune as needed and run the layout until you are satisfied with the placement and press stop.
4. Go to the 'Preview' tab and press the 'Refresh' button.
5. Under the 'Edges' group, untick the 'Curved' tick box and change the 'Color' of the edges from 'mixed' to 'original'.
6. Choose a 'black' background if you used the '--optimized-for-black-bg (-o)' option when you ran the script, and press a final refresh.
7. Once you are satisfied with the result, press the 'Export SVG/PDF/PNG' button to save the layout.