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
|
|
|
},
|
2023-06-22 00:23:34 +00:00
|
|
|
"pveroot": {
|
|
|
|
"username": "root@pam",
|
|
|
|
"password": "rootpassword"
|
|
|
|
},
|
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",
|
2023-06-14 22:34:10 +00:00
|
|
|
"whitelist": true,
|
2023-06-14 04:49:43 +00:00
|
|
|
"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-06-21 05:06:38 +00:00
|
|
|
},
|
|
|
|
"pci": {
|
|
|
|
"type": "list",
|
|
|
|
"whitelist": true,
|
|
|
|
"display": true
|
2023-04-20 20:43:05 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"users": {
|
2023-06-29 02:07:57 +00:00
|
|
|
"exampleuser@examplepool": {
|
2023-04-20 20:43:05 +00:00
|
|
|
"resources": {
|
|
|
|
"max": {
|
2023-06-14 04:49:43 +00:00
|
|
|
"cpu": ["kvm64", "host"],
|
2023-06-29 02:07:57 +00:00
|
|
|
"cores": 128,
|
|
|
|
"memory": 131072,
|
|
|
|
"swap": 131072,
|
|
|
|
"local": 1099511627776,
|
|
|
|
"cephpl": 1099511627776,
|
|
|
|
"network": 100000,
|
|
|
|
"pci": ["Device Name Matcher 1", "Device Name Matcher 2"]
|
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-29 02:07:57 +00:00
|
|
|
"examplenode1",
|
|
|
|
"examplenode2"
|
2023-05-12 20:51:07 +00:00
|
|
|
],
|
2023-06-29 02:07:57 +00:00
|
|
|
"cluster": {
|
2023-04-20 21:27:32 +00:00
|
|
|
"vmid": {
|
2023-06-29 02:07:57 +00:00
|
|
|
"min": 200,
|
|
|
|
"max": 299
|
2023-04-20 21:27:32 +00:00
|
|
|
},
|
2023-06-29 02:07:57 +00:00
|
|
|
"pool": "examplepool"
|
|
|
|
},
|
|
|
|
"templates": {
|
|
|
|
"instances": {
|
2023-04-20 21:27:32 +00:00
|
|
|
"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-06-29 02:07:57 +00:00
|
|
|
"cpu": {
|
|
|
|
"value": "host",
|
|
|
|
"resource": null
|
|
|
|
},
|
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-06-29 02:07:57 +00:00
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"lxc": {
|
|
|
|
"type": "veth",
|
|
|
|
"bridge": "vmbr0",
|
|
|
|
"vlan": 10,
|
|
|
|
"ip": "dhcp",
|
|
|
|
"ip6": "dhcp"
|
|
|
|
},
|
|
|
|
"qemu": {
|
|
|
|
"type": "virtio",
|
|
|
|
"bridge": "vmbr0",
|
|
|
|
"vlan": 10
|
|
|
|
}
|
|
|
|
|
2023-04-20 21:27:32 +00:00
|
|
|
}
|
2023-04-20 20:43:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|