public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: "Robin Jarry" <robin@jarry.cc>
To: <netdev@vger.kernel.org>
Subject: netgraph: a tool to visualize linux network config
Date: Sun, 02 Apr 2023 16:10:09 +0200	[thread overview]
Message-ID: <CRMBCW54HIFH.1HPI5MO7CRBK4@ringo> (raw)

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

                 reply	other threads:[~2023-04-02 14:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CRMBCW54HIFH.1HPI5MO7CRBK4@ringo \
    --to=robin@jarry.cc \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox