Remove deprecated gateway_external_network_id

... because it was deprecated several cycles ago[1] and has had no
effect since then. The parameter was already removed from Neutron[2].

[1] a962699bc7
[2] 9b2e472ae971498016337c7bcedbe9cbbcc434a8

Change-Id: I40c9580b4aef07d8da2999c0ff15bc12ce027e59
This commit is contained in:
Takashi Kajinami 2022-04-25 10:04:52 +09:00
parent 47ee9cb8cb
commit 5d9b18f604
2 changed files with 5 additions and 16 deletions

View File

@ -122,12 +122,6 @@
# Used by logging service plugin.
# Defaults to $::os_service_default.
#
# DEPRECATED PARAMETERS
#
# [*gateway_external_network_id*]
# (optional) The ID of the external network in neutron
# Defaults to undef
#
class neutron::agents::l3 (
$package_ensure = 'present',
$enabled = true,
@ -154,21 +148,11 @@ class neutron::agents::l3 (
$network_log_rate_limit = $::os_service_default,
$network_log_burst_limit = $::os_service_default,
$network_log_local_output_log_base = $::os_service_default,
# DEPRECATED PARAMETERS
$gateway_external_network_id = undef,
) {
include neutron::deps
include neutron::params
if $gateway_external_network_id != undef {
warning('gateway_external_network_id parameter is deprecated and has no effect')
}
neutron_l3_agent_config {
'DEFAULT/gateway_external_network_id': ensure => absent;
}
resources { 'neutron_l3_agent_config':
purge => $purge_config,
}

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The ``neutron::agents::l3::gateway_external_network_id`` parameter has been
removed.