1
0
Fork 0
frr/tests/topotests/ospf_topo2/test_ospf_topo2.dot
Daniel Baumann 3124f89aed
Adding upstream version 10.1.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 10:03:58 +01:00

44 lines
945 B
Text

graph template {
label="ospf_topo2";
splines = "line"
# Routers
r1 [
shape=doubleoctagon,
label="r1\n192.0.2.1\n2001:db8::1",
fillcolor="#f08080",
style=filled,
];
r2 [
shape=doubleoctagon,
label="r2\n\192.0.2.2\n2001:db8::2",
fillcolor="#f08080",
style=filled,
];
r3 [
shape=doubleoctagon,
label="r3\n192.0.2.3\n2001:db8::3",
fillcolor="#f08080",
style=filled,
];
r4 [
shape=doubleoctagon,
label="r4\n192.0.2.4\n2001:db8::4",
fillcolor="#f08080",
style=filled,
];
# Connections
r1 -- r2 [label="eth1"];
r1 -- r2 [label="eth2"];
r2 -- r3 [label="eth3\neth1"];
r1 -- r4 [label="eth3\neth1"];
r4 -- r3 [label="eth2"];
r4 -- r3 [label="eth3"];
# Group r1 and r2 above, r3 and r4 below
{ rank=min; r1; r2; }
{ rank=max; r3; r4; }
}