1
0
This commit is contained in:
Arnaud Morin 2019-10-07 12:01:01 +02:00
parent cb8c71a99e
commit 3fcdfa03ca

View File

@ -147,6 +147,10 @@
# Valid values are 256, 512, 1024
# Defaults to $::os_service_default
#
# [*file_backed_memory*]
# (optional) Available capacity in MiB for file-backed memory.
# Defaults to $::os_service_default
#
class nova::compute::libvirt (
$ensure_package = 'present',
$libvirt_virt_type = 'kvm',
@ -175,6 +179,7 @@ class nova::compute::libvirt (
$log_outputs = undef,
$rx_queue_size = $::os_service_default,
$tx_queue_size = $::os_service_default,
$file_backed_memory = undef,
) inherits nova::params {
include ::nova::deps
@ -256,6 +261,7 @@ class nova::compute::libvirt (
'libvirt/enabled_perf_events': value => join(any2array($libvirt_enabled_perf_events), ',');
'libvirt/rx_queue_size': value => $rx_queue_size;
'libvirt/tx_queue_size': value => $tx_queue_size;
'libvirt/file_backed_memory': value => $file_backed_memory;
}
# cpu_model param is only valid if cpu_mode=custom