netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2 v2 0/3] ip netns: Run over all netns
@ 2015-01-18 14:10 Vadim Kochan
  2015-01-18 14:10 ` [PATCH iproute2 v2 1/3] lib: Exec func on each netns Vadim Kochan
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Vadim Kochan @ 2015-01-18 14:10 UTC (permalink / raw)
  To: netdev; +Cc: Vadim Kochan

From: Vadim Kochan <vadim4j@gmail.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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-05 18:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-18 14:10 [PATCH iproute2 v2 0/3] ip netns: Run over all netns Vadim Kochan
2015-01-18 14:10 ` [PATCH iproute2 v2 1/3] lib: Exec func on each netns Vadim Kochan
2015-01-18 14:10 ` [PATCH iproute2 v2 2/3] ip netns: Allow exec " Vadim Kochan
2015-01-18 14:10 ` [PATCH iproute2 v2 3/3] ip netns: Delete all netns Vadim Kochan
2015-02-05 18:29 ` [PATCH iproute2 v2 0/3] ip netns: Run over " Stephen Hemminger

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).