From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Dan Smith <danms@us.ibm.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] [RFC] Add ip route {save,restore}
Date: Fri, 21 May 2010 08:26:56 -0700 [thread overview]
Message-ID: <20100521082656.7deb05c7@nehalam> (raw)
In-Reply-To: <1274454863-5146-1-git-send-email-danms@us.ibm.com>
On Fri, 21 May 2010 08:14:23 -0700
Dan Smith <danms@us.ibm.com> wrote:
> This patch adds save and restore commands to "ip route". Save dumps
> the RTNL stream to stdout which can then be passed to restore later.
> This may be helpful in some normal situations, and will allow C/R to
> migrate the routing information in userspace. Tweaking of the stream
> can be done by userspace helpers to convert between versions and adjust
> things like device indexes when restoring routes in a different
> environment.
>
> By factoring out some of the common bits of print_route() into
> filter_nlmsg(), the "save" command can use the same selection logic
> as "list," allowing the caller to save only specific routes as
> necessary.
>
> Signed-off-by: Dan Smith <danms@us.ibm.com>
Looks good, please add man page and doc entry for this in final
version.
prev parent reply other threads:[~2010-05-21 15:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-21 15:14 [PATCH] [RFC] Add ip route {save,restore} Dan Smith
2010-05-21 15:26 ` Stephen Hemminger [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=20100521082656.7deb05c7@nehalam \
--to=shemminger@linux-foundation.org \
--cc=danms@us.ibm.com \
--cc=netdev@vger.kernel.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).