mirror of
https://github.com/jcreek/OpenNetworkDiagram.git
synced 2026-07-14 11:33:43 +00:00
69 lines
1.1 KiB
JSON
69 lines
1.1 KiB
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",
|
|
"rack": {
|
|
"name": "Example Rack",
|
|
"unit": 12
|
|
},
|
|
"ports": [
|
|
{
|
|
"portName": "1",
|
|
"speedGbps": 1,
|
|
"connectedTo": {
|
|
"device": "Example Host",
|
|
"port": "eth0"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"subnets": [
|
|
{
|
|
"cidr": "192.168.1.0/24",
|
|
"name": "LAN",
|
|
"vlanId": 1
|
|
}
|
|
]
|
|
}
|