This commit is contained in:
forgejo-actions 2026-10-24 20:20:27 +00:00
commit 5c8905ab13
205 changed files with 34743 additions and 219 deletions

View file

@ -0,0 +1,174 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 900" width="1200" height="900" role="img" aria-label="Détail d'un cluster : routeurs, route reflectors, hyperviseurs, netns et VRF des VPC, plans de données et de contrôle">
<style>
.lbl { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; fill: #e6edf3; }
.sub { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; fill: #9198a1; }
.grp { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 12px; font-weight: 600; fill: #9198a1; letter-spacing: .04em; }
.ctrlt { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; fill: #c297ff; }
.datat { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #4493f8; }
.orcht { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #3fb950; }
.nett { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #f0883e; }
.box { fill: #22272e; stroke: #6e7781; stroke-width: 1.5; }
.future { fill: #22272e; stroke: #6e7781; stroke-width: 1.5; stroke-dasharray: 6 4; }
.group { fill: #1c2128; stroke: #444c56; stroke-width: 1.5; }
.pill { fill: #22272e; stroke: #9198a1; stroke-width: 1.5; }
.bus { stroke: #9198a1; stroke-width: 4; fill: none; stroke-linecap: round; }
.link { stroke: #9198a1; stroke-width: 1.8; fill: none; }
.ctrl { stroke: #c297ff; stroke-width: 1.6; fill: none; stroke-dasharray: 5 4; }
.data { stroke: #4493f8; stroke-width: 3; fill: none; }
.orch { stroke: #3fb950; stroke-width: 2; fill: none; stroke-dasharray: 8 4; }
.net { stroke: #f0883e; stroke-width: 2.4; fill: none; }
.head-ctrl { fill: #c297ff; }
.head-data { fill: #4493f8; }
.head-orch { fill: #3fb950; }
.head-net { fill: #f0883e; }
.made { stroke: #6e7781; stroke-width: 1.5; fill: none; stroke-dasharray: 2 3; }
.head-made { fill: #6e7781; }
</style>
<defs>
<marker id="a-ctrl" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="head-ctrl" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-data" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="5" markerHeight="5" orient="auto-start-reverse"><path class="head-data" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-orch" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path class="head-orch" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-net" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path class="head-net" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-made" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="head-made" d="M0 0 L10 5 L0 10 z"/></marker>
</defs>
<rect class="group" x="40" y="20" width="440" height="140" rx="8"/>
<text class="grp" x="60" y="44">ROUTEURS DU CLUSTER · AS 65100</text>
<rect class="box" x="60" y="52" width="190" height="56" rx="6"/>
<text class="lbl" x="155.0" y="77.0" text-anchor="middle">routeur 1</text>
<text class="sub" x="155.0" y="94.0" text-anchor="middle">169.254.0.1/28</text>
<rect class="box" x="270" y="52" width="190" height="56" rx="6"/>
<text class="lbl" x="365.0" y="77.0" text-anchor="middle">routeur 2</text>
<text class="sub" x="365.0" y="94.0" text-anchor="middle">169.254.0.2/28</text>
<text class="sub" x="260" y="132" text-anchor="middle">passerelle de l'underlay en VRRP</text>
<text class="sub" x="260" y="148" text-anchor="middle">annoncent les loopbacks des RR, ne leur renvoient rien</text>
<rect class="group" x="620" y="20" width="540" height="140" rx="8"/>
<text class="grp" x="640" y="44">ROUTE REFLECTORS · AS 65000</text>
<rect class="box" x="640" y="52" width="240" height="56" rx="6"/>
<text class="lbl" x="760.0" y="77.0" text-anchor="middle">route reflector 1</text>
<text class="sub" x="760.0" y="94.0" text-anchor="middle">lo 10.255.255.1/32 · 169.254.0.3/28</text>
<rect class="box" x="900" y="52" width="240" height="56" rx="6"/>
<text class="lbl" x="1020.0" y="77.0" text-anchor="middle">route reflector 2</text>
<text class="sub" x="1020.0" y="94.0" text-anchor="middle">lo 10.255.255.2/32 · 169.254.0.4/28</text>
<text class="sub" x="890" y="132" text-anchor="middle">router-id, cluster-id et source des sessions EVPN : la loopback</text>
<text class="sub" x="890" y="148" text-anchor="middle">au moins un, deux prévus · AS 64600 face aux hyperviseurs (local-as)</text>
<path class="ctrl" d="M480 80 H640" marker-start="url(#a-ctrl)" marker-end="url(#a-ctrl)"/>
<text class="ctrlt" x="560" y="72" text-anchor="middle">eBGP · BFD</text>
<text class="ctrlt" x="560" y="98" text-anchor="middle">loopbacks seules</text>
<line class="bus" x1="40" y1="200" x2="1160" y2="200"/>
<text class="sub" x="600" y="192" text-anchor="middle">segment underlay · L2 · lien routeurs ↔ RR en 169.254.0.0/28</text>
<path class="link" d="M260 160 V200"/>
<path class="link" d="M890 160 V200"/>
<path class="data" d="M200 236 H780"/>
<text class="datat" x="490" y="230" text-anchor="middle">VXLAN · UDP 4789 · de VTEP à VTEP</text>
<path class="data" d="M200 236 V280"/>
<path class="data" d="M780 236 V280"/>
<rect class="group" x="40" y="250" width="540" height="450" rx="8"/>
<text class="grp" x="60" y="274">HYPERVISEUR 1</text>
<rect class="box" x="60" y="280" width="180" height="52" rx="6"/>
<text class="lbl" x="150.0" y="303.0" text-anchor="middle">br-000000</text>
<text class="sub" x="150.0" y="320.0" text-anchor="middle">IP de l'hyperviseur = VTEP</text>
<rect class="box" x="60" y="350" width="180" height="62" rx="6"/>
<text class="lbl" x="150.0" y="370.0" text-anchor="middle">FRR</text>
<text class="sub" x="150.0" y="387.0" text-anchor="middle">bgpd · AS 64600</text>
<text class="sub" x="150.0" y="402.0" text-anchor="middle">advertise-all-vni</text>
<rect class="box" x="60" y="430" width="180" height="52" rx="6"/>
<text class="lbl" x="150.0" y="453.0" text-anchor="middle">agent</text>
<text class="sub" x="150.0" y="470.0" text-anchor="middle">API REST · Badger</text>
<rect class="box" x="60" y="510" width="180" height="66" rx="6"/>
<text class="lbl" x="150.0" y="532.0" text-anchor="middle">br-&lt;subnet&gt; de l'hôte</text>
<text class="sub" x="150.0" y="549.0" text-anchor="middle">vxlan-&lt;vni&gt;, sans learning</text>
<text class="sub" x="150.0" y="564.0" text-anchor="middle">veth v-&lt;id&gt;-e</text>
<text class="sub" x="150" y="596" text-anchor="middle">veth v-&lt;id&gt;-e ↔ v-&lt;id&gt;-i</text>
<rect class="group" x="270" y="280" width="290" height="300" rx="8"/>
<text class="grp" x="290" y="304">NETNS DU VPC</text>
<rect class="box" x="285" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="347.5" y="334.0" text-anchor="middle">gw-&lt;subnet&gt;</text>
<text class="sub" x="347.5" y="351.0" text-anchor="middle">gateway .254</text>
<text class="sub" x="347.5" y="366.0" text-anchor="middle">MAC anycast</text>
<rect class="box" x="420" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="482.5" y="334.0" text-anchor="middle">DHCP</text>
<text class="sub" x="482.5" y="351.0" text-anchor="middle">métadonnées</text>
<text class="sub" x="482.5" y="366.0" text-anchor="middle">écoutent sur gw-</text>
<rect class="box" x="285" y="400" width="260" height="52" rx="6"/>
<text class="lbl" x="415.0" y="423.0" text-anchor="middle">br-&lt;subnet&gt; du netns</text>
<text class="sub" x="415.0" y="440.0" text-anchor="middle">adresse d'émission .253 · v-&lt;id&gt;-i</text>
<rect class="box" x="285" y="478" width="260" height="52" rx="6"/>
<text class="lbl" x="415.0" y="501.0" text-anchor="middle">VM</text>
<text class="sub" x="415.0" y="518.0" text-anchor="middle">QEMU / KVM · tap dans le netns</text>
<text class="sub" x="415" y="552" text-anchor="middle">macvlan gw- posé sur br-, confiné à l'hôte (#57)</text>
<rect class="box" x="270" y="610" width="290" height="62" rx="6"/>
<text class="lbl" x="415.0" y="630.0" text-anchor="middle">vrf-&lt;vpc&gt; · L3VNI</text>
<text class="sub" x="415.0" y="647.0" text-anchor="middle">brl3 · vxl3 · veth de transit</text>
<text class="sub" x="415.0" y="662.0" text-anchor="middle">routage entre hyperviseurs (#41)</text>
<path class="link" d="M347 378 V400"/>
<path class="link" d="M240 538 H255 V430 H285"/>
<path class="link" d="M415 452 V478"/>
<text class="sub" x="423" y="469" text-anchor="start">tap</text>
<path class="link" d="M415 580 V610"/>
<text class="sub" x="423" y="600" text-anchor="start">transit</text>
<path class="made" d="M60 538 H50 V306 H60" marker-end="url(#a-made)"/>
<path class="made" d="M240 456 H270" marker-end="url(#a-made)"/>
<path class="link" d="M225 280 V200"/>
<path class="ctrl" d="M240 365 H248 V200"/>
<rect class="group" x="620" y="250" width="540" height="450" rx="8"/>
<text class="grp" x="640" y="274">HYPERVISEUR 2</text>
<rect class="box" x="640" y="280" width="180" height="52" rx="6"/>
<text class="lbl" x="730.0" y="303.0" text-anchor="middle">br-000000</text>
<text class="sub" x="730.0" y="320.0" text-anchor="middle">IP de l'hyperviseur = VTEP</text>
<rect class="box" x="640" y="350" width="180" height="62" rx="6"/>
<text class="lbl" x="730.0" y="370.0" text-anchor="middle">FRR</text>
<text class="sub" x="730.0" y="387.0" text-anchor="middle">bgpd · AS 64600</text>
<text class="sub" x="730.0" y="402.0" text-anchor="middle">advertise-all-vni</text>
<rect class="box" x="640" y="430" width="180" height="52" rx="6"/>
<text class="lbl" x="730.0" y="453.0" text-anchor="middle">agent</text>
<text class="sub" x="730.0" y="470.0" text-anchor="middle">API REST · Badger</text>
<rect class="box" x="640" y="510" width="180" height="66" rx="6"/>
<text class="lbl" x="730.0" y="532.0" text-anchor="middle">br-&lt;subnet&gt; de l'hôte</text>
<text class="sub" x="730.0" y="549.0" text-anchor="middle">vxlan-&lt;vni&gt;, sans learning</text>
<text class="sub" x="730.0" y="564.0" text-anchor="middle">veth v-&lt;id&gt;-e</text>
<text class="sub" x="730" y="596" text-anchor="middle">veth v-&lt;id&gt;-e ↔ v-&lt;id&gt;-i</text>
<rect class="group" x="850" y="280" width="290" height="300" rx="8"/>
<text class="grp" x="870" y="304">NETNS DU VPC</text>
<rect class="box" x="865" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="927.5" y="334.0" text-anchor="middle">gw-&lt;subnet&gt;</text>
<text class="sub" x="927.5" y="351.0" text-anchor="middle">gateway .254</text>
<text class="sub" x="927.5" y="366.0" text-anchor="middle">MAC anycast</text>
<rect class="box" x="1000" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="1062.5" y="334.0" text-anchor="middle">DHCP</text>
<text class="sub" x="1062.5" y="351.0" text-anchor="middle">métadonnées</text>
<text class="sub" x="1062.5" y="366.0" text-anchor="middle">écoutent sur gw-</text>
<rect class="box" x="865" y="400" width="260" height="52" rx="6"/>
<text class="lbl" x="995.0" y="423.0" text-anchor="middle">br-&lt;subnet&gt; du netns</text>
<text class="sub" x="995.0" y="440.0" text-anchor="middle">adresse d'émission .253 · v-&lt;id&gt;-i</text>
<rect class="box" x="865" y="478" width="260" height="52" rx="6"/>
<text class="lbl" x="995.0" y="501.0" text-anchor="middle">VM</text>
<text class="sub" x="995.0" y="518.0" text-anchor="middle">QEMU / KVM · tap dans le netns</text>
<text class="sub" x="995" y="552" text-anchor="middle">macvlan gw- posé sur br-, confiné à l'hôte (#57)</text>
<rect class="box" x="850" y="610" width="290" height="62" rx="6"/>
<text class="lbl" x="995.0" y="630.0" text-anchor="middle">vrf-&lt;vpc&gt; · L3VNI</text>
<text class="sub" x="995.0" y="647.0" text-anchor="middle">brl3 · vxl3 · veth de transit</text>
<text class="sub" x="995.0" y="662.0" text-anchor="middle">routage entre hyperviseurs (#41)</text>
<path class="link" d="M927 378 V400"/>
<path class="link" d="M820 538 H835 V430 H865"/>
<path class="link" d="M995 452 V478"/>
<text class="sub" x="1003" y="469" text-anchor="start">tap</text>
<path class="link" d="M995 580 V610"/>
<text class="sub" x="1003" y="600" text-anchor="start">transit</text>
<path class="made" d="M640 538 H630 V306 H640" marker-end="url(#a-made)"/>
<path class="made" d="M820 456 H850" marker-end="url(#a-made)"/>
<path class="link" d="M805 280 V200"/>
<path class="ctrl" d="M820 365 H828 V200"/>
<text class="ctrlt" x="1150" y="230" text-anchor="end">iBGP l2vpn evpn · AS 64600 (FRR → RR)</text>
<line class="link" x1="60" y1="736" x2="110" y2="736"/>
<text class="sub" x="118" y="740" text-anchor="start">lien L2 / interface</text>
<path class="data" d="M260 736 H310"/>
<text class="sub" x="318" y="740" text-anchor="start">plan de données : tunnels VXLAN</text>
<path class="ctrl" d="M520 736 H570"/>
<text class="sub" x="578" y="740" text-anchor="start">plan de contrôle : sessions BGP</text>
<path class="made" d="M790 736 H840" marker-end="url(#a-made)"/>
<text class="sub" x="848" y="740" text-anchor="start">créé par l'agent</text>
<text class="sub" x="60" y="780" text-anchor="start">Les hyperviseurs joignent les loopbacks des route reflectors par leur passerelle : les routeurs les ont apprises en eBGP, sans rien leur renvoyer.</text>
<text class="sub" x="60" y="798" text-anchor="start">Les route reflectors acceptent toute session venant de l'underlay (bgp listen range) et réfléchissent les routes EVPN entre hyperviseurs ; chaque FRR en peuple la FDB des VXLAN locaux.</text>
<text class="sub" x="60" y="816" text-anchor="start">La gateway d'un subnet a la même IP et la même MAC sur tous les hôtes ; chaque netns émet depuis son adresse d'émission. Les subnets d'un VPC se joignent par son L3VNI.</text>
<text class="sub" x="60" y="834" text-anchor="start">ASN et loopbacks : valeurs de production (#50). Vue d'ensemble (bordures, Internet, orchestration, plusieurs clusters) : schéma précédent.</text>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -0,0 +1,174 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 900" width="1200" height="900" role="img" aria-label="Détail d'un cluster : routeurs, route reflectors, hyperviseurs, netns et VRF des VPC, plans de données et de contrôle">
<style>
.lbl { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; fill: #1f2328; }
.sub { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; fill: #57606a; }
.grp { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 12px; font-weight: 600; fill: #57606a; letter-spacing: .04em; }
.ctrlt { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; fill: #8250df; }
.datat { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #0969da; }
.orcht { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #1a7f37; }
.nett { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #bc4c00; }
.box { fill: #ffffff; stroke: #8c959f; stroke-width: 1.5; }
.future { fill: #ffffff; stroke: #8c959f; stroke-width: 1.5; stroke-dasharray: 6 4; }
.group { fill: #f6f8fa; stroke: #d0d7de; stroke-width: 1.5; }
.pill { fill: #ffffff; stroke: #57606a; stroke-width: 1.5; }
.bus { stroke: #57606a; stroke-width: 4; fill: none; stroke-linecap: round; }
.link { stroke: #57606a; stroke-width: 1.8; fill: none; }
.ctrl { stroke: #8250df; stroke-width: 1.6; fill: none; stroke-dasharray: 5 4; }
.data { stroke: #0969da; stroke-width: 3; fill: none; }
.orch { stroke: #1a7f37; stroke-width: 2; fill: none; stroke-dasharray: 8 4; }
.net { stroke: #bc4c00; stroke-width: 2.4; fill: none; }
.head-ctrl { fill: #8250df; }
.head-data { fill: #0969da; }
.head-orch { fill: #1a7f37; }
.head-net { fill: #bc4c00; }
.made { stroke: #8c959f; stroke-width: 1.5; fill: none; stroke-dasharray: 2 3; }
.head-made { fill: #8c959f; }
</style>
<defs>
<marker id="a-ctrl" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="head-ctrl" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-data" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="5" markerHeight="5" orient="auto-start-reverse"><path class="head-data" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-orch" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path class="head-orch" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-net" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path class="head-net" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-made" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="head-made" d="M0 0 L10 5 L0 10 z"/></marker>
</defs>
<rect class="group" x="40" y="20" width="440" height="140" rx="8"/>
<text class="grp" x="60" y="44">ROUTEURS DU CLUSTER · AS 65100</text>
<rect class="box" x="60" y="52" width="190" height="56" rx="6"/>
<text class="lbl" x="155.0" y="77.0" text-anchor="middle">routeur 1</text>
<text class="sub" x="155.0" y="94.0" text-anchor="middle">169.254.0.1/28</text>
<rect class="box" x="270" y="52" width="190" height="56" rx="6"/>
<text class="lbl" x="365.0" y="77.0" text-anchor="middle">routeur 2</text>
<text class="sub" x="365.0" y="94.0" text-anchor="middle">169.254.0.2/28</text>
<text class="sub" x="260" y="132" text-anchor="middle">passerelle de l'underlay en VRRP</text>
<text class="sub" x="260" y="148" text-anchor="middle">annoncent les loopbacks des RR, ne leur renvoient rien</text>
<rect class="group" x="620" y="20" width="540" height="140" rx="8"/>
<text class="grp" x="640" y="44">ROUTE REFLECTORS · AS 65000</text>
<rect class="box" x="640" y="52" width="240" height="56" rx="6"/>
<text class="lbl" x="760.0" y="77.0" text-anchor="middle">route reflector 1</text>
<text class="sub" x="760.0" y="94.0" text-anchor="middle">lo 10.255.255.1/32 · 169.254.0.3/28</text>
<rect class="box" x="900" y="52" width="240" height="56" rx="6"/>
<text class="lbl" x="1020.0" y="77.0" text-anchor="middle">route reflector 2</text>
<text class="sub" x="1020.0" y="94.0" text-anchor="middle">lo 10.255.255.2/32 · 169.254.0.4/28</text>
<text class="sub" x="890" y="132" text-anchor="middle">router-id, cluster-id et source des sessions EVPN : la loopback</text>
<text class="sub" x="890" y="148" text-anchor="middle">au moins un, deux prévus · AS 64600 face aux hyperviseurs (local-as)</text>
<path class="ctrl" d="M480 80 H640" marker-start="url(#a-ctrl)" marker-end="url(#a-ctrl)"/>
<text class="ctrlt" x="560" y="72" text-anchor="middle">eBGP · BFD</text>
<text class="ctrlt" x="560" y="98" text-anchor="middle">loopbacks seules</text>
<line class="bus" x1="40" y1="200" x2="1160" y2="200"/>
<text class="sub" x="600" y="192" text-anchor="middle">segment underlay · L2 · lien routeurs ↔ RR en 169.254.0.0/28</text>
<path class="link" d="M260 160 V200"/>
<path class="link" d="M890 160 V200"/>
<path class="data" d="M200 236 H780"/>
<text class="datat" x="490" y="230" text-anchor="middle">VXLAN · UDP 4789 · de VTEP à VTEP</text>
<path class="data" d="M200 236 V280"/>
<path class="data" d="M780 236 V280"/>
<rect class="group" x="40" y="250" width="540" height="450" rx="8"/>
<text class="grp" x="60" y="274">HYPERVISEUR 1</text>
<rect class="box" x="60" y="280" width="180" height="52" rx="6"/>
<text class="lbl" x="150.0" y="303.0" text-anchor="middle">br-000000</text>
<text class="sub" x="150.0" y="320.0" text-anchor="middle">IP de l'hyperviseur = VTEP</text>
<rect class="box" x="60" y="350" width="180" height="62" rx="6"/>
<text class="lbl" x="150.0" y="370.0" text-anchor="middle">FRR</text>
<text class="sub" x="150.0" y="387.0" text-anchor="middle">bgpd · AS 64600</text>
<text class="sub" x="150.0" y="402.0" text-anchor="middle">advertise-all-vni</text>
<rect class="box" x="60" y="430" width="180" height="52" rx="6"/>
<text class="lbl" x="150.0" y="453.0" text-anchor="middle">agent</text>
<text class="sub" x="150.0" y="470.0" text-anchor="middle">API REST · Badger</text>
<rect class="box" x="60" y="510" width="180" height="66" rx="6"/>
<text class="lbl" x="150.0" y="532.0" text-anchor="middle">br-&lt;subnet&gt; de l'hôte</text>
<text class="sub" x="150.0" y="549.0" text-anchor="middle">vxlan-&lt;vni&gt;, sans learning</text>
<text class="sub" x="150.0" y="564.0" text-anchor="middle">veth v-&lt;id&gt;-e</text>
<text class="sub" x="150" y="596" text-anchor="middle">veth v-&lt;id&gt;-e ↔ v-&lt;id&gt;-i</text>
<rect class="group" x="270" y="280" width="290" height="300" rx="8"/>
<text class="grp" x="290" y="304">NETNS DU VPC</text>
<rect class="box" x="285" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="347.5" y="334.0" text-anchor="middle">gw-&lt;subnet&gt;</text>
<text class="sub" x="347.5" y="351.0" text-anchor="middle">gateway .254</text>
<text class="sub" x="347.5" y="366.0" text-anchor="middle">MAC anycast</text>
<rect class="box" x="420" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="482.5" y="334.0" text-anchor="middle">DHCP</text>
<text class="sub" x="482.5" y="351.0" text-anchor="middle">métadonnées</text>
<text class="sub" x="482.5" y="366.0" text-anchor="middle">écoutent sur gw-</text>
<rect class="box" x="285" y="400" width="260" height="52" rx="6"/>
<text class="lbl" x="415.0" y="423.0" text-anchor="middle">br-&lt;subnet&gt; du netns</text>
<text class="sub" x="415.0" y="440.0" text-anchor="middle">adresse d'émission .253 · v-&lt;id&gt;-i</text>
<rect class="box" x="285" y="478" width="260" height="52" rx="6"/>
<text class="lbl" x="415.0" y="501.0" text-anchor="middle">VM</text>
<text class="sub" x="415.0" y="518.0" text-anchor="middle">QEMU / KVM · tap dans le netns</text>
<text class="sub" x="415" y="552" text-anchor="middle">macvlan gw- posé sur br-, confiné à l'hôte (#57)</text>
<rect class="box" x="270" y="610" width="290" height="62" rx="6"/>
<text class="lbl" x="415.0" y="630.0" text-anchor="middle">vrf-&lt;vpc&gt; · L3VNI</text>
<text class="sub" x="415.0" y="647.0" text-anchor="middle">brl3 · vxl3 · veth de transit</text>
<text class="sub" x="415.0" y="662.0" text-anchor="middle">routage entre hyperviseurs (#41)</text>
<path class="link" d="M347 378 V400"/>
<path class="link" d="M240 538 H255 V430 H285"/>
<path class="link" d="M415 452 V478"/>
<text class="sub" x="423" y="469" text-anchor="start">tap</text>
<path class="link" d="M415 580 V610"/>
<text class="sub" x="423" y="600" text-anchor="start">transit</text>
<path class="made" d="M60 538 H50 V306 H60" marker-end="url(#a-made)"/>
<path class="made" d="M240 456 H270" marker-end="url(#a-made)"/>
<path class="link" d="M225 280 V200"/>
<path class="ctrl" d="M240 365 H248 V200"/>
<rect class="group" x="620" y="250" width="540" height="450" rx="8"/>
<text class="grp" x="640" y="274">HYPERVISEUR 2</text>
<rect class="box" x="640" y="280" width="180" height="52" rx="6"/>
<text class="lbl" x="730.0" y="303.0" text-anchor="middle">br-000000</text>
<text class="sub" x="730.0" y="320.0" text-anchor="middle">IP de l'hyperviseur = VTEP</text>
<rect class="box" x="640" y="350" width="180" height="62" rx="6"/>
<text class="lbl" x="730.0" y="370.0" text-anchor="middle">FRR</text>
<text class="sub" x="730.0" y="387.0" text-anchor="middle">bgpd · AS 64600</text>
<text class="sub" x="730.0" y="402.0" text-anchor="middle">advertise-all-vni</text>
<rect class="box" x="640" y="430" width="180" height="52" rx="6"/>
<text class="lbl" x="730.0" y="453.0" text-anchor="middle">agent</text>
<text class="sub" x="730.0" y="470.0" text-anchor="middle">API REST · Badger</text>
<rect class="box" x="640" y="510" width="180" height="66" rx="6"/>
<text class="lbl" x="730.0" y="532.0" text-anchor="middle">br-&lt;subnet&gt; de l'hôte</text>
<text class="sub" x="730.0" y="549.0" text-anchor="middle">vxlan-&lt;vni&gt;, sans learning</text>
<text class="sub" x="730.0" y="564.0" text-anchor="middle">veth v-&lt;id&gt;-e</text>
<text class="sub" x="730" y="596" text-anchor="middle">veth v-&lt;id&gt;-e ↔ v-&lt;id&gt;-i</text>
<rect class="group" x="850" y="280" width="290" height="300" rx="8"/>
<text class="grp" x="870" y="304">NETNS DU VPC</text>
<rect class="box" x="865" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="927.5" y="334.0" text-anchor="middle">gw-&lt;subnet&gt;</text>
<text class="sub" x="927.5" y="351.0" text-anchor="middle">gateway .254</text>
<text class="sub" x="927.5" y="366.0" text-anchor="middle">MAC anycast</text>
<rect class="box" x="1000" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="1062.5" y="334.0" text-anchor="middle">DHCP</text>
<text class="sub" x="1062.5" y="351.0" text-anchor="middle">métadonnées</text>
<text class="sub" x="1062.5" y="366.0" text-anchor="middle">écoutent sur gw-</text>
<rect class="box" x="865" y="400" width="260" height="52" rx="6"/>
<text class="lbl" x="995.0" y="423.0" text-anchor="middle">br-&lt;subnet&gt; du netns</text>
<text class="sub" x="995.0" y="440.0" text-anchor="middle">adresse d'émission .253 · v-&lt;id&gt;-i</text>
<rect class="box" x="865" y="478" width="260" height="52" rx="6"/>
<text class="lbl" x="995.0" y="501.0" text-anchor="middle">VM</text>
<text class="sub" x="995.0" y="518.0" text-anchor="middle">QEMU / KVM · tap dans le netns</text>
<text class="sub" x="995" y="552" text-anchor="middle">macvlan gw- posé sur br-, confiné à l'hôte (#57)</text>
<rect class="box" x="850" y="610" width="290" height="62" rx="6"/>
<text class="lbl" x="995.0" y="630.0" text-anchor="middle">vrf-&lt;vpc&gt; · L3VNI</text>
<text class="sub" x="995.0" y="647.0" text-anchor="middle">brl3 · vxl3 · veth de transit</text>
<text class="sub" x="995.0" y="662.0" text-anchor="middle">routage entre hyperviseurs (#41)</text>
<path class="link" d="M927 378 V400"/>
<path class="link" d="M820 538 H835 V430 H865"/>
<path class="link" d="M995 452 V478"/>
<text class="sub" x="1003" y="469" text-anchor="start">tap</text>
<path class="link" d="M995 580 V610"/>
<text class="sub" x="1003" y="600" text-anchor="start">transit</text>
<path class="made" d="M640 538 H630 V306 H640" marker-end="url(#a-made)"/>
<path class="made" d="M820 456 H850" marker-end="url(#a-made)"/>
<path class="link" d="M805 280 V200"/>
<path class="ctrl" d="M820 365 H828 V200"/>
<text class="ctrlt" x="1150" y="230" text-anchor="end">iBGP l2vpn evpn · AS 64600 (FRR → RR)</text>
<line class="link" x1="60" y1="736" x2="110" y2="736"/>
<text class="sub" x="118" y="740" text-anchor="start">lien L2 / interface</text>
<path class="data" d="M260 736 H310"/>
<text class="sub" x="318" y="740" text-anchor="start">plan de données : tunnels VXLAN</text>
<path class="ctrl" d="M520 736 H570"/>
<text class="sub" x="578" y="740" text-anchor="start">plan de contrôle : sessions BGP</text>
<path class="made" d="M790 736 H840" marker-end="url(#a-made)"/>
<text class="sub" x="848" y="740" text-anchor="start">créé par l'agent</text>
<text class="sub" x="60" y="780" text-anchor="start">Les hyperviseurs joignent les loopbacks des route reflectors par leur passerelle : les routeurs les ont apprises en eBGP, sans rien leur renvoyer.</text>
<text class="sub" x="60" y="798" text-anchor="start">Les route reflectors acceptent toute session venant de l'underlay (bgp listen range) et réfléchissent les routes EVPN entre hyperviseurs ; chaque FRR en peuple la FDB des VXLAN locaux.</text>
<text class="sub" x="60" y="816" text-anchor="start">La gateway d'un subnet a la même IP et la même MAC sur tous les hôtes ; chaque netns émet depuis son adresse d'émission. Les subnets d'un VPC se joignent par son L3VNI.</text>
<text class="sub" x="60" y="834" text-anchor="start">ASN et loopbacks : valeurs de production (#50). Vue d'ensemble (bordures, Internet, orchestration, plusieurs clusters) : schéma précédent.</text>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -0,0 +1,195 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1500 1210" width="1500" height="1210" role="img" aria-label="Vue d'ensemble : Internet, bordures, deux clusters, route reflectors, services partagés et hyperviseurs">
<style>
.lbl { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; fill: #e6edf3; }
.sub { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; fill: #9198a1; }
.grp { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 12px; font-weight: 600; fill: #9198a1; letter-spacing: .04em; }
.ctrlt { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; fill: #c297ff; }
.datat { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #4493f8; }
.orcht { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #3fb950; }
.nett { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #f0883e; }
.box { fill: #22272e; stroke: #6e7781; stroke-width: 1.5; }
.future { fill: #22272e; stroke: #6e7781; stroke-width: 1.5; stroke-dasharray: 6 4; }
.group { fill: #1c2128; stroke: #444c56; stroke-width: 1.5; }
.pill { fill: #22272e; stroke: #9198a1; stroke-width: 1.5; }
.bus { stroke: #9198a1; stroke-width: 4; fill: none; stroke-linecap: round; }
.link { stroke: #9198a1; stroke-width: 1.8; fill: none; }
.ctrl { stroke: #c297ff; stroke-width: 1.6; fill: none; stroke-dasharray: 5 4; }
.data { stroke: #4493f8; stroke-width: 3; fill: none; }
.orch { stroke: #3fb950; stroke-width: 2; fill: none; stroke-dasharray: 8 4; }
.net { stroke: #f0883e; stroke-width: 2.4; fill: none; }
.head-ctrl { fill: #c297ff; }
.head-data { fill: #4493f8; }
.head-orch { fill: #3fb950; }
.head-net { fill: #f0883e; }
</style>
<defs>
<marker id="a-ctrl" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="head-ctrl" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-data" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="5" markerHeight="5" orient="auto-start-reverse"><path class="head-data" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-orch" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path class="head-orch" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-net" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path class="head-net" d="M0 0 L10 5 L0 10 z"/></marker>
</defs>
<rect class="pill" x="600" y="20" width="300" height="56" rx="28"/>
<text class="lbl" x="750" y="54" text-anchor="middle">Internet</text>
<path class="net" d="M750 76 V110" marker-start="url(#a-net)" marker-end="url(#a-net)"/>
<text class="nett" x="758" y="98" text-anchor="start">agrégats publics</text>
<rect class="group" x="560" y="110" width="380" height="130" rx="8"/>
<text class="grp" x="580" y="134">BORDURES · AS PUBLIC · #31</text>
<rect class="future" x="580" y="140" width="160" height="52" rx="6"/>
<text class="lbl" x="660.0" y="163.0" text-anchor="middle">bordure 1</text>
<text class="sub" x="660.0" y="180.0" text-anchor="middle">gateway anycast</text>
<rect class="future" x="760" y="140" width="160" height="52" rx="6"/>
<text class="lbl" x="840.0" y="163.0" text-anchor="middle">bordure 2</text>
<text class="sub" x="840.0" y="180.0" text-anchor="middle">gateway anycast</text>
<text class="sub" x="750" y="214" text-anchor="middle">même IP et même MAC de gateway · sans état</text>
<text class="sub" x="750" y="230" text-anchor="middle">VTEP · VNI 66001 (public)</text>
<rect class="group" x="1180" y="20" width="280" height="100" rx="8"/>
<text class="grp" x="1200" y="44">POSTE DE L'OPÉRATEUR</text>
<rect class="future" x="1200" y="50" width="240" height="52" rx="6"/>
<text class="lbl" x="1320.0" y="73.0" text-anchor="middle">Terraform / OpenTofu</text>
<text class="sub" x="1320.0" y="90.0" text-anchor="middle">provider two · #72</text>
<path class="net" d="M1180 64 H900" marker-end="url(#a-net)"/>
<text class="nett" x="1040" y="56" text-anchor="middle">API publique de l'orchestrateur</text>
<rect class="group" x="40" y="280" width="480" height="130" rx="8"/>
<text class="grp" x="60" y="304">CLUSTER A</text>
<rect class="box" x="60" y="312" width="210" height="56" rx="6"/>
<text class="lbl" x="165.0" y="337.0" text-anchor="middle">routeur 1</text>
<text class="sub" x="165.0" y="354.0" text-anchor="middle">169.254.0.1/28</text>
<rect class="box" x="290" y="312" width="210" height="56" rx="6"/>
<text class="lbl" x="395.0" y="337.0" text-anchor="middle">routeur 2</text>
<text class="sub" x="395.0" y="354.0" text-anchor="middle">169.254.0.2/28</text>
<text class="sub" x="280" y="392" text-anchor="middle">VRRP · VTEP · VNI 66000 · NAT vers le VNI 66000 · #72</text>
<rect class="group" x="1200" y="280" width="260" height="130" rx="8"/>
<text class="grp" x="1220" y="304">CLUSTER B</text>
<rect class="box" x="1215" y="312" width="110" height="56" rx="6"/>
<text class="lbl" x="1270.0" y="337.0" text-anchor="middle">routeur 1</text>
<text class="sub" x="1270.0" y="354.0" text-anchor="middle">169.254.0.1/28</text>
<rect class="box" x="1335" y="312" width="110" height="56" rx="6"/>
<text class="lbl" x="1390.0" y="337.0" text-anchor="middle">routeur 2</text>
<text class="sub" x="1390.0" y="354.0" text-anchor="middle">169.254.0.2/28</text>
<text class="sub" x="1330" y="388" text-anchor="middle">VRRP · VTEP · VNI 66000</text>
<text class="sub" x="1330" y="403" text-anchor="middle">NAT vers le VNI 66000 · #72</text>
<line class="bus" x1="1200" y1="460" x2="1460" y2="460"/>
<text class="sub" x="1205" y="478" text-anchor="start">underlay B · VXLAN UDP 4789 · BGP</text>
<path class="link" d="M1230 368 V460"/>
<path class="link" d="M1430 368 V460"/>
<rect class="box" x="1215" y="505" width="220" height="52" rx="6"/>
<text class="lbl" x="1325.0" y="528.0" text-anchor="middle">route reflector 2</text>
<text class="sub" x="1325.0" y="545.0" text-anchor="middle">lo 10.255.255.2/32 · 169.254.0.4/28</text>
<path class="link" d="M1440 460 V505"/>
<text class="ctrlt" x="1434" y="498" text-anchor="end">iBGP EVPN</text>
<rect class="group" x="1200" y="600" width="260" height="410" rx="8"/>
<text class="grp" x="1220" y="624">HYPERVISEURS B (×N)</text>
<rect class="box" x="1220" y="645" width="220" height="64" rx="6"/>
<text class="lbl" x="1330.0" y="666.0" text-anchor="middle">hyperviseur B1</text>
<text class="sub" x="1330.0" y="683.0" text-anchor="middle">agent · FRR · VPC</text>
<text class="sub" x="1330.0" y="698.0" text-anchor="middle">VTEP : son IP sur l'underlay B</text>
<rect class="box" x="1220" y="729" width="220" height="64" rx="6"/>
<text class="lbl" x="1330.0" y="750.0" text-anchor="middle">hyperviseur B2</text>
<text class="sub" x="1330.0" y="767.0" text-anchor="middle">agent · FRR · VPC</text>
<text class="sub" x="1330.0" y="782.0" text-anchor="middle">VTEP : son IP sur l'underlay B</text>
<rect class="box" x="1220" y="813" width="220" height="64" rx="6"/>
<text class="lbl" x="1330.0" y="834.0" text-anchor="middle">hyperviseur B3</text>
<text class="sub" x="1330.0" y="851.0" text-anchor="middle">agent · FRR · VPC</text>
<text class="sub" x="1330.0" y="866.0" text-anchor="middle">VTEP : son IP sur l'underlay B</text>
<text class="lbl" x="1330" y="925" text-anchor="middle">…</text>
<text class="sub" x="1330" y="955" text-anchor="middle">même modèle que</text>
<text class="sub" x="1330" y="970" text-anchor="middle">l'hyperviseur détaillé</text>
<path class="link" d="M1452 460 V600"/>
<path class="link" d="M500 340 H1215"/>
<text class="sub" x="860" y="332" text-anchor="middle">eBGP · routeur 2 de A → routeur 1 de B</text>
<path class="link" d="M660 240 V258 H210 V312"/>
<path class="link" d="M840 240 V258 H1315 V312"/>
<text class="sub" x="420" y="252" text-anchor="middle">eBGP</text>
<text class="sub" x="1060" y="252" text-anchor="middle">eBGP</text>
<line class="bus" x1="40" y1="460" x2="680" y2="460"/>
<text class="sub" x="690" y="465" text-anchor="start">underlay A · VXLAN UDP 4789 · BGP</text>
<path class="link" d="M75 368 V460"/>
<path class="link" d="M485 368 V460"/>
<rect class="box" x="60" y="490" width="230" height="52" rx="6"/>
<text class="lbl" x="175.0" y="513.0" text-anchor="middle">route reflector 1</text>
<text class="sub" x="175.0" y="530.0" text-anchor="middle">lo 10.255.255.1/32 · 169.254.0.3/28</text>
<path class="link" d="M175 460 V490"/>
<text class="ctrlt" x="183" y="482" text-anchor="start">iBGP EVPN</text>
<rect class="group" x="740" y="490" width="440" height="92" rx="8"/>
<text class="grp" x="760" y="514">SERVICES · VNI 66000 PARTAGÉ ENTRE CLUSTERS · #72</text>
<rect class="future" x="760" y="520" width="190" height="52" rx="6"/>
<text class="lbl" x="855.0" y="543.0" text-anchor="middle">broker</text>
<text class="sub" x="855.0" y="560.0" text-anchor="middle">MQTT · VNI 66000</text>
<rect class="future" x="970" y="520" width="190" height="52" rx="6"/>
<text class="lbl" x="1065.0" y="543.0" text-anchor="middle">orchestrateur</text>
<text class="sub" x="1065.0" y="560.0" text-anchor="middle">VNI 66000 et VNI 66001</text>
<path class="orch" d="M950 546 H970"/>
<path class="orch" d="M510 410 V546 H760" marker-end="url(#a-orch)"/>
<path class="orch" d="M1200 400 H1192 V560 H1180" marker-end="url(#a-orch)"/>
<rect class="group" x="40" y="600" width="1120" height="410" rx="8"/>
<text class="grp" x="60" y="624">HYPERVISEUR A (détaillé)</text>
<rect class="box" x="60" y="635" width="260" height="52" rx="6"/>
<text class="lbl" x="190.0" y="658.0" text-anchor="middle">br-000000</text>
<text class="sub" x="190.0" y="675.0" text-anchor="middle">IP de l'hyperviseur = VTEP</text>
<rect class="box" x="60" y="701" width="260" height="52" rx="6"/>
<text class="lbl" x="190.0" y="724.0" text-anchor="middle">FRR · bgpd</text>
<text class="sub" x="190.0" y="741.0" text-anchor="middle">sessions EVPN vers les RR</text>
<rect class="box" x="60" y="767" width="260" height="66" rx="6"/>
<text class="lbl" x="190.0" y="789.0" text-anchor="middle">agent</text>
<text class="sub" x="190.0" y="806.0" text-anchor="middle">API locale 127.0.0.1:8080</text>
<text class="sub" x="190.0" y="821.0" text-anchor="middle">client du broker, en sortie</text>
<rect class="future" x="60" y="849" width="260" height="56" rx="6"/>
<text class="lbl" x="190.0" y="874.0" text-anchor="middle">IP flottante · NAT 1:1</text>
<text class="sub" x="190.0" y="891.0" text-anchor="middle">hôte de la VM, sans état · #31</text>
<rect class="future" x="60" y="921" width="260" height="56" rx="6"/>
<text class="lbl" x="190.0" y="946.0" text-anchor="middle">subnet public de l'hôte</text>
<text class="sub" x="190.0" y="963.0" text-anchor="middle">VNI 66001 · hors VPC · #31</text>
<rect class="group" x="360" y="635" width="780" height="355" rx="8"/>
<text class="grp" x="380" y="659">VPC · netns + VRF</text>
<rect class="box" x="380" y="675" width="240" height="60" rx="6"/>
<text class="lbl" x="500.0" y="702.0" text-anchor="middle">netns du VPC</text>
<text class="sub" x="500.0" y="719.0" text-anchor="middle">gateway .254 · DHCP · métadonnées</text>
<rect class="box" x="380" y="770" width="240" height="60" rx="6"/>
<text class="lbl" x="500.0" y="797.0" text-anchor="middle">VRF · L3VNI</text>
<text class="sub" x="500.0" y="814.0" text-anchor="middle">routage entre subnets et hyperviseurs</text>
<rect class="future" x="660" y="770" width="200" height="60" rx="6"/>
<text class="lbl" x="760.0" y="797.0" text-anchor="middle">passerelle NAT du VPC</text>
<text class="sub" x="760.0" y="814.0" text-anchor="middle">sur un des hyperviseurs · #42</text>
<rect class="future" x="380" y="895" width="240" height="60" rx="6"/>
<text class="lbl" x="500.0" y="922.0" text-anchor="middle">subnet public du VPC</text>
<text class="sub" x="500.0" y="939.0" text-anchor="middle">relié au subnet public de l'hôte</text>
<rect class="box" x="880" y="675" width="240" height="60" rx="6"/>
<text class="lbl" x="1000.0" y="702.0" text-anchor="middle">VM privée</text>
<text class="sub" x="1000.0" y="719.0" text-anchor="middle">adresse du VPC</text>
<rect class="future" x="880" y="895" width="240" height="60" rx="6"/>
<text class="lbl" x="1000.0" y="922.0" text-anchor="middle">VM publique</text>
<text class="sub" x="1000.0" y="939.0" text-anchor="middle">+ NIC sur le subnet public</text>
<path class="link" d="M880 705 H620"/>
<path class="link" d="M500 735 V770"/>
<path class="net" d="M880 925 H620"/>
<path class="net" d="M380 953 H320" marker-end="url(#a-net)"/>
<path class="net" d="M380 810 H340 V877 H320" marker-end="url(#a-net)"/>
<path class="net" d="M620 800 H660" marker-end="url(#a-net)"/>
<path class="net" d="M760 830 V863 H350 V929 H320" marker-end="url(#a-net)"/>
<text class="nett" x="640" y="763" text-anchor="middle">défaut type 5</text>
<path class="net" d="M190 905 V921" marker-end="url(#a-net)"/>
<path class="data" d="M60 949 H50 V661 H60"/>
<text class="datat" x="30" y="805" text-anchor="middle" transform="rotate(-90 30 805)">VNI 66001</text>
<path class="link" d="M300 635 V460"/>
<path class="orch" d="M320 785 H332 V410" marker-end="url(#a-orch)"/>
<text class="orcht" x="340" y="596" text-anchor="start">register · ordres · événements (mTLS, sortant)</text>
<path class="net" d="M750 240 V300 H1140 V520" marker-end="url(#a-net)"/>
<text class="nett" x="1132" y="430" text-anchor="end">API publique</text>
<text class="nett" x="1132" y="446" text-anchor="end">VNI 66001</text>
<path class="data" d="M60 1045 H110"/>
<text class="sub" x="118" y="1049" text-anchor="start">plan de données : VXLAN</text>
<path class="ctrl" d="M290 1045 H340"/>
<text class="sub" x="348" y="1049" text-anchor="start">plan de contrôle : BGP</text>
<path class="orch" d="M510 1045 H560" marker-end="url(#a-orch)"/>
<text class="sub" x="568" y="1049" text-anchor="start">orchestration</text>
<path class="net" d="M690 1045 H740" marker-end="url(#a-net)"/>
<text class="sub" x="748" y="1049" text-anchor="start">trafic Internet</text>
<rect class="future" x="880" y="1035" width="34" height="20" rx="4"/>
<text class="sub" x="922" y="1049" text-anchor="start">à venir (ticket indiqué)</text>
<text class="sub" x="60" y="1089" text-anchor="start">Les agents ne sont jamais joints par l'orchestrateur : ils se connectent au broker en sortie, via leur passerelle ; les routeurs de leur cluster les traduisent (NAT) vers le VNI 66000.</text>
<text class="sub" x="60" y="1107" text-anchor="start">L'orchestrateur a une patte dans le VNI 66001 : son API est joignable depuis Internet, par les bordures.</text>
<text class="sub" x="60" y="1125" text-anchor="start">VM publique : un subnet public dans son VPC, relié au subnet public de l'hôte (VNI 66001), dont la gateway anycast est portée par toutes les bordures.</text>
<text class="sub" x="60" y="1143" text-anchor="start">VM privée : route par défaut de type 5 vers la passerelle NAT de son VPC (IP de sortie du VPC) si le VPC autorise Internet, ou IP flottante 1:1 sur son hôte.</text>
<text class="sub" x="60" y="1161" text-anchor="start">Les bordures restent sans état : tout NAT vit sur un hyperviseur. Broker et orchestrateur sont des VM du VNI 66000, partagé : elles tournent sur les hyperviseurs de n'importe quel cluster.</text>
<text class="sub" x="60" y="1179" text-anchor="start">Au moins un route reflector ; deux prévus, ici un par cluster : un événement d'un cluster ne coupe pas les deux sessions. Chaque lien routeurs ↔ RR est en 169.254.0.0/28, propre à son cluster.</text>
</svg>

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -0,0 +1,195 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1500 1210" width="1500" height="1210" role="img" aria-label="Vue d'ensemble : Internet, bordures, deux clusters, route reflectors, services partagés et hyperviseurs">
<style>
.lbl { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; fill: #1f2328; }
.sub { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; fill: #57606a; }
.grp { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 12px; font-weight: 600; fill: #57606a; letter-spacing: .04em; }
.ctrlt { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; fill: #8250df; }
.datat { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #0969da; }
.orcht { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #1a7f37; }
.nett { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #bc4c00; }
.box { fill: #ffffff; stroke: #8c959f; stroke-width: 1.5; }
.future { fill: #ffffff; stroke: #8c959f; stroke-width: 1.5; stroke-dasharray: 6 4; }
.group { fill: #f6f8fa; stroke: #d0d7de; stroke-width: 1.5; }
.pill { fill: #ffffff; stroke: #57606a; stroke-width: 1.5; }
.bus { stroke: #57606a; stroke-width: 4; fill: none; stroke-linecap: round; }
.link { stroke: #57606a; stroke-width: 1.8; fill: none; }
.ctrl { stroke: #8250df; stroke-width: 1.6; fill: none; stroke-dasharray: 5 4; }
.data { stroke: #0969da; stroke-width: 3; fill: none; }
.orch { stroke: #1a7f37; stroke-width: 2; fill: none; stroke-dasharray: 8 4; }
.net { stroke: #bc4c00; stroke-width: 2.4; fill: none; }
.head-ctrl { fill: #8250df; }
.head-data { fill: #0969da; }
.head-orch { fill: #1a7f37; }
.head-net { fill: #bc4c00; }
</style>
<defs>
<marker id="a-ctrl" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="head-ctrl" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-data" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="5" markerHeight="5" orient="auto-start-reverse"><path class="head-data" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-orch" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path class="head-orch" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-net" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path class="head-net" d="M0 0 L10 5 L0 10 z"/></marker>
</defs>
<rect class="pill" x="600" y="20" width="300" height="56" rx="28"/>
<text class="lbl" x="750" y="54" text-anchor="middle">Internet</text>
<path class="net" d="M750 76 V110" marker-start="url(#a-net)" marker-end="url(#a-net)"/>
<text class="nett" x="758" y="98" text-anchor="start">agrégats publics</text>
<rect class="group" x="560" y="110" width="380" height="130" rx="8"/>
<text class="grp" x="580" y="134">BORDURES · AS PUBLIC · #31</text>
<rect class="future" x="580" y="140" width="160" height="52" rx="6"/>
<text class="lbl" x="660.0" y="163.0" text-anchor="middle">bordure 1</text>
<text class="sub" x="660.0" y="180.0" text-anchor="middle">gateway anycast</text>
<rect class="future" x="760" y="140" width="160" height="52" rx="6"/>
<text class="lbl" x="840.0" y="163.0" text-anchor="middle">bordure 2</text>
<text class="sub" x="840.0" y="180.0" text-anchor="middle">gateway anycast</text>
<text class="sub" x="750" y="214" text-anchor="middle">même IP et même MAC de gateway · sans état</text>
<text class="sub" x="750" y="230" text-anchor="middle">VTEP · VNI 66001 (public)</text>
<rect class="group" x="1180" y="20" width="280" height="100" rx="8"/>
<text class="grp" x="1200" y="44">POSTE DE L'OPÉRATEUR</text>
<rect class="future" x="1200" y="50" width="240" height="52" rx="6"/>
<text class="lbl" x="1320.0" y="73.0" text-anchor="middle">Terraform / OpenTofu</text>
<text class="sub" x="1320.0" y="90.0" text-anchor="middle">provider two · #72</text>
<path class="net" d="M1180 64 H900" marker-end="url(#a-net)"/>
<text class="nett" x="1040" y="56" text-anchor="middle">API publique de l'orchestrateur</text>
<rect class="group" x="40" y="280" width="480" height="130" rx="8"/>
<text class="grp" x="60" y="304">CLUSTER A</text>
<rect class="box" x="60" y="312" width="210" height="56" rx="6"/>
<text class="lbl" x="165.0" y="337.0" text-anchor="middle">routeur 1</text>
<text class="sub" x="165.0" y="354.0" text-anchor="middle">169.254.0.1/28</text>
<rect class="box" x="290" y="312" width="210" height="56" rx="6"/>
<text class="lbl" x="395.0" y="337.0" text-anchor="middle">routeur 2</text>
<text class="sub" x="395.0" y="354.0" text-anchor="middle">169.254.0.2/28</text>
<text class="sub" x="280" y="392" text-anchor="middle">VRRP · VTEP · VNI 66000 · NAT vers le VNI 66000 · #72</text>
<rect class="group" x="1200" y="280" width="260" height="130" rx="8"/>
<text class="grp" x="1220" y="304">CLUSTER B</text>
<rect class="box" x="1215" y="312" width="110" height="56" rx="6"/>
<text class="lbl" x="1270.0" y="337.0" text-anchor="middle">routeur 1</text>
<text class="sub" x="1270.0" y="354.0" text-anchor="middle">169.254.0.1/28</text>
<rect class="box" x="1335" y="312" width="110" height="56" rx="6"/>
<text class="lbl" x="1390.0" y="337.0" text-anchor="middle">routeur 2</text>
<text class="sub" x="1390.0" y="354.0" text-anchor="middle">169.254.0.2/28</text>
<text class="sub" x="1330" y="388" text-anchor="middle">VRRP · VTEP · VNI 66000</text>
<text class="sub" x="1330" y="403" text-anchor="middle">NAT vers le VNI 66000 · #72</text>
<line class="bus" x1="1200" y1="460" x2="1460" y2="460"/>
<text class="sub" x="1205" y="478" text-anchor="start">underlay B · VXLAN UDP 4789 · BGP</text>
<path class="link" d="M1230 368 V460"/>
<path class="link" d="M1430 368 V460"/>
<rect class="box" x="1215" y="505" width="220" height="52" rx="6"/>
<text class="lbl" x="1325.0" y="528.0" text-anchor="middle">route reflector 2</text>
<text class="sub" x="1325.0" y="545.0" text-anchor="middle">lo 10.255.255.2/32 · 169.254.0.4/28</text>
<path class="link" d="M1440 460 V505"/>
<text class="ctrlt" x="1434" y="498" text-anchor="end">iBGP EVPN</text>
<rect class="group" x="1200" y="600" width="260" height="410" rx="8"/>
<text class="grp" x="1220" y="624">HYPERVISEURS B (×N)</text>
<rect class="box" x="1220" y="645" width="220" height="64" rx="6"/>
<text class="lbl" x="1330.0" y="666.0" text-anchor="middle">hyperviseur B1</text>
<text class="sub" x="1330.0" y="683.0" text-anchor="middle">agent · FRR · VPC</text>
<text class="sub" x="1330.0" y="698.0" text-anchor="middle">VTEP : son IP sur l'underlay B</text>
<rect class="box" x="1220" y="729" width="220" height="64" rx="6"/>
<text class="lbl" x="1330.0" y="750.0" text-anchor="middle">hyperviseur B2</text>
<text class="sub" x="1330.0" y="767.0" text-anchor="middle">agent · FRR · VPC</text>
<text class="sub" x="1330.0" y="782.0" text-anchor="middle">VTEP : son IP sur l'underlay B</text>
<rect class="box" x="1220" y="813" width="220" height="64" rx="6"/>
<text class="lbl" x="1330.0" y="834.0" text-anchor="middle">hyperviseur B3</text>
<text class="sub" x="1330.0" y="851.0" text-anchor="middle">agent · FRR · VPC</text>
<text class="sub" x="1330.0" y="866.0" text-anchor="middle">VTEP : son IP sur l'underlay B</text>
<text class="lbl" x="1330" y="925" text-anchor="middle">…</text>
<text class="sub" x="1330" y="955" text-anchor="middle">même modèle que</text>
<text class="sub" x="1330" y="970" text-anchor="middle">l'hyperviseur détaillé</text>
<path class="link" d="M1452 460 V600"/>
<path class="link" d="M500 340 H1215"/>
<text class="sub" x="860" y="332" text-anchor="middle">eBGP · routeur 2 de A → routeur 1 de B</text>
<path class="link" d="M660 240 V258 H210 V312"/>
<path class="link" d="M840 240 V258 H1315 V312"/>
<text class="sub" x="420" y="252" text-anchor="middle">eBGP</text>
<text class="sub" x="1060" y="252" text-anchor="middle">eBGP</text>
<line class="bus" x1="40" y1="460" x2="680" y2="460"/>
<text class="sub" x="690" y="465" text-anchor="start">underlay A · VXLAN UDP 4789 · BGP</text>
<path class="link" d="M75 368 V460"/>
<path class="link" d="M485 368 V460"/>
<rect class="box" x="60" y="490" width="230" height="52" rx="6"/>
<text class="lbl" x="175.0" y="513.0" text-anchor="middle">route reflector 1</text>
<text class="sub" x="175.0" y="530.0" text-anchor="middle">lo 10.255.255.1/32 · 169.254.0.3/28</text>
<path class="link" d="M175 460 V490"/>
<text class="ctrlt" x="183" y="482" text-anchor="start">iBGP EVPN</text>
<rect class="group" x="740" y="490" width="440" height="92" rx="8"/>
<text class="grp" x="760" y="514">SERVICES · VNI 66000 PARTAGÉ ENTRE CLUSTERS · #72</text>
<rect class="future" x="760" y="520" width="190" height="52" rx="6"/>
<text class="lbl" x="855.0" y="543.0" text-anchor="middle">broker</text>
<text class="sub" x="855.0" y="560.0" text-anchor="middle">MQTT · VNI 66000</text>
<rect class="future" x="970" y="520" width="190" height="52" rx="6"/>
<text class="lbl" x="1065.0" y="543.0" text-anchor="middle">orchestrateur</text>
<text class="sub" x="1065.0" y="560.0" text-anchor="middle">VNI 66000 et VNI 66001</text>
<path class="orch" d="M950 546 H970"/>
<path class="orch" d="M510 410 V546 H760" marker-end="url(#a-orch)"/>
<path class="orch" d="M1200 400 H1192 V560 H1180" marker-end="url(#a-orch)"/>
<rect class="group" x="40" y="600" width="1120" height="410" rx="8"/>
<text class="grp" x="60" y="624">HYPERVISEUR A (détaillé)</text>
<rect class="box" x="60" y="635" width="260" height="52" rx="6"/>
<text class="lbl" x="190.0" y="658.0" text-anchor="middle">br-000000</text>
<text class="sub" x="190.0" y="675.0" text-anchor="middle">IP de l'hyperviseur = VTEP</text>
<rect class="box" x="60" y="701" width="260" height="52" rx="6"/>
<text class="lbl" x="190.0" y="724.0" text-anchor="middle">FRR · bgpd</text>
<text class="sub" x="190.0" y="741.0" text-anchor="middle">sessions EVPN vers les RR</text>
<rect class="box" x="60" y="767" width="260" height="66" rx="6"/>
<text class="lbl" x="190.0" y="789.0" text-anchor="middle">agent</text>
<text class="sub" x="190.0" y="806.0" text-anchor="middle">API locale 127.0.0.1:8080</text>
<text class="sub" x="190.0" y="821.0" text-anchor="middle">client du broker, en sortie</text>
<rect class="future" x="60" y="849" width="260" height="56" rx="6"/>
<text class="lbl" x="190.0" y="874.0" text-anchor="middle">IP flottante · NAT 1:1</text>
<text class="sub" x="190.0" y="891.0" text-anchor="middle">hôte de la VM, sans état · #31</text>
<rect class="future" x="60" y="921" width="260" height="56" rx="6"/>
<text class="lbl" x="190.0" y="946.0" text-anchor="middle">subnet public de l'hôte</text>
<text class="sub" x="190.0" y="963.0" text-anchor="middle">VNI 66001 · hors VPC · #31</text>
<rect class="group" x="360" y="635" width="780" height="355" rx="8"/>
<text class="grp" x="380" y="659">VPC · netns + VRF</text>
<rect class="box" x="380" y="675" width="240" height="60" rx="6"/>
<text class="lbl" x="500.0" y="702.0" text-anchor="middle">netns du VPC</text>
<text class="sub" x="500.0" y="719.0" text-anchor="middle">gateway .254 · DHCP · métadonnées</text>
<rect class="box" x="380" y="770" width="240" height="60" rx="6"/>
<text class="lbl" x="500.0" y="797.0" text-anchor="middle">VRF · L3VNI</text>
<text class="sub" x="500.0" y="814.0" text-anchor="middle">routage entre subnets et hyperviseurs</text>
<rect class="future" x="660" y="770" width="200" height="60" rx="6"/>
<text class="lbl" x="760.0" y="797.0" text-anchor="middle">passerelle NAT du VPC</text>
<text class="sub" x="760.0" y="814.0" text-anchor="middle">sur un des hyperviseurs · #42</text>
<rect class="future" x="380" y="895" width="240" height="60" rx="6"/>
<text class="lbl" x="500.0" y="922.0" text-anchor="middle">subnet public du VPC</text>
<text class="sub" x="500.0" y="939.0" text-anchor="middle">relié au subnet public de l'hôte</text>
<rect class="box" x="880" y="675" width="240" height="60" rx="6"/>
<text class="lbl" x="1000.0" y="702.0" text-anchor="middle">VM privée</text>
<text class="sub" x="1000.0" y="719.0" text-anchor="middle">adresse du VPC</text>
<rect class="future" x="880" y="895" width="240" height="60" rx="6"/>
<text class="lbl" x="1000.0" y="922.0" text-anchor="middle">VM publique</text>
<text class="sub" x="1000.0" y="939.0" text-anchor="middle">+ NIC sur le subnet public</text>
<path class="link" d="M880 705 H620"/>
<path class="link" d="M500 735 V770"/>
<path class="net" d="M880 925 H620"/>
<path class="net" d="M380 953 H320" marker-end="url(#a-net)"/>
<path class="net" d="M380 810 H340 V877 H320" marker-end="url(#a-net)"/>
<path class="net" d="M620 800 H660" marker-end="url(#a-net)"/>
<path class="net" d="M760 830 V863 H350 V929 H320" marker-end="url(#a-net)"/>
<text class="nett" x="640" y="763" text-anchor="middle">défaut type 5</text>
<path class="net" d="M190 905 V921" marker-end="url(#a-net)"/>
<path class="data" d="M60 949 H50 V661 H60"/>
<text class="datat" x="30" y="805" text-anchor="middle" transform="rotate(-90 30 805)">VNI 66001</text>
<path class="link" d="M300 635 V460"/>
<path class="orch" d="M320 785 H332 V410" marker-end="url(#a-orch)"/>
<text class="orcht" x="340" y="596" text-anchor="start">register · ordres · événements (mTLS, sortant)</text>
<path class="net" d="M750 240 V300 H1140 V520" marker-end="url(#a-net)"/>
<text class="nett" x="1132" y="430" text-anchor="end">API publique</text>
<text class="nett" x="1132" y="446" text-anchor="end">VNI 66001</text>
<path class="data" d="M60 1045 H110"/>
<text class="sub" x="118" y="1049" text-anchor="start">plan de données : VXLAN</text>
<path class="ctrl" d="M290 1045 H340"/>
<text class="sub" x="348" y="1049" text-anchor="start">plan de contrôle : BGP</text>
<path class="orch" d="M510 1045 H560" marker-end="url(#a-orch)"/>
<text class="sub" x="568" y="1049" text-anchor="start">orchestration</text>
<path class="net" d="M690 1045 H740" marker-end="url(#a-net)"/>
<text class="sub" x="748" y="1049" text-anchor="start">trafic Internet</text>
<rect class="future" x="880" y="1035" width="34" height="20" rx="4"/>
<text class="sub" x="922" y="1049" text-anchor="start">à venir (ticket indiqué)</text>
<text class="sub" x="60" y="1089" text-anchor="start">Les agents ne sont jamais joints par l'orchestrateur : ils se connectent au broker en sortie, via leur passerelle ; les routeurs de leur cluster les traduisent (NAT) vers le VNI 66000.</text>
<text class="sub" x="60" y="1107" text-anchor="start">L'orchestrateur a une patte dans le VNI 66001 : son API est joignable depuis Internet, par les bordures.</text>
<text class="sub" x="60" y="1125" text-anchor="start">VM publique : un subnet public dans son VPC, relié au subnet public de l'hôte (VNI 66001), dont la gateway anycast est portée par toutes les bordures.</text>
<text class="sub" x="60" y="1143" text-anchor="start">VM privée : route par défaut de type 5 vers la passerelle NAT de son VPC (IP de sortie du VPC) si le VPC autorise Internet, ou IP flottante 1:1 sur son hôte.</text>
<text class="sub" x="60" y="1161" text-anchor="start">Les bordures restent sans état : tout NAT vit sur un hyperviseur. Broker et orchestrateur sont des VM du VNI 66000, partagé : elles tournent sur les hyperviseurs de n'importe quel cluster.</text>
<text class="sub" x="60" y="1179" text-anchor="start">Au moins un route reflector ; deux prévus, ici un par cluster : un événement d'un cluster ne coupe pas les deux sessions. Chaque lien routeurs ↔ RR est en 169.254.0.0/28, propre à son cluster.</text>
</svg>

After

Width:  |  Height:  |  Size: 16 KiB