Replace grid layout with tree diagram: Modem → Firewall → Switch → 3 Proxmox servers → VMs/CTs - Services.yaml restructured with parent/type fields from real Proxmox API data (TYAN CAS, Cisco1, DellT430-2) - NetworkGraph renders vertical hierarchy with branch lines - ProxmoxColumn shows server card + VM pills grid - Compact VmPill for VMs/CTs (status dot + name + last octet) - InfraCard for physical infrastructure nodes - Other devices section at bottom (AP, printer, iDRACs, PCs) - Added type/parent fields to NetworkNode TypeScript interface Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
367 lines
8.3 KiB
YAML
367 lines
8.3 KiB
YAML
# ============================================================
|
|
# Topología de Red - Consultoria AS
|
|
# Jerarquía: Modem → Firewall → Switch → Proxmox → VMs
|
|
# ============================================================
|
|
|
|
nodes:
|
|
# ── Nivel 1: ISP ───────────────────────────────────────────
|
|
- name: "Router Telmex"
|
|
ip: "192.168.1.254"
|
|
username: "TELMEX"
|
|
password: ""
|
|
public_url: "http://192.168.1.254"
|
|
icon: "router"
|
|
connections: []
|
|
|
|
# ── Nivel 2: Firewall ──────────────────────────────────────
|
|
- name: "Firewall OPNsense"
|
|
ip: "192.168.10.1"
|
|
username: "root"
|
|
password: "opnsense"
|
|
public_url: "https://192.168.10.1:8443"
|
|
icon: "firewall"
|
|
connections: ["Router Telmex"]
|
|
|
|
# ── Nivel 3: Switch ────────────────────────────────────────
|
|
- name: "Switch Cisco"
|
|
ip: "192.168.10.250"
|
|
username: ""
|
|
password: ""
|
|
icon: "switch"
|
|
connections: ["Firewall OPNsense"]
|
|
|
|
# ── Nivel 4: Proxmox Servers ───────────────────────────────
|
|
- name: "TYAN CAS"
|
|
ip: "192.168.10.3"
|
|
username: "root"
|
|
password: "Aasi940812"
|
|
public_url: "https://192.168.10.3:8006"
|
|
icon: "server"
|
|
type: "proxmox"
|
|
connections: ["Switch Cisco"]
|
|
|
|
- name: "Cisco1"
|
|
ip: "192.168.10.185"
|
|
username: "root"
|
|
password: "Aasi940812"
|
|
public_url: "https://192.168.10.185:8006"
|
|
icon: "server"
|
|
type: "proxmox"
|
|
connections: ["Switch Cisco"]
|
|
|
|
- name: "DellT430-2"
|
|
ip: "192.168.10.187"
|
|
username: "root"
|
|
password: "Aasi940812"
|
|
public_url: "https://192.168.10.187:8006"
|
|
icon: "server"
|
|
type: "proxmox"
|
|
connections: ["Switch Cisco"]
|
|
|
|
# ── VMs de TYAN CAS ────────────────────────────────────────
|
|
- name: "OMV"
|
|
ip: "192.168.10.5"
|
|
icon: "nas"
|
|
type: "vm"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "NocoDB"
|
|
ip: "192.168.10.134"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "Dashy"
|
|
ip: "192.168.10.8"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "Paperless-NGX"
|
|
ip: "192.168.10.9"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "Immich"
|
|
ip: "192.168.10.10"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "Debian"
|
|
ip: "192.168.10.148"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "Dockge"
|
|
ip: "192.168.10.8"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "BookLore"
|
|
ip: "192.168.10.205"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "n8n"
|
|
ip: "192.168.10.14"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "Navidrome"
|
|
ip: "192.168.10.202"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "Uptime Kuma"
|
|
ip: "192.168.10.16"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "Metabase"
|
|
ip: "192.168.10.142"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "Gitea"
|
|
ip: "192.168.10.150"
|
|
public_url: "https://git.consultoria-as.com"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "AMP"
|
|
ip: "192.168.10.151"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "NodeBB"
|
|
ip: "192.168.10.191"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
# ── VMs de Cisco1 ──────────────────────────────────────────
|
|
- name: "Ubuntu"
|
|
ip: "192.168.10.182"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "Cisco1"
|
|
connections: ["Cisco1"]
|
|
|
|
- name: "Tilmatli"
|
|
ip: "192.168.10.119"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "Cisco1"
|
|
connections: ["Cisco1"]
|
|
|
|
- name: "WhatsappBot Clawbot"
|
|
ip: "192.168.10.68"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "Cisco1"
|
|
connections: ["Cisco1"]
|
|
|
|
- name: "Ubuntu CT"
|
|
ip: "192.168.10.182"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "Cisco1"
|
|
connections: ["Cisco1"]
|
|
|
|
- name: "PostgreSQL"
|
|
ip: "192.168.10.71"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "Cisco1"
|
|
connections: ["Cisco1"]
|
|
|
|
# ── VMs de DellT430-2 ─────────────────────────────────────
|
|
- name: "JobHero"
|
|
ip: "192.168.10.197"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "Autopartes"
|
|
ip: "192.168.10.200"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "ProksBot"
|
|
ip: "192.168.10.204"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "CAS PaginasWeb"
|
|
ip: "192.168.10.211"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "SIO Mexus"
|
|
ip: "192.168.10.207"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "Horux"
|
|
ip: "192.168.10.212"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "ATLAS GPS"
|
|
ip: "192.168.10.216"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "Trivy"
|
|
ip: "192.168.10.217"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "Social Automation"
|
|
ip: "192.168.10.218"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "Padel"
|
|
ip: "192.168.10.219"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "MSP"
|
|
ip: "192.168.10.223"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "VoIP"
|
|
ip: "192.168.10.228"
|
|
icon: "phone"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "Sistema Hotel"
|
|
ip: "192.168.10.229"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "Dashboard TV"
|
|
ip: "192.168.10.230"
|
|
icon: "device"
|
|
type: "vm"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "HoruxDB"
|
|
ip: "192.168.10.208"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "Odoo"
|
|
ip: "192.168.10.188"
|
|
username: "root"
|
|
password: "Aasi940812"
|
|
public_url: "https://crm.consultoria-as.com"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
- name: "NodeBB 2"
|
|
ip: "192.168.10.192"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "DellT430-2"
|
|
connections: ["DellT430-2"]
|
|
|
|
# ── Otros dispositivos (no Proxmox) ────────────────────────
|
|
- name: "Access Point EAP610"
|
|
ip: "192.168.10.166"
|
|
icon: "ap"
|
|
connections: ["Switch Cisco"]
|
|
|
|
- name: "Impresora Epson"
|
|
ip: "192.168.10.177"
|
|
icon: "printer"
|
|
connections: ["Switch Cisco"]
|
|
|
|
- name: "iDRAC TYAN"
|
|
ip: "192.168.10.159"
|
|
icon: "server"
|
|
connections: ["Switch Cisco"]
|
|
|
|
- name: "iDRAC Dell"
|
|
ip: "192.168.10.160"
|
|
icon: "server"
|
|
connections: ["Switch Cisco"]
|
|
|
|
- name: "Jellyfin"
|
|
ip: "192.168.10.103"
|
|
username: "consultoria-as"
|
|
password: "Aasi940812"
|
|
public_url: "https://jellyfin.consultoria-as.com"
|
|
icon: "device"
|
|
type: "ct"
|
|
parent: "TYAN CAS"
|
|
connections: ["TYAN CAS"]
|
|
|
|
- name: "HP Consultoria-AS"
|
|
ip: "192.168.10.147"
|
|
icon: "pc"
|
|
connections: ["Switch Cisco"]
|
|
|
|
network_scan:
|
|
enabled: true
|
|
subnet: "192.168.10.0/24"
|
|
interval_minutes: 10
|