ospf-topo1: Add IPv6 addresses to diagram

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
This commit is contained in:
Martin Winter 2017-12-22 02:48:46 -08:00 committed by Donald Sharp
parent 50b15737c9
commit a1f1550fc2
2 changed files with 15 additions and 15 deletions

View File

@ -43,37 +43,37 @@ graph ospf_topo1 {
# Switches # Switches
s1 [ s1 [
label="s1\n10.0.1.0/24", label="s1\n10.0.1.0/24\n2001:db8:1::/64",
shape=oval, shape=oval,
fillcolor="#d0e0d0", fillcolor="#d0e0d0",
style=filled, style=filled,
]; ];
s2 [ s2 [
label="s2\n10.0.2.0/24", label="s2\n10.0.2.0/24\n2001:db8:2::/64",
shape=oval, shape=oval,
fillcolor="#d0e0d0", fillcolor="#d0e0d0",
style=filled, style=filled,
]; ];
s3 [ s3 [
label="s3\n10.0.3.0/24", label="s3\n10.0.3.0/24\n2001:db8:3::/64",
shape=oval, shape=oval,
fillcolor="#d0e0d0", fillcolor="#d0e0d0",
style=filled, style=filled,
]; ];
s4 [ s4 [
label="s4\n10.0.10.0/24", label="s4\n10.0.10.0/24\n2001:db8:100::/64",
shape=oval, shape=oval,
fillcolor="#d0e0d0", fillcolor="#d0e0d0",
style=filled, style=filled,
]; ];
s5 [ s5 [
label="s5\n172.16.0.0/24", label="s5\n172.16.0.0/24\n2001:db8:200::/64",
shape=oval, shape=oval,
fillcolor="#d0e0d0", fillcolor="#d0e0d0",
style=filled, style=filled,
]; ];
s6 [ s6 [
label="s6\n172.16.1.0/24", label="s6\n172.16.1.0/24\n2001:db8:300::/64",
shape=oval, shape=oval,
fillcolor="#d0e0d0", fillcolor="#d0e0d0",
style=filled, style=filled,
@ -83,22 +83,22 @@ graph ospf_topo1 {
subgraph cluster0 { subgraph cluster0 {
label="area 0" label="area 0"
r1 -- s1 [label="eth0\n.1"]; r1 -- s1 [label="eth0\n.1\n::1"];
r1 -- s3 [label="eth1\n.2"]; r1 -- s3 [label="eth1\n.2\n::2"];
r2 -- s2 [label="eth0\n.1"]; r2 -- s2 [label="eth0\n.1\n::1"];
r2 -- s3 [label="eth1\n.3"]; r2 -- s3 [label="eth1\n.3\n::3"];
r3 -- s3 [label="eth0\n.1"]; r3 -- s3 [label="eth0\n.1\n::1"];
r3 -- s4 [label="eth1\n.1"]; r3 -- s4 [label="eth1\n.1\n::1"];
} }
subgraph cluster1 { subgraph cluster1 {
label="area 1" label="area 1"
r3 -- s5 [label="eth2\n.2"]; r3 -- s5 [label="eth2\n.2\n::2"];
r4 -- s5 [label="eth0\n.1"]; r4 -- s5 [label="eth0\n.1\n::1"];
r4 -- s6 [label="eth1\n.100"]; r4 -- s6 [label="eth1\n.100\n::100"];
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 121 KiB