Message ID | ec60c64b682c307d8db9c9cb1f35d6e43bebd1e5.1712940759.git.petrm@nvidia.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 74ddac073cfe5f47c1509b665ec9b30df1fcd71c |
Headers | show |
Series | selftests: Assortment of fixes | expand |
On Fri, Apr 12, 2024 at 07:03:13PM +0200, Petr Machata wrote: > This test lacks a topology diagram, making the setup not obvious. > Add one. > > Signed-off-by: Petr Machata <petrm@nvidia.com> > --- > .../testing/selftests/net/forwarding/router_nh.sh | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/tools/testing/selftests/net/forwarding/router_nh.sh b/tools/testing/selftests/net/forwarding/router_nh.sh > index f3a53738bdcc..92904b01eae9 100755 > --- a/tools/testing/selftests/net/forwarding/router_nh.sh > +++ b/tools/testing/selftests/net/forwarding/router_nh.sh > @@ -1,6 +1,20 @@ > #!/bin/bash > # SPDX-License-Identifier: GPL-2.0 > > +# +-------------------------+ +-------------------------+ > +# | H1 | | H2 | > +# | $h1 + | | $h2 + | > +# | 192.0.2.2/24 | | | 198.51.100.2/24 | | > +# | 2001:db8:1::2/64 | | | 2001:db8:2::2/64 | | > +# +-------------------|-----+ +-------------------|-----+ > +# | | > +# +-------------------|----------------------------|-----+ > +# | R1 | | | > +# | $rp1 + $rp2 + | > +# | 192.0.2.1/24 198.51.100.1/24 | > +# | 2001:db8:1::1/64 2001:db8:2::1/64 | > +# +------------------------------------------------------+ > + > ALL_TESTS=" > ping_ipv4 > ping_ipv6 > -- > 2.43.0 > Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
diff --git a/tools/testing/selftests/net/forwarding/router_nh.sh b/tools/testing/selftests/net/forwarding/router_nh.sh index f3a53738bdcc..92904b01eae9 100755 --- a/tools/testing/selftests/net/forwarding/router_nh.sh +++ b/tools/testing/selftests/net/forwarding/router_nh.sh @@ -1,6 +1,20 @@ #!/bin/bash # SPDX-License-Identifier: GPL-2.0 +# +-------------------------+ +-------------------------+ +# | H1 | | H2 | +# | $h1 + | | $h2 + | +# | 192.0.2.2/24 | | | 198.51.100.2/24 | | +# | 2001:db8:1::2/64 | | | 2001:db8:2::2/64 | | +# +-------------------|-----+ +-------------------|-----+ +# | | +# +-------------------|----------------------------|-----+ +# | R1 | | | +# | $rp1 + $rp2 + | +# | 192.0.2.1/24 198.51.100.1/24 | +# | 2001:db8:1::1/64 2001:db8:2::1/64 | +# +------------------------------------------------------+ + ALL_TESTS=" ping_ipv4 ping_ipv6
This test lacks a topology diagram, making the setup not obvious. Add one. Signed-off-by: Petr Machata <petrm@nvidia.com> --- .../testing/selftests/net/forwarding/router_nh.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+)