[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100521082656.7deb05c7@nehalam>
Date: Fri, 21 May 2010 08:26:56 -0700
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: Dan Smith <danms@...ibm.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] [RFC] Add ip route {save,restore}
On Fri, 21 May 2010 08:14:23 -0700
Dan Smith <danms@...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@...ibm.com>
Looks good, please add man page and doc entry for this in final
version.
--
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