Remove allow_overlapping_ips
The parameter was already removed from Neutron. Depends-on: https://review.opendev.org/837286 Change-Id: I7f95546d447e057de09a2e444a2957c805a47edb
This commit is contained in:
parent
df0d55cf78
commit
0815ace85b
@ -3,7 +3,6 @@
|
||||
# General Neutron stuff
|
||||
# Configures everything in neutron.conf
|
||||
class { 'neutron':
|
||||
allow_overlapping_ips => true,
|
||||
default_transport_url => 'rabbit://guest:password@localhost:5672/neutron',
|
||||
service_plugins => ['metering']
|
||||
}
|
||||
@ -46,7 +45,6 @@ class { 'neutron::plugins::ml2':
|
||||
# Generally, any machine with a neutron element running on it talks
|
||||
# over Rabbit and needs to know if overlapping IPs (namespaces) are in use
|
||||
class { 'neutron':
|
||||
allow_overlapping_ips => true,
|
||||
default_transport_url => 'rabbit://guest:password@localhost:5672/neutron',
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
#
|
||||
|
||||
class { 'neutron':
|
||||
allow_overlapping_ips => true,
|
||||
default_transport_url => 'rabbit://guest:password@localhost:5672/neutron',
|
||||
service_plugins => ['router']
|
||||
}
|
||||
|
@ -23,8 +23,7 @@
|
||||
# sudo pcs constraint colocation add neutron_server_service with neutron_vip
|
||||
|
||||
class { 'neutron':
|
||||
allow_overlapping_ips => true,
|
||||
service_plugins => [ 'dhcp', 'l3' ]
|
||||
service_plugins => [ 'dhcp', 'l3' ]
|
||||
}
|
||||
|
||||
class { 'neutron::server':
|
||||
|
@ -1,6 +1,5 @@
|
||||
# Example of manifest to deploy Neutron API in WSGI with Apache
|
||||
class { 'neutron':
|
||||
allow_overlapping_ips => true,
|
||||
default_transport_url => 'rabbit://guest:password@localhost:5672/neutron',
|
||||
}
|
||||
|
||||
|
@ -309,12 +309,6 @@
|
||||
# (optional) Allow plugins that support it to create VLAN transparent networks
|
||||
# Defaults to $::os_service_default
|
||||
#
|
||||
# DEPRECATED PARAMETERS
|
||||
#
|
||||
# [*allow_overlapping_ips*]
|
||||
# (optional) Enables network namespaces
|
||||
# Defaults to undef
|
||||
#
|
||||
class neutron (
|
||||
$enabled = true,
|
||||
$package_ensure = 'present',
|
||||
@ -381,19 +375,11 @@ class neutron (
|
||||
$notification_transport_url = $::os_service_default,
|
||||
$max_allowed_address_pair = $::os_service_default,
|
||||
$vlan_transparent = $::os_service_default,
|
||||
# DEPRECATED PARAMETERS
|
||||
$allow_overlapping_ips = undef,
|
||||
) {
|
||||
|
||||
include neutron::deps
|
||||
include neutron::params
|
||||
|
||||
if $allow_overlapping_ips != undef {
|
||||
warning('The allow_overlapping_ips parameter is deprecated and \
|
||||
will be removed in a future release.')
|
||||
}
|
||||
$allow_overlapping_ips_real = pick($allow_overlapping_ips, $::os_service_default)
|
||||
|
||||
if ! is_service_default($use_ssl) and ($use_ssl) {
|
||||
if is_service_default($cert_file) {
|
||||
fail('The cert_file parameter is required when use_ssl is set to true')
|
||||
@ -431,7 +417,6 @@ will be removed in a future release.')
|
||||
'DEFAULT/dhcp_agents_per_network': value => $dhcp_agents_per_network;
|
||||
'DEFAULT/dhcp_agent_notification': value => $dhcp_agent_notification;
|
||||
'DEFAULT/allow_bulk': value => $allow_bulk;
|
||||
'DEFAULT/allow_overlapping_ips': value => $allow_overlapping_ips_real;
|
||||
'DEFAULT/api_extensions_path': value => $api_extensions_path;
|
||||
'DEFAULT/state_path': value => $state_path;
|
||||
'DEFAULT/global_physnet_mtu': value => $global_physnet_mtu;
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The ``neutron::allow_overlapping_ips`` parameter has been removed.
|
@ -108,7 +108,6 @@ describe 'neutron' do
|
||||
should contain_neutron_config('DEFAULT/global_physnet_mtu').with_value('<SERVICE DEFAULT>')
|
||||
should contain_neutron_config('DEFAULT/dhcp_agent_notification').with_value('<SERVICE DEFAULT>')
|
||||
should contain_neutron_config('DEFAULT/allow_bulk').with_value('<SERVICE DEFAULT>')
|
||||
should contain_neutron_config('DEFAULT/allow_overlapping_ips').with_value('<SERVICE DEFAULT>')
|
||||
should contain_neutron_config('DEFAULT/api_extensions_path').with_value('<SERVICE DEFAULT>')
|
||||
should contain_neutron_config('DEFAULT/control_exchange').with_value('<SERVICE DEFAULT>')
|
||||
should contain_neutron_config('DEFAULT/state_path').with_value('<SERVICE DEFAULT>')
|
||||
|
Loading…
x
Reference in New Issue
Block a user