[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1421590219-19365-1-git-send-email-vadim4j@gmail.com>
Date: Sun, 18 Jan 2015 16:10:16 +0200
From: Vadim Kochan <vadim4j@...il.com>
To: netdev@...r.kernel.org
Cc: Vadim Kochan <vadim4j@...il.com>
Subject: [PATCH iproute2 v2 0/3] ip netns: Run over all netns
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.
Added new '-all' 'ip' option to run over each netns,
it can be used for other utils as generic option.
v2:
Use '-all' option instead of netns name 'all'.
Vadim Kochan (3):
lib: Exec func on each netns
ip netns: Allow exec on each netns
ip netns: Delete all netns
include/namespace.h | 6 ++++
include/utils.h | 5 +++
ip/ip.c | 5 ++-
ip/ipnetns.c | 98 ++++++++++++++++++++++++++++++++---------------------
lib/namespace.c | 22 ++++++++++++
lib/utils.c | 28 +++++++++++++++
man/man8/ip-netns.8 | 28 ++++++++++++---
man/man8/ip.8 | 7 +++-
8 files changed, 153 insertions(+), 46 deletions(-)
--
2.1.3
--
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