From: Stephen Hemminger <shemminger@vyatta.com>
To: Dan Smith <danms@us.ibm.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] Add ip route {save,restore}
Date: Wed, 4 Aug 2010 14:03:17 -0700 [thread overview]
Message-ID: <20100804140317.61cf3a60@nehalam> (raw)
In-Reply-To: <1274460311-4036-1-git-send-email-danms@us.ibm.com>
On Fri, 21 May 2010 09:45:11 -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.
>
> The only change since the RFC is the addition of manpage and doc
> material.
>
> Signed-off-by: Dan Smith <danms@us.ibm.com>
I think Jamal/Alexey original intent was that output of show
command could be piped back in, allowing the same kind of
save/restore without special format.
But probably over the intervening time, the output format diverged
and that isn't possible.
prev parent reply other threads:[~2010-08-04 21:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-21 16:45 [PATCH] Add ip route {save,restore} Dan Smith
2010-08-04 21:03 ` 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=20100804140317.61cf3a60@nehalam \
--to=shemminger@vyatta.com \
--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