[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAE4R7bDSA4yRe94wW3AO0+2-Gd7xoukjRs=krvnBnBL=rwZswg@mail.gmail.com>
Date: Sun, 15 Mar 2015 13:08:56 -0700
From: Scott Feldman <sfeldma@...il.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: Netdev <netdev@...r.kernel.org>,
Jiří Pírko <jiri@...nulli.us>
Subject: Re: [PATCH iproute2] route: label externally offloaded routes
On Sun, Mar 15, 2015 at 12:39 PM, Stephen Hemminger
<stephen@...workplumber.org> wrote:
> On Sat, 7 Mar 2015 22:15:35 -0800
> sfeldma@...il.com wrote:
>
>> From: Scott Feldman <sfeldma@...il.com>
>>
>> On ip route print dump, label externally offloaded routes with "external".
>> Offloaded routes are flagged with RTNH_F_EXTERNAL, a recent additon to
>> net-next. For example:
>>
>> $ ip route
>> default via 192.168.0.2 dev eth0
>> 11.0.0.0/30 dev swp1 proto kernel scope link src 11.0.0.2 external
>> 11.0.0.4/30 via 11.0.0.1 dev swp1 proto zebra metric 20 external
>> 11.0.0.8/30 dev swp2 proto kernel scope link src 11.0.0.10 external
>> 11.0.0.12/30 via 11.0.0.9 dev swp2 proto zebra metric 20 external
>> 12.0.0.2 proto zebra metric 30 external
>> nexthop via 11.0.0.1 dev swp1 weight 1
>> nexthop via 11.0.0.9 dev swp2 weight 1
>> 12.0.0.3 via 11.0.0.1 dev swp1 proto zebra metric 20 external
>> 12.0.0.4 via 11.0.0.9 dev swp2 proto zebra metric 20 external
>> 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.15
>>
>> Signed-off-by: Scott Feldman <sfeldma@...il.com>
>
> Applied to net-next branch of iproute2
Oops, sorry Stephan, I just sent a v2 with a change to the label. Can
you apply that version?
> All iproute2 commands should be invertable.
> If you show something you need to accept that as input.
> Please fix that.
Working on it.
--
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