2023-04-20 20:43:05 +00:00
|
|
|
{
|
2023-06-09 03:58:38 +00:00
|
|
|
"application": {
|
2023-06-14 04:49:43 +00:00
|
|
|
"pveAPI": "https://pve.mydoamin/api2/json",
|
2023-06-09 03:58:38 +00:00
|
|
|
"pveAPIToken": {
|
|
|
|
"user": "proxmoxaas-api",
|
|
|
|
"realm": "pve",
|
|
|
|
"id": "token",
|
2023-06-14 04:49:43 +00:00
|
|
|
"uuid": "token-secret-value"
|
2023-06-09 03:58:38 +00:00
|
|
|
},
|
|
|
|
"listenPort": 80,
|
|
|
|
"hostname": "client.mydomain",
|
|
|
|
"domain": "mydomain"
|
|
|
|
},
|
2023-04-20 20:43:05 +00:00
|
|
|
"resources": {
|
2023-06-14 04:49:43 +00:00
|
|
|
"cpu": {
|
|
|
|
"type": "list",
|
|
|
|
"blacklist": false,
|
|
|
|
"display": false
|
|
|
|
},
|
2023-04-20 20:43:05 +00:00
|
|
|
"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,
|
2023-06-14 04:49:43 +00:00
|
|
|
"unit": "Cores",
|
|
|
|
"display": true
|
2023-04-20 20:43:05 +00:00
|
|
|
},
|
|
|
|
"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,
|
2023-06-14 04:49:43 +00:00
|
|
|
"unit": "B",
|
|
|
|
"display": true
|
2023-04-20 20:43:05 +00:00
|
|
|
},
|
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,
|
2023-06-14 04:49:43 +00:00
|
|
|
"unit": "B",
|
|
|
|
"display": true
|
2023-05-16 16:34:39 +00:00
|
|
|
},
|
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-06-14 04:49:43 +00:00
|
|
|
],
|
|
|
|
"display": true
|
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"
|
2023-06-14 04:49:43 +00:00
|
|
|
],
|
|
|
|
"display": true
|
2023-05-16 16:34:39 +00:00
|
|
|
},
|
|
|
|
"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-06-14 04:49:43 +00:00
|
|
|
"unit": "B/s",
|
|
|
|
"display": true
|
2023-04-20 20:43:05 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"users": {
|
2023-06-14 04:49:43 +00:00
|
|
|
"exampleuser@authrealm": {
|
2023-04-20 20:43:05 +00:00
|
|
|
"resources": {
|
|
|
|
"max": {
|
2023-06-14 04:49:43 +00:00
|
|
|
"cpu": ["kvm64", "host"],
|
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-06-14 04:49:43 +00:00
|
|
|
"node1",
|
|
|
|
"node2"
|
2023-05-12 20:51:07 +00:00
|
|
|
],
|
2023-04-20 21:27:32 +00:00
|
|
|
"instances": {
|
|
|
|
"vmid": {
|
|
|
|
"min": 100,
|
|
|
|
"max": 199
|
|
|
|
},
|
2023-06-14 04:49:43 +00:00
|
|
|
"pool": "exampleuserpool",
|
|
|
|
"vlan": "10",
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|