
Contains .inc files which have all the contents of the .rst files but are grouped together for easier editing. Contains parameters.yaml, which has all parameters in one file. Contains request and response samples (JSON and XML) that are pointed to from the .inc files. Change-Id: I42d5451300f95774a3ec4df66bc95cb36795844d
25 lines
1.6 KiB
JSON
25 lines
1.6 KiB
JSON
{
|
|
"description": "You can configure the CPU limits with control parameters.",
|
|
"name": "CPU Limits",
|
|
"properties": {
|
|
"quota:cpu_period": {
|
|
"description": "Specifies the enforcement interval (unit: microseconds) for QEMU and LXC hypervisors. Within a period, each VCPU of the domain is not allowed to consume more than the quota worth of runtime. The value should be in range [1000, 1000000]. A period with value 0 means no value.",
|
|
"maximum": 1000000,
|
|
"minimum": 1000,
|
|
"title": "Quota: CPU Period",
|
|
"type": "integer"
|
|
},
|
|
"quota:cpu_quota": {
|
|
"description": "Specifies the maximum allowed bandwidth (unit: microseconds). A domain with a negative-value quota indicates that the domain has infinite bandwidth, which means that it is not bandwidth controlled. The value should be in range [1000, 18446744073709551] or less than 0. A quota with value 0 means no value. You can use this feature to ensure that all vCPUs run at the same speed.",
|
|
"title": "Quota: CPU Quota",
|
|
"type": "integer"
|
|
},
|
|
"quota:cpu_shares": {
|
|
"description": "Specifies the proportional weighted share for the domain. If this element is omitted, the service defaults to the OS provided defaults. There is no unit for the value; it is a relative measure based on the setting of other VMs. For example, a VM configured with value 2048 gets twice as much CPU time as a VM configured with value 1024.",
|
|
"title": "Quota: CPU Shares",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": []
|
|
}
|