Remove libvirt migration flags options

The 'live_migration_flag' and 'block_migration_flag' options in libvirt
section that were deprecated in Mitaka have been completely removed in
Newton, because nova automatically sets correct migration flags.

Change-Id: Ia4bbbe3d0e46467b0d5f0a495528471dbf340b01
This commit is contained in:
ZhongShengping 2016-10-30 00:01:24 +08:00
parent 324e725293
commit 5825886fc1
2 changed files with 5 additions and 21 deletions

View File

@ -49,16 +49,6 @@
# (optional) Whether or not configure libvirt bits.
# Defaults to true.
#
#DEPRECATED PARAMETERS
#
# [*live_migration_flag*]
# (optional) Migration flags to be set for live migration (string value)
# Defaults to undef
#
# [*block_migration_flag*]
# (optional) Migration flags to be set for block migration (string value)
# Defaults to undef
#
class nova::migration::libvirt(
$use_tls = false,
$auth = 'none',
@ -68,9 +58,6 @@ class nova::migration::libvirt(
$override_uuid = false,
$configure_libvirt = true,
$configure_nova = true,
#DEPRECATED PARAMETERS
$live_migration_flag = undef,
$block_migration_flag = undef,
){
include ::nova::deps
@ -85,14 +72,6 @@ class nova::migration::libvirt(
$listen_tcp = '1'
}
if $live_migration_flag {
warning('live_migration_flag parameter is deprecated, has no effect and will be removed in a future release.')
}
if $block_migration_flag {
warning('block_migration_flag parameter is deprecated, has no effect and will be removed in a future release.')
}
if $configure_nova {
if $use_tls {
nova_config {

View File

@ -0,0 +1,5 @@
---
deprecations:
- The 'live_migration_flag' and 'block_migration_flag' options in libvirt
section that were deprecated in Mitaka have been completely removed in
Newton.