Set-OPS-Public/underlay.yml.example
Daniel Allaire 272f6369d8 Underlay : fabric physique cluster-global (mgmt/iSCSI/Ceph) + preuve P23
Le modele derive l'adressage par tenant (VLAN 1000+index*10+zone), mais la
fabric physique qui porte la flotte (mgmt switches/Proxmox/OOB, iSCSI, Ceph
public+cluster) n'appartient a aucun tenant. Elle est desormais codifiee.

- scripts/underlay.py + make underlay : charge/affiche/valide underlay.yml
  (VLAN < 1000, sous-reseaux hors des supernets tenant 10.(10+index).0.0/16).
- underlay.yml gitignore (comme le vault) ; gabarit public underlay.yml.example ;
  surchargeable par SETOPS_UNDERLAY.
- devis_reseau : section 0. Underlay + VLAN underlay sur le trunk, selon dialecte.
- P23 : underlay.py --verifier ; sautee si underlay.yml absent (comme P16 sans vault).

23/23 preuves. Doc : docs/audit/README.md, wiki page reseau, CHANGELOG.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-24 14:56:38 -04:00

45 lines
1.8 KiB
Text

# Underlay — la fabric physique partagee par les instances federees.
#
# Cluster-global : ces reseaux portent TOUTE la flotte, ils n'appartiennent a aucun
# tenant et ne derivent d'aucun `index`. Ils vivent dans le *sous-sol* du modele.
#
# Copier vers `underlay.yml` (a la racine du moteur ; gitignore) et adapter a ta fabric.
# Surchargeable par SETOPS_UNDERLAY=/chemin/underlay.yml. Absent => le devis switch
# omet simplement la section underlay (retro-compatible).
#
# Regles (prouvees par P23 / `make underlay`) :
# - VLAN < 1000 : franchement SOUS la plage tenant (VLAN tenant = 1000+index*10+zone).
# - sous_reseau : ne chevauche aucun supernet tenant (10.(10+index).0.0/16, index >= 1).
# => la plage 10.0.0.0/16 .. 10.10.0.0/16 est libre pour l'underlay.
# - passerelle : OPTIONNELLE. Presente => un SVI est genere (routage inter-VLAN).
# Storage/Ceph restent en general L2 pur (pas de passerelle).
---
underlay:
reseaux:
- nom: management
description: Switches, mgmt Proxmox, OOB/IPMI
vlan: 10
sous_reseau: 10.0.0.0/24
passerelle: 10.0.0.1 # SVI (retirer pour du L2 pur)
mtu: 1500
- nom: stockage-iscsi
description: iSCSI MPIO
vlan: 20
sous_reseau: 10.0.1.0/24
mtu: 9000 # jumbo
- nom: ceph-public
description: Clients <-> MON/OSD
vlan: 30
sous_reseau: 10.0.2.0/24
mtu: 9000
- nom: ceph-cluster
description: OSD <-> OSD (replication, backfill, recovery)
vlan: 31
sous_reseau: 10.0.3.0/24
mtu: 9000
# Hotes fixes documentes (optionnel) : IP hors DHCP, verifiees dans leur reseau.
hotes:
- { nom: switch-01, reseau: management, ip: 10.0.0.2 }
- { nom: switch-02, reseau: management, ip: 10.0.0.3 }
- { nom: switch-03, reseau: management, ip: 10.0.0.4 }