Puppet Class: nova::migration::qemu
- Defined in:
- manifests/migration/qemu.pp
Overview
Class: nova::migration::qemu
Sets qemu config that is required for migration
Parameters:
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'manifests/migration/qemu.pp', line 19
class nova::migration::qemu(
Boolean $configure_qemu = false,
$migration_port_min = $facts['os_service_default'],
$migration_port_max = $facts['os_service_default'],
){
include nova::deps
Qemu_config<||> ~> Service<| tag == 'libvirt-qemu-service' |>
if $configure_qemu {
qemu_config {
'migration_port_min': value => $migration_port_min;
'migration_port_max': value => $migration_port_max;
}
} else {
qemu_config {
'migration_port_min': ensure => absent;
'migration_port_max': ensure => absent;
}
}
}
|