Skip to content

Commit 812de4d

Browse files
pmachatadavem330
authored andcommitted
selftests: router_bridge_vlan: Add a diagram
Add a topology diagram to this selftest to make the configuration easier to understand. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Amit Cohen <amcohen@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 34ad708 commit 812de4d

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

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

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

4+
# +------------------------+ +----------------------+
5+
# | H1 (vrf) | | H2 (vrf) |
6+
# | + $h1.555 | | + $h2 |
7+
# | | 192.0.2.1/28 | | | 192.0.2.130/28 |
8+
# | | 2001:db8:1::1/64 | | | 2001:db8:2::2/64 |
9+
# | | | | | |
10+
# | + $h1 | | | |
11+
# +----|-------------------+ +--|-------------------+
12+
# | |
13+
# +----|--------------------------------------------------|-------------------+
14+
# | SW | | |
15+
# | +--|-------------------------------+ + $swp2 |
16+
# | | + $swp1 | 192.0.2.129/28 |
17+
# | | vid 555 | 2001:db8:2::1/64 |
18+
# | | | |
19+
# | | + BR1 (802.1q) | |
20+
# | | vid 555 pvid untagged | |
21+
# | | 192.0.2.2/28 | |
22+
# | | 2001:db8:1::2/64 | |
23+
# | +----------------------------------+ |
24+
# +---------------------------------------------------------------------------+
25+
426
ALL_TESTS="
527
ping_ipv4
628
ping_ipv6

0 commit comments

Comments
 (0)