diff options
author | Jake McGinty <me@jake.su> | 2018-04-25 00:04:20 -0700 |
---|---|---|
committer | Jake McGinty <me@jake.su> | 2018-04-25 00:04:25 -0700 |
commit | 4c2b4a3e210292295a9478633fbe8773bae0b298 (patch) | |
tree | df561861bcc0fe1e395d24aae02f8fd8340615e7 | |
parent | tests: start to normalize the ns calls to work with kernel (diff) | |
download | wireguard-rs-4c2b4a3e210292295a9478633fbe8773bae0b298.tar.xz wireguard-rs-4c2b4a3e210292295a9478633fbe8773bae0b298.zip |
tests: update pretty ascii graph
-rwxr-xr-x | tests/netns.sh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/netns.sh b/tests/netns.sh index 0964745..0975fc6 100755 --- a/tests/netns.sh +++ b/tests/netns.sh @@ -5,17 +5,17 @@ # # This script tests the below topology: # -# ┌─────────────────────┐ ┌──────────────────────────────────┐ ┌─────────────────────┐ -# │ $ns1 namespace │ │ $ns0 namespace │ │ $ns2 namespace │ -# │ │ │ │ │ │ -# │┌────────┐ │ │ ┌────────┐ │ │ ┌────────┐│ -# ││ wg1 │───────────┼───┼────────────│ lo │────────────┼───┼───────────│ wg2 ││ -# │├────────┴──────────┐│ │ ┌───────┴────────┴────────┐ │ │┌──────────┴────────┤│ -# ││192.168.241.1/24 ││ │ │(ns1) (ns2) │ │ ││192.168.241.2/24 ││ -# ││fd00::1/24 ││ │ │127.0.0.1:1 127.0.0.1:2│ │ ││fd00::2/24 ││ -# │└───────────────────┘│ │ │[::]:1 [::]:2 │ │ │└───────────────────┘│ -# └─────────────────────┘ │ └─────────────────────────┘ │ └─────────────────────┘ -# └──────────────────────────────────┘ +# ┌─────────────────────┐ ┌──────────────────────────────────────────┐ ┌─────────────────────┐ +# │ $ns1 namespace │ │ $ns0 namespace │ │ $ns2 namespace │ +# │ │ │ │ │ │ +# │┌────────┐ │ │ ┌────────┐ │ │ ┌────────┐│ +# ││ wg1 │───────────┼───┼────────────────│ lo │────────────────┼───┼───────────│ wg2 ││ +# │├────────┴──────────┐│ │ ┌───────────┴────────┴────────────┐ │ │┌──────────┴────────┤│ +# ││192.168.241.1/24 ││ │ │(ns1) (ns2) │ │ ││192.168.241.2/24 ││ +# ││fd00::1/24 ││ │ │127.0.0.1:10000 127.0.0.1:20000│ │ ││fd00::2/24 ││ +# │└───────────────────┘│ │ │[::]:10000 [::]:20000 │ │ │└───────────────────┘│ +# └─────────────────────┘ │ └─────────────────────────────────┘ │ └─────────────────────┘ +# └──────────────────────────────────────────┘ # # After the topology is prepared we run a series of TCP/UDP iperf3 tests between the # wireguard peers in $ns1 and $ns2. Note that $ns0 is the endpoint for the wg1 |