[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7OpGoYx51DQfLhFiZmU_jMfd28G6kssgft6NQoFXj_X+A@mail.gmail.com>
Date: Wed, 7 Jan 2015 16:04:14 -0800
From: Cong Wang <cwang@...pensource.com>
To: Vadim Kochan <vadim4j@...il.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH iproute2 0/3] ip netns: Run over all netns
On Wed, Jan 7, 2015 at 3:04 AM, Vadim Kochan <vadim4j@...il.com> wrote:
> From: Vadim Kochan <vadim4j@...il.com>
>
> Allow 'ip netns del' and 'ip netns exec' run over each network namespace names.
>
> 'ip netns exec' executes command forcely on eacn nsname.
>
Why this has to be done in iproute command?
That is, why not just offloading this to a shell script like below?
for ns in `ip netns show`;
do
ip netns exec $ns ip link show.....
done
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists