From: Rafael Zalamena Date: Fri, 21 Jul 2017 14:08:06 +0000 (-0300) Subject: ospf-topo: show areas in the topology dot/jpg X-Git-Tag: frr-7.1-dev~151^2~255 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=99dca1a0b81bdddbf454ee427b612be7af459a92;p=mirror%2Ffrr.git ospf-topo: show areas in the topology dot/jpg --- diff --git a/tests/topotests/ospf-topo1/test_ospf_topo1.dot b/tests/topotests/ospf-topo1/test_ospf_topo1.dot index 25ee214b1c..fc5a6f4630 100644 --- a/tests/topotests/ospf-topo1/test_ospf_topo1.dot +++ b/tests/topotests/ospf-topo1/test_ospf_topo1.dot @@ -80,16 +80,25 @@ graph ospf_topo1 { ]; # Connections - r1 -- s1 [label="eth0\n.1"]; - r1 -- s3 [label="eth1\n.2"]; + subgraph cluster0 { + label="area 0" - r2 -- s2 [label="eth0\n.1"]; - r2 -- s3 [label="eth1\n.3"]; + r1 -- s1 [label="eth0\n.1"]; + r1 -- s3 [label="eth1\n.2"]; - r3 -- s3 [label="eth0\n.1"]; - r3 -- s4 [label="eth1\n.1"]; - r3 -- s5 [label="eth2\n.2"]; + r2 -- s2 [label="eth0\n.1"]; + r2 -- s3 [label="eth1\n.3"]; - r4 -- s5 [label="eth0\n.1"]; - r4 -- s6 [label="eth1\n.100"]; + r3 -- s3 [label="eth0\n.1"]; + r3 -- s4 [label="eth1\n.1"]; + } + + subgraph cluster1 { + label="area 1" + + r3 -- s5 [label="eth2\n.2"]; + + r4 -- s5 [label="eth0\n.1"]; + r4 -- s6 [label="eth1\n.100"]; + } } diff --git a/tests/topotests/ospf-topo1/test_ospf_topo1.jpg b/tests/topotests/ospf-topo1/test_ospf_topo1.jpg index b01f46278a..974357c20a 100644 Binary files a/tests/topotests/ospf-topo1/test_ospf_topo1.jpg and b/tests/topotests/ospf-topo1/test_ospf_topo1.jpg differ