Wiki Sandbox
(redirected from PmWiki.WikiSandbox)
https://mermaid.js.org/syntax/architecture.html
graph TD
%% Estilos Generales
classDef switch fill:#444,stroke:#333,stroke-width:2px,color:#fff;
classDef router fill:#2b5797,stroke:#1e3a8a,color:#fff;
classDef server fill:#1e7e34,stroke:#115e59,color:#fff;
classDef vm fill:#00aba9,stroke:#008a00,color:#fff;
classDef docker fill:#e3a21a,stroke:#b91d47,color:#fff;
classDef device fill:#f0f3f4,stroke:#7f8c8d,color:#333;
%% NÚCLEO CENTRAL (Internet y Router)
Internet((Internet)) --- RouterISP["Router ISP"]:::router
RouterISP --- |"Port 1"| switch00[switch00 Central]:::switch
RouterISP -. wlan .- hinojo[hinojo]:::device
Internet --- boniato["boniato VPN/External"]:::device
graph TD
%% Estilos Generales
classDef switch fill:#444,stroke:#333,stroke-width:2px,color:#fff;
classDef router fill:#2b5797,stroke:#1e3a8a,color:#fff;
classDef server fill:#1e7e34,stroke:#115e59,color:#fff;
classDef vm fill:#00aba9,stroke:#008a00,color:#fff;
classDef docker fill:#e3a21a,stroke:#b91d47,color:#fff;
classDef device fill:#f0f3f4,stroke:#7f8c8d,color:#333;
%% SWITCH 00 (Distribución Central)
switch00 --- |"Port 4"| ComedorVecino["Comedor vecino / Cámara"]:::device
switch00 --- |"Port 3"| Hab1Escalera["Hab. 1 escalera / Cámara"]:::device
switch00 --- |"Port 7"| router2(("router2 Raspberry Pi")):::router
switch00 --- |"Port 8"| aplechuga[aplechuga]:::device
%% Conexión Crítica Switch00 -> Switch05
switch00 === |"Port 5 / Port 1"| switch05[switch05]:::switch
%% Conexión Crítica Switch00 -> Switch04 (Cable 1 Comedor-Cocina)
switch00 === |"Port 6 / Port 1 (Cable 1)"| switch04[switch04 Comedor]:::switch
%% SWITCH 05
switch05 --- |"Port 4"| Cocina[Cocina]:::device
switch05 --- |"Port 7"| Hab1Hab2["Hab. 1 con Hab. 2"]:::device
switch05 --- |"Port 5"| Hab4["Hab. 4"]:::device
switch05 --- |"Port 8"| Hab2["Hab. 2"]:::device
%% Conexión Crítica Switch05 -> Switch03
switch05 === |"Port 6 / Port 8"| switch03[switch03 techo H3]:::switch
%% SWITCH 03
switch03 --- |"Port 5"| pepino["pepino PC Windows"]:::device
switch03 --- |"Port 1"| CamaraH3["Cámara"]:::device
%% SWITCH 04 (Comedor)
switch04 --- |"Port 5"| NVR["NVR Dahua"]:::device
switch04 --- |"Port 6"| TV["TV Comedor"]:::device
switch04 --- |"Port 3"| guisante[guisante]:::device
%% Conexión Crítica Switch04 -> Switch08 (Brocoli)
switch04 === |"Port 4 / Port 1"| switch08[switch08 Brocoli]:::switch
Servidor brocoli
graph TD
%% Estilos Generales
classDef switch fill:#444,stroke:#333,stroke-width:2px,color:#fff;
classDef router fill:#2b5797,stroke:#1e3a8a,color:#fff;
classDef server fill:#1e7e34,stroke:#115e59,color:#fff;
classDef vm fill:#00aba9,stroke:#008a00,color:#fff;
classDef docker fill:#e3a21a,stroke:#b91d47,color:#fff;
classDef device fill:#f0f3f4,stroke:#7f8c8d,color:#333;
%% 1. EL SWITCH EXTERIOR
switch08[switch08 Brocoli]:::switch
%% 2. LOS PUERTOS FISICOS (Fuera del servidor, hacen de frontera)
switch08 --- |"Port 3"| KVMIP_ethernet["ETH KVM-IP"]:::device
switch08 --- |"Port 2"| PB[PB]:::device
switch08 --- |"Port 4"| PCI[PCI]:::device
switch08 --- |"Port 5"| i350A[i350-A]:::device
switch08 --- |"Port ?"| i350B[i350-B]:::device
%% Conexión de los puertos de red hacia el interior del servidor lógico
i350B -.-> Docker
%% 3. EL SERVIDOR LÓGICO (Solo contiene lo virtual)
subgraph brocoli ["Servidor Brocoli"]
subgraph KVMIP_ethernet["ETH KVM-IP"]
end
subgraph i350A["i350 port A"]
i350Avf0["vf0"]:::device
i350Avf1["vf1"]:::device
i350Avf2["vf2"]:::device
i350Avf3["vf3"]:::device
i350Avf4["vf4"]:::device
i350Avf5["vf5"]:::device
i350Avf6["vf6"]:::device
i350Avf7["vf7"]:::device
end
i350Avf2 --- vlan99-brocoli-01
i350Avf3 --- vlan99-brocoli-02
subgraph incus-brocoli ["Incus"]
subgraph Docker ["Contenedores Docker"]
dashy["dashy (4000)"]:::docker
watchtower["watchtower"]:::docker
gitea["gitea (3000)"]:::docker
chibisafe["chibisafe"]:::docker
mealie["mealie"]:::docker
memos["memos"]:::docker
scrutiny["scrutiny (8090)"]:::docker
filestash["filestash (8334)"]:::docker
end
entryp["entryp"]:::vm
tor["tor"]:::vm
router3["router3"]:::vm
srv["srv"]:::vm
srv_internet["srv-internet"]:::vm
vpn["vpn"]:::vm
vlan99-brocoli-01:::vm
vlan99-brocoli-02:::vm
end
end