netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vadim Kochan <vadim4j@gmail.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: Vadim Kochan <vadim4j@gmail.com>, netdev@vger.kernel.org
Subject: Re: [PATCH iproute2 v2 0/4] Switch network ns w/o 'netns exec' for iproute2 tools
Date: Sat, 27 Dec 2014 22:24:10 +0200	[thread overview]
Message-ID: <20141227202410.GA1283@angus-think.lan> (raw)
In-Reply-To: <20141227102453.4f4093f5@urahara>

On Sat, Dec 27, 2014 at 10:24:53AM -0800, Stephen Hemminger wrote:
> On Wed, 24 Dec 2014 23:04:07 +0200
> Vadim Kochan <vadim4j@gmail.com> wrote:
> 
> > From: Vadim Kochan <vadim4j@gmail.com>
> > 
> > This series adds new -n[etns] option to ip, tc & bridge tools which
> > allows to easy and faster switch to specified network namespace. So instead of:
> > 
> >     ip netns exec NETNS { ip | tc | bridge } OBJECT COMMAND
> > 
> > it will be possible do the same by:
> > 
> >     { ip | tc | bridge } -n[etns] NETNS OBJECT COMMAND
> > 
> > I skipped misc tools and will work on them later.
> > 
> > Vadim Kochan (4):
> >   lib: Add netns_switch func for change network namespace
> >   ip: Allow to easy change network namespace
> >   bridge: Allow to easy change network namespace
> >   tc: Allow to easy change network namespace
> > 
> >  bridge/Makefile     |   4 ++
> >  bridge/bridge.c     |   7 +++-
> >  include/namespace.h |  46 +++++++++++++++++++++++
> >  ip/ip.c             |   7 +++-
> >  ip/ipnetns.c        | 106 ++--------------------------------------------------
> >  lib/Makefile        |   6 ++-
> >  lib/namespace.c     |  86 ++++++++++++++++++++++++++++++++++++++++++
> >  man/man8/bridge.8   |  23 +++++++++++-
> >  man/man8/ip.8       |  23 +++++++++++-
> >  man/man8/tc.8       |  65 ++++++++++++++++++++++++--------
> >  tc/Makefile         |   5 +++
> >  tc/tc.c             |   8 +++-
> >  12 files changed, 262 insertions(+), 124 deletions(-)
> >  create mode 100644 include/namespace.h
> >  create mode 100644 lib/namespace.c
> 
> Applied.
> Note: kernel.org git is not available so will push later.
> 
Seems works now.

      reply	other threads:[~2014-12-27 20:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-24 21:04 [PATCH iproute2 v2 0/4] Switch network ns w/o 'netns exec' for iproute2 tools Vadim Kochan
2014-12-24 21:04 ` [PATCH iproute2 v2 1/4] lib: Add netns_switch func for change network namespace Vadim Kochan
2014-12-24 21:04 ` [PATCH iproute2 v2 2/4] ip: Allow to easy " Vadim Kochan
2014-12-24 21:04 ` [PATCH iproute2 v2 3/4] bridge: " Vadim Kochan
2014-12-24 21:04 ` [PATCH iproute2 v2 4/4] tc: " Vadim Kochan
2014-12-27 18:24 ` [PATCH iproute2 v2 0/4] Switch network ns w/o 'netns exec' for iproute2 tools Stephen Hemminger
2014-12-27 20:24   ` Vadim Kochan [this message]

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=20141227202410.GA1283@angus-think.lan \
    --to=vadim4j@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.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;
as well as URLs for NNTP newsgroup(s).