2023-04-20 20:43:05 +00:00
|
|
|
{
|
|
|
|
"resources": {
|
|
|
|
"cores": {
|
|
|
|
"type": "numeric",
|
|
|
|
"multiplier": 1,
|
2023-05-19 20:50:07 +00:00
|
|
|
"base": 1024,
|
2023-04-20 20:43:05 +00:00
|
|
|
"compact": false,
|
|
|
|
"unit": "Cores"
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"type": "numeric",
|
|
|
|
"multiplier": 1048576,
|
2023-05-19 20:50:07 +00:00
|
|
|
"base": 1024,
|
2023-04-20 20:43:05 +00:00
|
|
|
"compact": true,
|
|
|
|
"unit": "B"
|
|
|
|
},
|
2023-05-16 16:34:39 +00:00
|
|
|
"swap": {
|
|
|
|
"type": "numeric",
|
|
|
|
"multiplier": 1048576,
|
2023-05-19 20:50:07 +00:00
|
|
|
"base": 1024,
|
2023-05-16 16:34:39 +00:00
|
|
|
"compact": true,
|
|
|
|
"unit": "B"
|
|
|
|
},
|
2023-04-20 20:43:05 +00:00
|
|
|
"local": {
|
|
|
|
"type": "storage",
|
|
|
|
"multiplier": 1,
|
2023-05-19 20:50:07 +00:00
|
|
|
"base": 1024,
|
2023-04-20 20:43:05 +00:00
|
|
|
"compact": true,
|
|
|
|
"unit": "B",
|
2023-05-16 16:34:39 +00:00
|
|
|
"disks": [
|
|
|
|
"rootfs",
|
|
|
|
"mp",
|
|
|
|
"sata",
|
|
|
|
"unused"
|
|
|
|
]
|
2023-04-20 20:43:05 +00:00
|
|
|
},
|
|
|
|
"cephpl": {
|
|
|
|
"type": "storage",
|
|
|
|
"multiplier": 1,
|
2023-05-19 20:50:07 +00:00
|
|
|
"base": 1024,
|
2023-04-20 20:43:05 +00:00
|
|
|
"compact": true,
|
|
|
|
"unit": "B",
|
2023-05-16 16:34:39 +00:00
|
|
|
"disks": [
|
|
|
|
"rootfs",
|
|
|
|
"mp",
|
|
|
|
"sata",
|
|
|
|
"unused"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"type": "network",
|
2023-05-16 16:50:24 +00:00
|
|
|
"multiplier": 1000000,
|
2023-05-19 20:50:07 +00:00
|
|
|
"base": 1000,
|
2023-05-16 16:34:39 +00:00
|
|
|
"compact": true,
|
2023-05-19 20:50:07 +00:00
|
|
|
"unit": "B/s"
|
2023-04-20 20:43:05 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"users": {
|
|
|
|
"exampleuser@realm": {
|
|
|
|
"resources": {
|
|
|
|
"max": {
|
2023-05-19 20:50:07 +00:00
|
|
|
"cores": 0,
|
|
|
|
"memory": 0,
|
|
|
|
"swap": 0,
|
|
|
|
"local": 0,
|
|
|
|
"cephpl": 0,
|
|
|
|
"network": 0
|
2023-04-20 20:43:05 +00:00
|
|
|
}
|
2023-04-20 21:27:32 +00:00
|
|
|
},
|
2023-05-12 20:51:07 +00:00
|
|
|
"nodes": [
|
2023-05-19 20:50:07 +00:00
|
|
|
"node-0-id",
|
|
|
|
"node-1-id"
|
2023-05-12 20:51:07 +00:00
|
|
|
],
|
2023-04-20 21:27:32 +00:00
|
|
|
"instances": {
|
|
|
|
"vmid": {
|
|
|
|
"min": 100,
|
|
|
|
"max": 199
|
|
|
|
},
|
2023-05-16 16:34:39 +00:00
|
|
|
"pool": "examplepool",
|
2023-04-20 21:27:32 +00:00
|
|
|
"templates": {
|
|
|
|
"lxc": {
|
2023-05-19 20:50:07 +00:00
|
|
|
"net0": {
|
|
|
|
"value": "name=eth0,bridge=vmbr0,ip=dhcp,ip6=dhcp,tag=10,type=veth,rate=1000",
|
|
|
|
"resource": {
|
|
|
|
"name": "network",
|
|
|
|
"amount": 1000
|
|
|
|
}
|
|
|
|
}
|
2023-04-20 21:27:32 +00:00
|
|
|
},
|
|
|
|
"qemu": {
|
2023-05-19 20:50:07 +00:00
|
|
|
"net0": {
|
|
|
|
"value": "virtio,bridge=vmbr0,tag=10,rate=1000",
|
|
|
|
"resource": {
|
|
|
|
"name": "network",
|
|
|
|
"amount": 1000
|
|
|
|
}
|
|
|
|
}
|
2023-04-20 21:27:32 +00:00
|
|
|
}
|
|
|
|
}
|
2023-04-20 20:43:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|