Merge "Add new role parameters for cpu/ram/disk allocation ratio" into stable/queens
This commit is contained in:
commit
4dd4b45445
|
@ -241,6 +241,24 @@ parameters:
|
|||
type: boolean
|
||||
tags:
|
||||
- role_specific
|
||||
NovaCPUAllocationRatio:
|
||||
type: number
|
||||
description: Virtual CPU to physical CPU allocation ratio.
|
||||
default: 0.0
|
||||
tags:
|
||||
- role_specific
|
||||
NovaRAMAllocationRatio:
|
||||
type: number
|
||||
description: Virtual RAM to physical RAM allocation ratio.
|
||||
default: 1.0
|
||||
tags:
|
||||
- role_specific
|
||||
NovaDiskAllocationRatio:
|
||||
type: number
|
||||
description: Virtual disk to physical disk allocation ratio.
|
||||
default: 0.0
|
||||
tags:
|
||||
- role_specific
|
||||
|
||||
conditions:
|
||||
enable_live_migration_tunnelled:
|
||||
|
@ -301,6 +319,9 @@ resources:
|
|||
nova::compute::resume_guests_state_on_host_boot: NovaResumeGuestsStateOnHostBoot
|
||||
resume_guests_state_on_host_boot: NovaResumeGuestsStateOnHostBoot
|
||||
nova::compute::rbd::ephemeral_storage: NovaEnableRbdBackend
|
||||
nova::cpu_allocation_ratio: NovaCPUAllocationRatio
|
||||
nova::ram_allocation_ratio: NovaRAMAllocationRatio
|
||||
nova::disk_allocation_ratio: NovaDiskAllocationRatio
|
||||
- values: {get_param: [RoleParameters]}
|
||||
- values:
|
||||
NovaVcpuPinSet: {get_param: NovaVcpuPinSet}
|
||||
|
@ -361,6 +382,9 @@ resources:
|
|||
NovaLibvirtMemStatsPeriodSeconds: {get_param: NovaLibvirtMemStatsPeriodSeconds}
|
||||
NovaResumeGuestsStateOnHostBoot: {get_param: NovaResumeGuestsStateOnHostBoot}
|
||||
NovaEnableRbdBackend: {get_param: NovaEnableRbdBackend}
|
||||
NovaCPUAllocationRatio: {get_param: NovaCPUAllocationRatio}
|
||||
NovaRAMAllocationRatio: {get_param: NovaRAMAllocationRatio}
|
||||
NovaDiskAllocationRatio: {get_param: NovaDiskAllocationRatio}
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
Add new role parameters `NovaCPUAllocationRatio`, `NovaRAMAllocationRatio`
|
||||
and `NovaDiskAllocationRatio` which allows to configure `cpu_allocation_ratio`,
|
||||
`ram_allocation_ratio` and `disk_allocation_ratio`.
|
||||
Default value for NovaCPUAllocationRatio is 0.0
|
||||
Default value for NovaRAMAllocationRatio is 1.0
|
||||
Default value for NovaDiskAllocationRatio is 0.0
|
||||
|
||||
The default values for CPU and Disk allocation ratio
|
||||
are taken 0.0 as mentioned in [1].
|
||||
[1] https://specs.openstack.org/openstack/nova-specs/specs/stein/implemented/initial-allocation-ratios.html
|
Loading…
Reference in New Issue