Add role parameter for rx/tx virtio-net queue size
Introduce NovaLibvirtRxQueueSize and NovaLibvirtTxQueueSize to set
virtio-net queue sizes as a role parameter.
Change-Id: I7f252b38d4358fc815d98c522ca59a6adfd69a88
(cherry picked from commit 444fc042dc
)
This commit is contained in:
parent
d478b033bd
commit
7d81e25d0a
|
@ -140,6 +140,24 @@ parameters:
|
|||
default: False
|
||||
description: Whether to verify image signatures.
|
||||
type: boolean
|
||||
NovaLibvirtRxQueueSize:
|
||||
description: >
|
||||
virtio-net RX queue size. Valid values are 256, 512, 1024
|
||||
default: 512
|
||||
type: number
|
||||
constraints:
|
||||
- allowed_values: [ 256, 512, 1024 ]
|
||||
tags:
|
||||
- role_specific
|
||||
NovaLibvirtTxQueueSize:
|
||||
description: >
|
||||
virtio-net TX queue size. Valid values are 256, 512, 1024
|
||||
default: 512
|
||||
type: number
|
||||
constraints:
|
||||
- allowed_values: [ 256, 512, 1024 ]
|
||||
tags:
|
||||
- role_specific
|
||||
|
||||
conditions:
|
||||
enable_live_migration_tunnelled:
|
||||
|
@ -169,10 +187,14 @@ resources:
|
|||
- map_replace:
|
||||
- nova::compute::vcpu_pin_set: NovaVcpuPinSet
|
||||
nova::compute::reserved_host_memory: NovaReservedHostMemory
|
||||
nova::compute::libvirt::rx_queue_size: NovaLibvirtRxQueueSize
|
||||
nova::compute::libvirt::tx_queue_size: NovaLibvirtTxQueueSize
|
||||
- values: {get_param: [RoleParameters]}
|
||||
- values:
|
||||
NovaVcpuPinSet: {get_param: NovaVcpuPinSet}
|
||||
NovaReservedHostMemory: {get_param: NovaReservedHostMemory}
|
||||
NovaLibvirtRxQueueSize: {get_param: NovaLibvirtRxQueueSize}
|
||||
NovaLibvirtTxQueueSize: {get_param: NovaLibvirtTxQueueSize}
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
Introduce NovaLibvirtRxQueueSize and NovaLibvirtTxQueueSize to set
|
||||
virtio-net queue sizes as a role parameter. Valid values are 256,
|
||||
512 and 1024
|
Loading…
Reference in New Issue