Externalize hardcoded host inventory and diagram topology into JSON config files (hosts.json, diagram.json) loaded at runtime. Add .env for configurable port, SSH key path, and refresh interval. Include example configs and README for standalone deployment. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26 lines
709 B
Text
26 lines
709 B
Text
{
|
|
"network": {
|
|
"subnet": "192.168.1.0/24",
|
|
"internet": {"label": "INTERNET", "description": "ISP Connection"},
|
|
"router": {"label": "Router", "description": "Gateway .1"},
|
|
"switch": {"label": "Network Switch", "description": "Managed Switch .2"},
|
|
"nas": {"label": "NAS", "description": "Storage .100"}
|
|
},
|
|
"remote": {},
|
|
"proxmox_nodes": {
|
|
"pve-node1": {
|
|
"ip": ".5",
|
|
"hardware": "CPU Model | 64GB",
|
|
"gpu_label": null,
|
|
"children": [
|
|
{"name": "my-vm", "vmid": "100", "type": "vm"},
|
|
{"name": "my-lxc", "vmid": "121", "type": "lxc"}
|
|
]
|
|
}
|
|
},
|
|
"layout": {
|
|
"positions": {
|
|
"pve-node1": {"x_offset": 280, "y": 240}
|
|
}
|
|
}
|
|
}
|