From 6df94fd713d3b8328d28deb5c61bcbf96454fb5c Mon Sep 17 00:00:00 2001 From: Daniel Allaire Date: Tue, 30 Jun 2026 17:47:00 -0400 Subject: [PATCH] Doc : formule supernet = 10.(10+index) (Chezlepro 10.11, Technolibre 10.12) Co-Authored-By: Claude Opus 4.8 --- CHANGELOG.md | 4 ++-- docs/multi-instances.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 631dce7..46e0be4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,9 @@ ### Ajouté - **Adressage fédéré : index d'instance.** Le VMID n'est plus codé `9CSNN` en dur : il prend le préfixe d'un `index` déclaré en tête de `plan/nomenclature.yml` - (`{index}{catégorie}{service}{séq}`). Convention : `supernet = 10.(index×10).0.0/16`, + (`{index}{catégorie}{service}{séq}`). Convention : `supernet = 10.(10+index).0.0/16`, `VMID = index·CSNN`. Permet à N écosystèmes de **coexister/s'interconnecter** sans - collision (Chezlepro=1 → `10.10`/`1xxxx`, Technolibre=2 → `10.20`/`2xxxx`). Sans + collision (Chezlepro=1 → `10.11`/`1xxxx`, Technolibre=2 → `10.12`/`2xxxx`). Sans index → `9CSNN` (rétro-compatible ; bacs à sable, plages ad-hoc `172.19.x`). Code mort retiré (`deriveServeur` JS). Voir `docs/multi-instances.md`. - **Doc `docs/multi-instances.md`** : cadrage « un moteur, N écosystèmes » — l'instance diff --git a/docs/multi-instances.md b/docs/multi-instances.md index 99d27f4..50d54e0 100644 --- a/docs/multi-instances.md +++ b/docs/multi-instances.md @@ -94,14 +94,14 @@ Pour que plusieurs écosystèmes **coexistent et puissent s'interconnecter** san collision, chaque instance de production reçoit un **index** (déclaré en tête de `plan/nomenclature.yml` : `index: N`). Il pilote : -- le **supernet** : `10.(index × 10).0.0/16` (zéro chevauchement) ; +- le **supernet** : `10.(10 + index).0.0/16` (zéro chevauchement) ; - le **préfixe VMID** : `index·catégorie·service·séq` (ex. `21101`) au lieu du `9` fixe. | Instance | index | Supernet | VMID | | --- | --- | --- | --- | -| Chezlepro | 1 | `10.10.0.0/16` | `1CSNN` | -| Technolibre | 2 | `10.20.0.0/16` | `2CSNN` | -| … | N | `10.(N×10).0.0/16` | `N·CSNN` | +| Chezlepro | 1 | `10.11.0.0/16` | `1CSNN` | +| Technolibre | 2 | `10.12.0.0/16` | `2CSNN` | +| … | N | `10.(10+N).0.0/16` | `N·CSNN` | | Bacs à sable | *(aucun)* | `172.19.x` ad-hoc | `9CSNN` (défaut) | Sans `index` déclaré, on retombe sur `9CSNN` (rétro-compatible) : c'est ce qu'utilisent