diff --git a/docs/TOPOLOGY_EXAMPLES.md b/docs/TOPOLOGY_EXAMPLES.md index 05165b9..c9c43b2 100644 --- a/docs/TOPOLOGY_EXAMPLES.md +++ b/docs/TOPOLOGY_EXAMPLES.md @@ -77,13 +77,19 @@ directly to every other country. ``` INTERNATIONAL MESH (trunk full mesh, port :5302) - [IT 222] - ╱ ╲ - ╱ ╲ - [SE 240]──────[DE 262] + [IT 222] + ╱ ╲ + [ES 214] [UA 255] + │ │ + [SE 240] ────────── [DE 262] + + Diagram shows the pentagon outline; the actual full + mesh has 10 edges (every pair trunked). See the PDF + for the rendered full-mesh diagram. every pair = bidirectional TCP trunk + HMAC handshake - TG 240xx → SE · 222xx → IT · 262xx → DE + TG 214xx → ES · 222xx → IT · 240xx → SE · + 255xx → UA · 262xx → DE ``` **Flow.** An SE client keys TG `22299`. SE's prefix table maps `222 → IT`, @@ -102,21 +108,21 @@ advertised internationally. The country gateway is the **hinge** between the international and national meshes. ``` - INTERNATIONAL DOMAIN NATIONAL DOMAIN - (trunk, port :5302) (trunk, port :5302) + INTERNATIONAL DOMAIN NATIONAL DOMAIN + (full mesh, port :5302) (full mesh, port :5302) - [SE 240] [IT-Z1 2221] - │ ╱ │ - │ ┌──── [IT 222] ────┐ ╱ │ - │ │ country gateway │ [IT-Z2 2222] - │ │ (the hinge) │ │ - │ └──── ........ ───┘ [IT-Z3 2223] - [DE 262] │ + [ES 214]──┐ [IT-Z1 2221] + ╲ ╱ │ + [SE 240]────┤ ┌──── [IT 222] ────┐ ╱ │ + ├──────┤ country gateway │ [IT-Z2 2222] + [DE 262]────┤ │ (the hinge) │ │ + ╱ └─────────────────┘ [IT-Z3 2223] + [UA 255]──┘ │ [IT-Z4 2224] - ╲ │ - full mesh - inside the - national domain + ╲ │ + (all four also trunk to (full mesh + each other — full mesh inside the + on the international side) national domain) ``` The two domains share a single node — IT 222 — which is the only Italian diff --git a/docs/TOPOLOGY_EXAMPLES.pdf b/docs/TOPOLOGY_EXAMPLES.pdf index 711589d..0322def 100644 Binary files a/docs/TOPOLOGY_EXAMPLES.pdf and b/docs/TOPOLOGY_EXAMPLES.pdf differ diff --git a/docs/topology_pdf/01_intl_mesh.dot b/docs/topology_pdf/01_intl_mesh.dot index ed26fcc..bf1ff73 100644 --- a/docs/topology_pdf/01_intl_mesh.dot +++ b/docs/topology_pdf/01_intl_mesh.dot @@ -1,4 +1,4 @@ -// International full-mesh — 3 European country gateways, all-to-all trunk. +// International full-mesh — 5 European country gateways, all-to-all trunk. graph IntlMesh { layout = circo; bgcolor = "transparent"; @@ -11,8 +11,17 @@ graph IntlMesh { IT [label="IT\n222", fillcolor="#fde2d4", color="#c0531c"]; SE [label="SE\n240"]; DE [label="DE\n262"]; + ES [label="ES\n214"]; + UA [label="UA\n255"]; IT -- SE; IT -- DE; + IT -- ES; + IT -- UA; SE -- DE; + SE -- ES; + SE -- UA; + DE -- ES; + DE -- UA; + ES -- UA; } diff --git a/docs/topology_pdf/01_intl_mesh.svg b/docs/topology_pdf/01_intl_mesh.svg index ec6d7ae..6883b36 100644 --- a/docs/topology_pdf/01_intl_mesh.svg +++ b/docs/topology_pdf/01_intl_mesh.svg @@ -4,45 +4,94 @@ - - + + IntlMesh IT - -IT -222 + +IT +222 SE - -SE -240 + +SE +240 IT--SE - + DE - -DE -262 + +DE +262 IT--DE - + + + + +ES + +ES +214 + + + +IT--ES + + + + +UA + +UA +255 + + + +IT--UA + - + SE--DE - + + + + +SE--ES + + + + +SE--UA + + + + +DE--ES + + + + +DE--UA + + + + +ES--UA + diff --git a/docs/topology_pdf/02_flat_mesh.dot b/docs/topology_pdf/02_flat_mesh.dot index 45f9c4e..8f33ccc 100644 --- a/docs/topology_pdf/02_flat_mesh.dot +++ b/docs/topology_pdf/02_flat_mesh.dot @@ -1,5 +1,7 @@ // National trunk mesh joined at IT 222 — the country gateway is the only // Italian reflector on the international mesh. Two domains sharing one node. +// International side is a full mesh of 5 countries; national side is a full +// mesh of IT 222 + 4 Italian Zones. graph NationalMesh { layout = neato; bgcolor = "transparent"; @@ -10,25 +12,33 @@ graph NationalMesh { node [shape=box, style="filled,rounded", fontname="Helvetica-Bold", fontsize=13, penwidth=2, width=1.0, height=0.65, fixedsize=true]; - // International domain on the left - SE [label="SE\n240", fillcolor="#dde8fb", color="#1a4fa3", pos="-2.8, 0.9!"]; - DE [label="DE\n262", fillcolor="#dde8fb", color="#1a4fa3", pos="-2.8,-0.9!"]; + // International domain on the left (full mesh of 5) + ES [label="ES\n214", fillcolor="#dde8fb", color="#1a4fa3", pos="-5.2, 1.9!"]; + SE [label="SE\n240", fillcolor="#dde8fb", color="#1a4fa3", pos="-3.0, 1.9!"]; + DE [label="DE\n262", fillcolor="#dde8fb", color="#1a4fa3", pos="-3.0,-1.9!"]; + UA [label="UA\n255", fillcolor="#dde8fb", color="#1a4fa3", pos="-5.2,-1.9!"]; // Country gateway in the middle (the hinge) IT [label="IT\n222", fillcolor="#fde2d4", color="#c0531c", pos="0,0!"]; - // National domain on the right - Z1 [label="IT-Z1\n2221", fillcolor="#dff3e0", color="#1e7d34", pos="2.6, 1.5!"]; - Z2 [label="IT-Z2\n2222", fillcolor="#dff3e0", color="#1e7d34", pos="3.1, 0.5!"]; - Z3 [label="IT-Z3\n2223", fillcolor="#dff3e0", color="#1e7d34", pos="3.1,-0.5!"]; - Z4 [label="IT-Z4\n2224", fillcolor="#dff3e0", color="#1e7d34", pos="2.6,-1.5!"]; + // National domain on the right (full mesh of IT + Z1..Z4). + // Mirrors the international 2x2 block on the left so IT sits as the + // shared vertex between two symmetric kites and the 10 national edges + // have room to breathe. + Z1 [label="IT-Z1\n2221", fillcolor="#dff3e0", color="#1e7d34", pos="3.0, 1.9!"]; + Z2 [label="IT-Z2\n2222", fillcolor="#dff3e0", color="#1e7d34", pos="5.2, 1.9!"]; + Z3 [label="IT-Z3\n2223", fillcolor="#dff3e0", color="#1e7d34", pos="5.2,-1.9!"]; + Z4 [label="IT-Z4\n2224", fillcolor="#dff3e0", color="#1e7d34", pos="3.0,-1.9!"]; edge [color="#5f6368", penwidth=1.2]; - // International domain (3 nodes, 3 edges) - SE -- DE; SE -- IT; DE -- IT; + // International domain — full mesh of 5 (10 edges) + ES -- SE; ES -- DE; ES -- UA; ES -- IT; + SE -- DE; SE -- UA; SE -- IT; + DE -- UA; DE -- IT; + UA -- IT; - // National domain (5 nodes, 10 edges) + // National domain — full mesh of IT + Z1..Z4 (10 edges) IT -- Z1; IT -- Z2; IT -- Z3; IT -- Z4; Z1 -- Z2; Z1 -- Z3; Z1 -- Z4; Z2 -- Z3; Z2 -- Z4; diff --git a/docs/topology_pdf/02_flat_mesh.svg b/docs/topology_pdf/02_flat_mesh.svg index 0229572..a65a363 100644 --- a/docs/topology_pdf/02_flat_mesh.svg +++ b/docs/topology_pdf/02_flat_mesh.svg @@ -4,123 +4,172 @@ - - + + NationalMesh - + +ES + +ES +214 + + + SE - -SE -240 + +SE +240 + + + +ES--SE + - + DE - -DE -262 + +DE +262 - - -SE--DE - + + +ES--DE + + + + +UA + +UA +255 + + + +ES--UA + - + IT - -IT -222 + +IT +222 + + + +ES--IT + + + + +SE--DE + + + + +SE--UA + - + SE--IT - + + + + +DE--UA + - + DE--IT - + + + + +UA--IT + - + Z1 - -IT-Z1 -2221 + +IT-Z1 +2221 - + IT--Z1 - + - + Z2 - -IT-Z2 -2222 + +IT-Z2 +2222 - + IT--Z2 - + - + Z3 - -IT-Z3 -2223 + +IT-Z3 +2223 - + IT--Z3 - + - + Z4 - -IT-Z4 -2224 + +IT-Z4 +2224 - + IT--Z4 - + - + Z1--Z2 - + - + Z1--Z3 - + - + Z1--Z4 - + - + Z2--Z3 - + - + Z2--Z4 - + - + Z3--Z4 - +