diff --git a/static/data/network.json b/static/data/network.json new file mode 100644 index 0000000..a6a6f8c --- /dev/null +++ b/static/data/network.json @@ -0,0 +1,494 @@ +{ + "machines": [ + { + "machineName": "ProxRouter", + "ipAddress": "10.0.0.3", + "role": "Hypervisor", + "operatingSystem": "Proxmox", + "ports": [ + { + "portName": "eth0", + "speedGbps": 1, + "connectedTo": { + "device": "Gigabit Switch", + "port": "1" + } + }, + { + "portName": "eth1", + "speedGbps": 1 + }, + { + "portName": "eth2", + "speedGbps": 1, + "connectedTo": { + "device": "Gigabit Switch", + "port": "2" + } + }, + { + "portName": "eth3", + "speedGbps": 1, + "connectedTo": { + "device": "WAN Uplink", + "port": "wan" + } + } + ], + "software": { + "vms": [ + { + "name": "OpnSense", + "role": "Router/Firewall/Gateway (DHCP 10.0.0.100-254)", + "ipAddress": "10.0.0.1" + }, + { + "name": "TPLink Omada Controller", + "role": "Network Controller (:8043)", + "ipAddress": "10.0.0.4" + }, + { "name": "PiVPN (WireGuard)", "role": "VPN Server", "ipAddress": "10.0.0.5" }, + { + "name": "PiHole", + "role": "DNS Ad-blocker (installed, not in active use)", + "ipAddress": "10.0.0.6" + }, + { "name": "Dashy", "role": "Dashboard", "ipAddress": "10.0.0.12" }, + { + "name": "ProxRouter-Docker", + "role": "Docker host (Nginx reverse proxy, RustDesk, TwinGate)", + "ipAddress": "10.0.0.23" + } + ] + }, + "hardware": { + "cpu": "Intel N100", + "ram": "8GB", + "networkPorts": 4, + "networkPortSpeedGbps": 1 + } + }, + { + "machineName": "Asustor NAS", + "ipAddress": "10.0.0.9", + "role": "NAS", + "operatingSystem": "Asustor ADM", + "ports": [ + { + "portName": "eth0", + "speedGbps": 1, + "connectedTo": { + "device": "Gigabit Switch", + "port": "3" + } + } + ], + "software": { "vms": [] }, + "hardware": { + "cpu": "Realtek RTD1296 Quad Core 1.4GHz", + "ram": "2GB", + "networkPorts": 1, + "networkPortSpeedGbps": 1 + } + }, + { + "machineName": "Home Assistant Green", + "ipAddress": "10.0.0.13", + "role": "Smart Home Controller", + "operatingSystem": "Home Assistant OS", + "ports": [ + { + "portName": "eth0", + "speedGbps": 1, + "connectedTo": { + "device": "Gigabit Switch", + "port": "4" + } + } + ], + "software": { "vms": [] }, + "hardware": { + "cpu": "Home Assistant Custom SoC", + "ram": "Unknown", + "networkPorts": 1, + "networkPortSpeedGbps": 1 + } + }, + { + "machineName": "Plex Server", + "ipAddress": "10.0.0.11", + "role": "Media Server", + "operatingSystem": "Ubuntu Server", + "ports": [ + { + "portName": "eth0", + "speedGbps": 1, + "connectedTo": { + "device": "Gigabit Switch", + "port": "5" + } + } + ], + "software": { "vms": [] }, + "hardware": { + "cpu": "Intel N100", + "ram": "Unknown", + "networkPorts": 1, + "networkPortSpeedGbps": 1 + } + }, + { + "machineName": "Win11 N100", + "ipAddress": "10.0.0.8", + "role": "Media Downloader", + "operatingSystem": "Windows 11", + "ports": [ + { + "portName": "eth0", + "speedGbps": 1, + "connectedTo": { + "device": "Gigabit Switch", + "port": "6" + } + } + ], + "software": { "vms": [] }, + "hardware": { + "cpu": "Intel N100", + "ram": "Unknown", + "networkPorts": 1, + "networkPortSpeedGbps": 1 + } + }, + { + "machineName": "Win11 Backblaze NAS", + "ipAddress": "10.0.0.7", + "role": "Backup NAS + Hypervisor", + "operatingSystem": "TrueNAS Scale", + "ports": [ + { + "portName": "eth0", + "speedGbps": 1, + "connectedTo": { + "device": "Gigabit Switch", + "port": "7" + } + } + ], + "software": { + "vms": [ + { "name": "Win11NAS", "role": "Backblaze Backup VM", "ipAddress": "10.0.0.24" }, + { "name": "MakeMKV", "role": "Blu-ray Ripper", "ipAddress": "10.0.0.14" }, + { "name": "Handbrake", "role": "Video Transcoder", "ipAddress": "10.0.0.15" } + ] + }, + "hardware": { + "cpu": "AMD Ryzen 5 4600G", + "ram": "16GB", + "networkPorts": 1, + "networkPortSpeedGbps": 1, + "gpu": "EVGA GeForce GTX 1050 Ti" + } + }, + { + "machineName": "TrueNAS Host", + "ipAddress": "10.0.0.10", + "role": "Storage + VM Host", + "operatingSystem": "TrueNAS Scale", + "ports": [ + { + "portName": "eth0", + "speedGbps": 1, + "connectedTo": { + "device": "Gigabit Switch", + "port": "8" + } + } + ], + "software": { + "vms": [ + { + "name": "TrueNAS-Docker", + "role": "Docker host on TrueNAS", + "ipAddress": "10.0.0.25" + } + ] + }, + "hardware": { + "cpu": "Unknown", + "ram": "Unknown", + "networkPorts": 1, + "networkPortSpeedGbps": 1 + } + }, + { + "machineName": "AI Server", + "ipAddress": "10.0.0.20", + "role": "AI Dev/Inference", + "operatingSystem": "Pop!_OS", + "ports": [ + { + "portName": "eth0", + "speedGbps": 1, + "connectedTo": { + "device": "Gigabit Switch", + "port": "9" + } + } + ], + "software": { + "vms": [ + { "name": "Ollama", "role": "LLM Inference", "ipAddress": "10.0.0.21" }, + { "name": "Bot Training", "role": "AI Training", "ipAddress": "10.0.0.22" } + ] + }, + "hardware": { + "cpu": "AMD Ryzen 5 3600", + "ram": "32GB", + "networkPorts": 1, + "networkPortSpeedGbps": 1, + "gpu": "Gigabyte GeForce GTX 1080" + } + }, + { + "machineName": "Immich Mini PC", + "ipAddress": "10.0.0.30", + "role": "Photo Server", + "operatingSystem": "Linux", + "ports": [ + { + "portName": "eth0", + "speedGbps": 1, + "connectedTo": { + "device": "Gigabit Switch", + "port": "10" + } + } + ], + "software": { "vms": [] }, + "hardware": { + "cpu": "Unknown", + "ram": "Unknown", + "networkPorts": 1, + "networkPortSpeedGbps": 1 + } + } + ], + "devices": [ + { + "name": "Gigabit Switch", + "ipAddress": "unknown", + "type": "Network Switch", + "notes": "Main 24-port switch. Wireless access point uplinks through this switch.", + "ports": [ + { + "portName": "1", + "speedGbps": 1, + "connectedTo": { + "device": "ProxRouter", + "port": "eth0" + } + }, + { + "portName": "2", + "speedGbps": 1, + "connectedTo": { + "device": "ProxRouter", + "port": "eth2" + } + }, + { + "portName": "3", + "speedGbps": 1, + "connectedTo": { + "device": "Asustor NAS", + "port": "eth0" + } + }, + { + "portName": "4", + "speedGbps": 1, + "connectedTo": { + "device": "Home Assistant Green", + "port": "eth0" + } + }, + { + "portName": "5", + "speedGbps": 1, + "connectedTo": { + "device": "Plex Server", + "port": "eth0" + } + }, + { + "portName": "6", + "speedGbps": 1, + "connectedTo": { + "device": "Win11 N100", + "port": "eth0" + } + }, + { + "portName": "7", + "speedGbps": 1, + "connectedTo": { + "device": "Win11 Backblaze NAS", + "port": "eth0" + } + }, + { + "portName": "8", + "speedGbps": 1, + "connectedTo": { + "device": "TrueNAS Host", + "port": "eth0" + } + }, + { + "portName": "9", + "speedGbps": 1, + "connectedTo": { + "device": "AI Server", + "port": "eth0" + } + }, + { + "portName": "10", + "speedGbps": 1, + "connectedTo": { + "device": "Immich Mini PC", + "port": "eth0" + } + }, + { + "portName": "11", + "speedGbps": 1, + "connectedTo": { + "device": "HDHomeRun", + "port": "eth0" + } + }, + { + "portName": "12", + "speedGbps": 1 + }, + { + "portName": "13", + "speedGbps": 1 + }, + { + "portName": "14", + "speedGbps": 1 + }, + { + "portName": "15", + "speedGbps": 1 + }, + { + "portName": "16", + "speedGbps": 1 + }, + { + "portName": "17", + "speedGbps": 1 + }, + { + "portName": "18", + "speedGbps": 1 + }, + { + "portName": "19", + "speedGbps": 1 + }, + { + "portName": "20", + "speedGbps": 1 + }, + { + "portName": "21", + "speedGbps": 1 + }, + { + "portName": "22", + "speedGbps": 1 + }, + { + "portName": "23", + "speedGbps": 1 + }, + { + "portName": "24", + "speedGbps": 1 + } + ] + }, + { + "name": "WAN Uplink", + "ipAddress": "unknown", + "type": "ISP/WAN", + "notes": "Upstream internet link (modem/ONT/ISP path).", + "ports": [ + { + "portName": "wan", + "speedGbps": 1, + "connectedTo": { + "device": "ProxRouter", + "port": "eth3" + } + } + ] + }, + { + "name": "HDHomeRun", + "ipAddress": "10.0.0.2", + "type": "TV Tuner", + "ports": [ + { + "portName": "eth0", + "speedGbps": 1, + "connectedTo": { + "device": "Gigabit Switch", + "port": "11" + } + } + ] + }, + { + "name": "3DS", + "ipAddress": "10.0.0.17", + "type": "Handheld Console", + "notes": "Wi-Fi only." + }, + { + "name": "2DS", + "ipAddress": "10.0.0.18", + "type": "Handheld Console", + "notes": "Wi-Fi only." + }, + { + "name": "Nintendo Switch", + "ipAddress": "10.0.0.19", + "type": "Gaming Console", + "notes": "Wi-Fi only." + }, + { + "name": "NanoKVM Lite", + "ipAddress": "10.0.0.26", + "type": "KVM Device", + "notes": "Port link not yet modeled." + }, + { + "name": "UPS Pi", + "ipAddress": "10.0.0.27", + "type": "Power Monitoring Device", + "notes": "Port link not yet modeled." + }, + { + "name": "Waveshare", + "ipAddress": "10.0.0.28", + "type": "Peripheral Device", + "notes": "Port link not yet modeled." + } + ] +}