Skip to content

Commit

Permalink
selftests: forwarding: router_nh: Add a diagram
Browse files Browse the repository at this point in the history
This test lacks a topology diagram, making the setup not obvious.
Add one.

Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Hangbin Liu <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
  • Loading branch information
pmachata authored and Paolo Abeni committed Apr 16, 2024
1 parent b51a94b commit 74ddac0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tools/testing/selftests/net/forwarding/router_nh.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 74ddac0

Please sign in to comment.