diff --git a/doc/ntp.dot b/doc/ntp.dot new file mode 100644 index 0000000000..1aa3b5a28c --- /dev/null +++ b/doc/ntp.dot @@ -0,0 +1,18 @@ +# NTP synchronization example with +# 2 external servers (E), 2 cloud servers (S) and 3 clients (C) +# render this graph with +# dot -Tsvg doc/ntp.dot -o doc/ntp.svg + +digraph G { + {E1 E2} -> {S1 S2} + + subgraph servers { + rank="same"; + S1 -> S2 -> S1 + } + + {S1 S2} -> {C1 C2 C3} + + E1[shape=square] + E2[shape=square] +} diff --git a/doc/ntp.svg b/doc/ntp.svg new file mode 100644 index 0000000000..a4006b1505 --- /dev/null +++ b/doc/ntp.svg @@ -0,0 +1,108 @@ + + + + + + +G + + +E1 + +E1 + + +S1 + +S1 + + +E1->S1 + + + + +S2 + +S2 + + +E1->S2 + + + + +E2 + +E2 + + +E2->S1 + + + + +E2->S2 + + + + +S1->S2 + + + + +C1 + +C1 + + +S1->C1 + + + + +C2 + +C2 + + +S1->C2 + + + + +C3 + +C3 + + +S1->C3 + + + + +S2->S1 + + + + +S2->C1 + + + + +S2->C2 + + + + +S2->C3 + + + + +