Files
OpenNetworkDiagram/data/network.json.example
T
2026-07-12 20:19:19 +01:00

58 lines
1011 B
JSON

{
"machines": [
{
"machineName": "Example Host",
"ipAddress": "192.168.1.10",
"role": "Hypervisor",
"operatingSystem": "Linux",
"notes": "Optional notes",
"ports": [
{
"portName": "eth0",
"speedGbps": 1,
"macAddress": "aa:bb:cc:dd:ee:01",
"connectedTo": {
"device": "Example Switch",
"port": "1"
}
}
],
"software": {
"vms": [
{
"name": "Example VM",
"role": "Service",
"ipAddress": "192.168.1.20",
"macAddress": "aa:bb:cc:dd:ee:02"
}
]
},
"hardware": {
"cpu": "CPU model",
"ram": "16GB",
"networkPorts": 1,
"networkPortSpeedGbps": 1,
"gpu": "Optional GPU"
}
}
],
"devices": [
{
"name": "Example Switch",
"ipAddress": "192.168.1.2",
"type": "Network Switch",
"notes": "Optional notes",
"ports": [
{
"portName": "1",
"speedGbps": 1,
"connectedTo": {
"device": "Example Host",
"port": "eth0"
}
}
]
}
]
}