[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ee132c0c-daed-3ffb-b6d9-156e1bbd9e1f@kernel.org>
Date: Mon, 14 Aug 2023 10:29:24 -0600
From: David Ahern <dsahern@...nel.org>
To: Andrea Mayer <andrea.mayer@...roma2.it>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Shuah Khan <shuah@...nel.org>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
linux-kselftest@...r.kernel.org
Cc: Stefano Salsano <stefano.salsano@...roma2.it>,
Paolo Lungaroni <paolo.lungaroni@...roma2.it>,
Ahmed Abdelsalam <ahabdels.dev@...il.com>,
Hangbin Liu <liuhangbin@...il.com>
Subject: Re: [net-next v2 2/2] selftests: seg6: add selftest for NEXT-C-SID
flavor in SRv6 End.X behavior
On 8/12/23 12:09 PM, Andrea Mayer wrote:
> From: Paolo Lungaroni <paolo.lungaroni@...roma2.it>
>
> This selftest is designed for testing the support of NEXT-C-SID flavor
> for SRv6 End.X behavior. It instantiates a virtual network composed of
> several nodes: hosts and SRv6 routers. Each node is realized using a
> network namespace that is properly interconnected to others through veth
> pairs, according to the topology depicted in the selftest script file.
> The test considers SRv6 routers implementing IPv4/IPv6 L3 VPNs leveraged
> by hosts for communicating with each other. Such routers i) apply
> different SRv6 Policies to the traffic received from connected hosts,
> considering the IPv4 or IPv6 protocols; ii) use the NEXT-C-SID
> compression mechanism for encoding several SRv6 segments within a single
> 128-bit SID address, referred to as a Compressed SID (C-SID) container.
>
> The NEXT-C-SID is provided as a "flavor" of the SRv6 End.X behavior,
> enabling it to properly process the C-SID containers. The correct
> execution of the enabled NEXT-C-SID SRv6 End.X behavior is verified
> through reachability tests carried out between hosts belonging to the
> same VPN.
>
> Signed-off-by: Paolo Lungaroni <paolo.lungaroni@...roma2.it>
> Co-developed-by: Andrea Mayer <andrea.mayer@...roma2.it>
> Signed-off-by: Andrea Mayer <andrea.mayer@...roma2.it>
> ---
> tools/testing/selftests/net/Makefile | 1 +
> .../net/srv6_end_x_next_csid_l3vpn_test.sh | 1213 +++++++++++++++++
> 2 files changed, 1214 insertions(+)
> create mode 100755 tools/testing/selftests/net/srv6_end_x_next_csid_l3vpn_test.sh
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists