Skip to content

Commit 74ddac0

Browse files
pmachataPaolo Abeni
authored andcommitted
selftests: forwarding: router_nh: Add a diagram
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]>
1 parent b51a94b commit 74ddac0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tools/testing/selftests/net/forwarding/router_nh.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
#!/bin/bash
22
# SPDX-License-Identifier: GPL-2.0
33

4+
# +-------------------------+ +-------------------------+
5+
# | H1 | | H2 |
6+
# | $h1 + | | $h2 + |
7+
# | 192.0.2.2/24 | | | 198.51.100.2/24 | |
8+
# | 2001:db8:1::2/64 | | | 2001:db8:2::2/64 | |
9+
# +-------------------|-----+ +-------------------|-----+
10+
# | |
11+
# +-------------------|----------------------------|-----+
12+
# | R1 | | |
13+
# | $rp1 + $rp2 + |
14+
# | 192.0.2.1/24 198.51.100.1/24 |
15+
# | 2001:db8:1::1/64 2001:db8:2::1/64 |
16+
# +------------------------------------------------------+
17+
418
ALL_TESTS="
519
ping_ipv4
620
ping_ipv6

0 commit comments

Comments
 (0)