Skip to content

Commit 5198cb4

Browse files
skorpion17Paolo Abeni
authored andcommitted
selftests: seg6: add selftest for PSP flavor in SRv6 End behavior
This selftest is designed for testing the PSP flavor in SRv6 End 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. The test makes use of the SRv6 End behavior and of the PSP flavor needed for removing the SRH from the IPv6 header at the penultimate node. The correct execution of the behavior is verified through reachability tests carried out between hosts. Signed-off-by: Andrea Mayer <[email protected]> Signed-off-by: Paolo Lungaroni <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
1 parent bdf3c0b commit 5198cb4

File tree

2 files changed

+870
-0
lines changed

2 files changed

+870
-0
lines changed

tools/testing/selftests/net/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ TEST_PROGS += srv6_end_dt6_l3vpn_test.sh
3838
TEST_PROGS += srv6_hencap_red_l3vpn_test.sh
3939
TEST_PROGS += srv6_hl2encap_red_l2vpn_test.sh
4040
TEST_PROGS += srv6_end_next_csid_l3vpn_test.sh
41+
TEST_PROGS += srv6_end_flavors_test.sh
4142
TEST_PROGS += vrf_strict_mode_test.sh
4243
TEST_PROGS += arp_ndisc_evict_nocarrier.sh
4344
TEST_PROGS += ndisc_unsolicited_na_test.sh

0 commit comments

Comments
 (0)