parent
5e3521bcb1
commit
2624c16869
@ -137,6 +137,12 @@
|
|||||||
# https://libvirt.org/logging.html
|
# https://libvirt.org/logging.html
|
||||||
# Defaults to undef
|
# Defaults to undef
|
||||||
#
|
#
|
||||||
|
# [*volume_use_multipath*]
|
||||||
|
# (optional) Use multipath connection of the
|
||||||
|
# iSCSI or FC volume. Volumes can be connected in the
|
||||||
|
# LibVirt as multipath devices.
|
||||||
|
# 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',
|
||||||
@ -163,6 +169,7 @@ class nova::compute::libvirt (
|
|||||||
$preallocate_images = $::os_service_default,
|
$preallocate_images = $::os_service_default,
|
||||||
$manage_libvirt_services = true,
|
$manage_libvirt_services = true,
|
||||||
$log_outputs = undef,
|
$log_outputs = undef,
|
||||||
|
$volume_use_multipath = $::os_service_default,
|
||||||
) inherits nova::params {
|
) inherits nova::params {
|
||||||
|
|
||||||
include ::nova::deps
|
include ::nova::deps
|
||||||
@ -234,6 +241,7 @@ class nova::compute::libvirt (
|
|||||||
'libvirt/hw_disk_discard': value => $libvirt_hw_disk_discard;
|
'libvirt/hw_disk_discard': value => $libvirt_hw_disk_discard;
|
||||||
'libvirt/hw_machine_type': value => $libvirt_hw_machine_type;
|
'libvirt/hw_machine_type': value => $libvirt_hw_machine_type;
|
||||||
'libvirt/enabled_perf_events': value => join(any2array($libvirt_enabled_perf_events), ',');
|
'libvirt/enabled_perf_events': value => join(any2array($libvirt_enabled_perf_events), ',');
|
||||||
|
'libvirt/volume_use_multipath': value => $volume_use_multipath;
|
||||||
}
|
}
|
||||||
|
|
||||||
# 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