On Wed, 2017-03-01 at 11:22 +0100, Jiri Benc wrote:
> On Tue, 28 Feb 2017 20:07:37 +, Zaboj Campula wrote:
> > Well it is impossible to draw a simple tree showing the configuration
> > exactly with all details. May be it is too ambitious to draw a tree
> > at all.
>
> I tried that and failed.
On Tue, 28 Feb 2017 20:07:37 +, Zaboj Campula wrote:
> Well it is impossible to draw a simple tree showing the configuration
> exactly with all details. May be it is too ambitious to draw a tree
> at all.
I tried that and failed. I didn't want to have something that would
work only "somehow" a
Tue, Feb 28, 2017 at 09:19:23PM CET, zaboj.camp...@post.cz wrote:
>On Mon, 2017-02-27 at 10:55 -0800, Stephen Hemminger wrote:
>>
>> Another alternative format would be to make -tree a output modifier and
>> ident (like ps tree options).
>>
>> $ ip -t link
>> 1: lo: mtu 65536 qdisc noqueue stat
On Mon, 2017-02-27 at 10:55 -0800, Stephen Hemminger wrote:
>
> Another alternative format would be to make -tree a output modifier and ident
> (like ps tree options).
>
> $ ip -t link
> 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode
> DEFAULT group default qlen 1
> link/loopback 00:00:
On Mon, 2017-02-27 at 17:38 +0100, Jiri Benc wrote:
>
> It produces dot (graphviz) output or json and has no dependencies on
> anything GUI related. Just run it on the remote machine and display the
> output locally.
>
> ssh root@remote plotnetcfg | dot -Tpdf | whatever_pdf_viewer
>
> Note that
On Sat, 25 Feb 2017 16:59:00 +
Zaboj Campula wrote:
> dd the argument '-tree' to ip-link to show network devices dependency tree.
>
> Example:
>
> $ ip -tree link
> eth0
> bond0
> eth1
> bond0
> eth2
> bond1
> eth3
> bond1
Maybe use format similar to other utilities (lspci,
On Sat, 25 Feb 2017 16:59:00 +
Zaboj Campula wrote:
> Add the argument '-tree' to ip-link to show network devices dependency tree.
>
> Example:
>
> $ ip -tree link
> eth0
> bond0
> eth1
> bond0
> eth2
> bond1
> eth3
> bond1
Another alternative format would be to make -tree
On Sun, 26 Feb 2017 08:56:33 +0100
Jiri Pirko wrote:
> Did you see https://github.com/jbenc/plotnetcfg ?
Cool, thanks.
On Sun, 26 Feb 2017 15:46:10 +0100, Jiri Pirko wrote:
> You can also run it remotelly. Also I believe that you can catch the
> state into some dump file and process it later on. Not 100% sure though.
> Ccing Jiri Benc who is the original author of plotnetcfg.
It produces dot (graphviz) output or j
Sun, Feb 26, 2017 at 03:00:14PM CET, zaboj.camp...@post.cz wrote:
>On Sun, 2017-02-26 at 08:56 +0100, Jiri Pirko wrote:
>> Sat, Feb 25, 2017 at 09:22:22PM CET, zaboj.camp...@post.cz wrote:
>> > On Sat, 2017-02-25 at 18:39 +0100, Jiri Pirko wrote:
>> > > > Sat, Feb 25, 2017 at 05:59:00PM CET, zaboj.
On Sun, 2017-02-26 at 08:56 +0100, Jiri Pirko wrote:
> Sat, Feb 25, 2017 at 09:22:22PM CET, zaboj.camp...@post.cz wrote:
> > On Sat, 2017-02-25 at 18:39 +0100, Jiri Pirko wrote:
> > > > Sat, Feb 25, 2017 at 05:59:00PM CET, zaboj.camp...@post.cz
> > > > wrote:
> > > > Add the argument '-tree' to ip-
Sat, Feb 25, 2017 at 09:22:22PM CET, zaboj.camp...@post.cz wrote:
>On Sat, 2017-02-25 at 18:39 +0100, Jiri Pirko wrote:
>> > Sat, Feb 25, 2017 at 05:59:00PM CET, zaboj.camp...@post.cz wrote:
>> > Add the argument '-tree' to ip-link to show network devices dependency
>> > tree.
>> >
>> > Example:
On Sat, 2017-02-25 at 18:39 +0100, Jiri Pirko wrote:
> > Sat, Feb 25, 2017 at 05:59:00PM CET, zaboj.camp...@post.cz wrote:
> > Add the argument '-tree' to ip-link to show network devices dependency tree.
> >
> > Example:
> >
> > $ ip -tree link
> > eth0
> > bond0
> > eth1
> > bond0
> > eth2
Sat, Feb 25, 2017 at 05:59:00PM CET, zaboj.camp...@post.cz wrote:
>Add the argument '-tree' to ip-link to show network devices dependency tree.
>
>Example:
>
>$ ip -tree link
>eth0
>bond0
>eth1
>bond0
>eth2
>bond1
>eth3
>bond1
Hmm, what is this good for? I'm probably missing somet
Add the argument '-tree' to ip-link to show network devices dependency tree.
Example:
$ ip -tree link
eth0
bond0
eth1
bond0
eth2
bond1
eth3
bond1
Signed-off-by: Zaboj Campula
---
include/utils.h | 1 +
ip/ip.c | 5 ++-
ip/ipaddress.c | 97
15 matches
Mail list logo