%%{init: {'theme': 'base', 'flowchart': {'nodeSpacing': 50, 'rankSpacing': 60}}}%%
flowchart TB
subgraph net ["Reseau"]
direction LR
eth0["eth0
192.168.99.50/24"]
br0["br0 Bridge
192.168.99.50/24"]
eth1["eth1
192.168.99.51/24"]
virbr0["virbr0
192.168.122.1/24
DOWN"]
eth0 -->|"master"| br0
end
subgraph svc ["Services actifs"]
direction LR
ssh["SSH :1220
ext 2222 via eth1"]
dnsmasq["dnsmasq :53
sur br0"]
kvm_svc["KVM / virsh"]
ddns_s["DDNS
/opt/ddns/"]
end
subgraph machines ["Machines Virtuelles"]
direction LR
subgraph vm_chillka ["chillka - ID:2 running"]
direction TB
vm_c_spec["2 vCPU | 2 GB RAM"]
vm_c_net["vnet1 br0
52:54:00:0f:28:80"]
vm_c_disk["vda: vgarauco0-chillka
500 GB"]
end
subgraph vm_npagnun ["npagnun - ID:8 running"]
direction TB
vm_n_spec["2 vCPU | 8 GB RAM"]
vm_n_net["vnet7 br0
52:54:00:5e:06:1e"]
vm_n_disk["vda: vgarauco0-nudo
200 GB"]
end
subgraph vm_huitral ["huitral - ID:9 running"]
direction TB
vm_h_spec["2 vCPU | 8 GB RAM"]
vm_h_net["vnet8 br0
52:54:00:ce:24:7f"]
vm_h_disk["vda: vgarauco0-huitral
300 GB"]
end
end
subgraph storage ["LVM vgarauco0"]
direction LR
lv_info["5.31 TB total
4.24 TB libre"]
lv_actifs["Actifs:
chillka 500GB
huitral 300GB
nudo 200GB"]
lv_dormants["Dormants:
huinca 70GB
lemolemo 10GB
toki 10GB
kura 5GB"]
end
kvm_svc --> machines
br0 --> vm_c_net
br0 --> vm_n_net
br0 --> vm_h_net
classDef netStyle fill:#1e3a5f,stroke:#4a90d9,color:#a8d0f0
classDef svcStyle fill:#1e4a2e,stroke:#4a9a6a,color:#a8e0c0
classDef vmStyle fill:#3a1e5f,stroke:#8a6ad9,color:#c8b0f0
classDef storStyle fill:#4a3a1e,stroke:#d9a84a,color:#f0d8a8
classDef dormStyle fill:#2a2a2a,stroke:#666,color:#999
class eth0,br0,eth1 netStyle
class virbr0 dormStyle
class ssh,dnsmasq,kvm_svc,ddns_s svcStyle
class vm_c_spec,vm_n_spec,vm_h_spec vmStyle
class vm_c_net,vm_n_net,vm_h_net netStyle
class vm_c_disk,vm_n_disk,vm_h_disk storStyle
class lv_info,lv_actifs storStyle
class lv_dormants dormStyle