[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d8d662a5-f530-7dfa-6bcc-014ca2084092@gmail.com>
Date: Wed, 11 Dec 2019 10:23:45 -0700
From: David Ahern <dsahern@...il.com>
To: Paolo Lungaroni <paolo.lungaroni@...t.it>, netdev@...r.kernel.org
Subject: Re: [PATCH iproute2 net-next] add support for table name in SRv6
End.DT* behaviors
On 12/6/19 11:11 AM, Paolo Lungaroni wrote:
> it allows to specify also the table name in addition to the table number in
> SRv6 End.DT* behaviors.
>
> To add an End.DT6 behavior route specifying the table by name:
>
> $ ip -6 route add 2001:db8::1 encap seg6local action End.DT6 table main dev eth0
>
> The ip route show to print output this route:
>
> $ ip -6 route show 2001:db8::1
> 2001:db8::1 encap seg6local action End.DT6 table main dev eth0 metric 1024 pref medium
>
> The JSON output:
> $ ip -6 -j -p route show 2001:db8::1
> [ {
> "dst": "2001:db8::1",
> "encap": "seg6local",
> "action": "End.DT6",
> "table": "main",
> "dev": "eth0",
> "metric": 1024,
> "flags": [ ],
> "pref": "medium"
> } ]
>
> Signed-off-by: Paolo Lungaroni <paolo.lungaroni@...t.it>
> ---
> ip/iproute_lwtunnel.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
applied to iproute2-next. Thanks
Powered by blists - more mailing lists