E
This commit is contained in:
parent
cb8c71a99e
commit
3fcdfa03ca
@ -147,6 +147,10 @@
|
|||||||
# Valid values are 256, 512, 1024
|
# Valid values are 256, 512, 1024
|
||||||
# Defaults to $::os_service_default
|
# 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 (
|
class nova::compute::libvirt (
|
||||||
$ensure_package = 'present',
|
$ensure_package = 'present',
|
||||||
$libvirt_virt_type = 'kvm',
|
$libvirt_virt_type = 'kvm',
|
||||||
@ -175,6 +179,7 @@ class nova::compute::libvirt (
|
|||||||
$log_outputs = undef,
|
$log_outputs = undef,
|
||||||
$rx_queue_size = $::os_service_default,
|
$rx_queue_size = $::os_service_default,
|
||||||
$tx_queue_size = $::os_service_default,
|
$tx_queue_size = $::os_service_default,
|
||||||
|
$file_backed_memory = undef,
|
||||||
) inherits nova::params {
|
) inherits nova::params {
|
||||||
|
|
||||||
include ::nova::deps
|
include ::nova::deps
|
||||||
@ -256,6 +261,7 @@ class nova::compute::libvirt (
|
|||||||
'libvirt/enabled_perf_events': value => join(any2array($libvirt_enabled_perf_events), ',');
|
'libvirt/enabled_perf_events': value => join(any2array($libvirt_enabled_perf_events), ',');
|
||||||
'libvirt/rx_queue_size': value => $rx_queue_size;
|
'libvirt/rx_queue_size': value => $rx_queue_size;
|
||||||
'libvirt/tx_queue_size': value => $tx_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
|
# cpu_model param is only valid if cpu_mode=custom
|
||||||
|
Loading…
Reference in New Issue
Block a user