Deprecate support for [nova] live_migration_events
Change-Id: Icd130ccd24b61eee38d6a9da17d6cc1d66064927
This commit is contained in:
parent
3389f02d67
commit
b8948287d6
@ -69,6 +69,8 @@
|
||||
# the keystone catalog.
|
||||
# Defaults to $::os_service_default
|
||||
#
|
||||
# DEPRECATED PARAMETERS
|
||||
#
|
||||
# [*live_migration_events*]
|
||||
# (optional) When this option is enabled, during the live migration, the OVS
|
||||
# agent will only send the "vif-plugged-event" when the destination host
|
||||
@ -88,11 +90,17 @@ class neutron::server::notifications::nova (
|
||||
$auth_url = 'http://127.0.0.1:5000',
|
||||
$region_name = $::os_service_default,
|
||||
$endpoint_type = $::os_service_default,
|
||||
$live_migration_events = $::os_service_default,
|
||||
# DEPRECATED PARAMETERS
|
||||
$live_migration_events = undef,
|
||||
) {
|
||||
|
||||
include neutron::deps
|
||||
|
||||
if $live_migration_events != undef {
|
||||
warning('The live_migration_events parameter is deprecated \
|
||||
and will be removed in a future release')
|
||||
}
|
||||
|
||||
if is_service_default($system_scope) {
|
||||
$project_name_real = $project_name
|
||||
$project_domain_name_real = $project_domain_name
|
||||
@ -115,7 +123,7 @@ class neutron::server::notifications::nova (
|
||||
}
|
||||
|
||||
neutron_config {
|
||||
'nova/live_migration_events': value => $live_migration_events;
|
||||
'nova/live_migration_events': value => pick($live_migration_events, $::os_service_default);
|
||||
'DEFAULT/notify_nova_on_port_status_changes': value => $notify_nova_on_port_status_changes;
|
||||
'DEFAULT/notify_nova_on_port_data_changes': value => $notify_nova_on_port_data_changes;
|
||||
}
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The ``neutron::server::notifications::nova::live_migration_events``
|
||||
parameter has been deprecated and will be removed in a future release.
|
Loading…
Reference in New Issue
Block a user