netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* netgraph: a tool to visualize linux network config
@ 2023-04-02 14:10 Robin Jarry
  0 siblings, 0 replies; only message in thread
From: Robin Jarry @ 2023-04-02 14:10 UTC (permalink / raw)
  To: netdev

Hi folks,

I was looking for a way to visualize the networking config but didn't
find anything. I wrote a simple python script that parses the JSON
output of iproute2 commands and generates a graphviz dot graph:

https://git.sr.ht/~rjarry/linux-tools#netgraph

The SVG output contains extra info in the tooltips:

http://files.diabeteman.com/netgraph-example.svg

It only supports a small number of interfaces for now but adding special
cases for ipip, gre, sit, etc. should be fairly simple.

Let me know what you think.

Cheers,

-- 
Robin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-02 14:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-02 14:10 netgraph: a tool to visualize linux network config Robin Jarry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).