Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: forwarding: router_mpath_nh: Add a diagram

This test lacks a topology diagram, making the setup not obvious.
Add one.

Cc: David Ahern <dsahern@gmail.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

authored by

Petr Machata and committed by
Paolo Abeni
ba7d1e99 8d612ed4

+35
+35
tools/testing/selftests/net/forwarding/router_mpath_nh.sh
··· 1 1 #!/bin/bash 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 4 + # +-------------------------+ 5 + # | H1 | 6 + # | $h1 + | 7 + # | 192.0.2.2/24 | | 8 + # | 2001:db8:1::2/64 | | 9 + # +-------------------|-----+ 10 + # | 11 + # +-------------------|----------------------+ 12 + # | | R1 | 13 + # | $rp11 + | 14 + # | 192.0.2.1/24 | 15 + # | 2001:db8:1::1/64 | 16 + # | | 17 + # | + $rp12 + $rp13 | 18 + # | | 169.254.2.12/24 | 169.254.3.13/24 | 19 + # | | fe80:2::12/64 | fe80:3::13/64 | 20 + # +--|--------------------|------------------+ 21 + # | | 22 + # +--|--------------------|------------------+ 23 + # | + $rp22 + $rp23 | 24 + # | 169.254.2.22/24 169.254.3.23/24 | 25 + # | fe80:2::22/64 fe80:3::23/64 | 26 + # | | 27 + # | $rp21 + | 28 + # | 198.51.100.1/24 | | 29 + # | 2001:db8:2::1/64 | R2 | 30 + # +-------------------|----------------------+ 31 + # | 32 + # +-------------------|-----+ 33 + # | | | 34 + # | $h2 + | 35 + # | 198.51.100.2/24 | 36 + # | 2001:db8:2::2/64 H2 | 37 + # +-------------------------+ 38 + 4 39 ALL_TESTS=" 5 40 ping_ipv4 6 41 ping_ipv6