Remove support for linuxbridge mechanism driver
This mechanism driver was deprecated several cycles ago and we've not used it in our testing for some time. It's being removed from neutron[1] now so it's time to clean up the unused logic. [1] https://review.opendev.org/c/openstack/neutron/+/927216 Change-Id: I78bb7f9d49577b8556ea93067399f19b21a060c0
This commit is contained in:
parent
ed5a9b0ae6
commit
d61718175e
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# [*driver*]
|
# [*driver*]
|
||||||
# (optional) Neutron Driver to test
|
# (optional) Neutron Driver to test
|
||||||
# Can be: openvswitch, linuxbridge or ovn.
|
# Can be: openvswitch or ovn.
|
||||||
# Defaults to 'openvswitch'.
|
# Defaults to 'openvswitch'.
|
||||||
#
|
#
|
||||||
# [*ovn_metadata_agent_enabled*]
|
# [*ovn_metadata_agent_enabled*]
|
||||||
@ -111,7 +111,7 @@ class openstack_integration::neutron (
|
|||||||
before => Anchor['neutron::service::begin'],
|
before => Anchor['neutron::service::begin'],
|
||||||
}
|
}
|
||||||
|
|
||||||
if $driver == 'openvswitch' or $driver == 'linuxbridge' {
|
if $driver == 'openvswitch' {
|
||||||
selboolean { 'os_dnsmasq_dac_override':
|
selboolean { 'os_dnsmasq_dac_override':
|
||||||
persistent => true,
|
persistent => true,
|
||||||
value => on,
|
value => on,
|
||||||
@ -139,14 +139,6 @@ class openstack_integration::neutron (
|
|||||||
'ovn': {
|
'ovn': {
|
||||||
require openstack_integration::ovn
|
require openstack_integration::ovn
|
||||||
}
|
}
|
||||||
'linuxbridge': {
|
|
||||||
exec { 'create_dummy_iface':
|
|
||||||
path => '/usr/bin:/bin:/usr/sbin:/sbin',
|
|
||||||
provider => shell,
|
|
||||||
unless => 'ip l show loop0',
|
|
||||||
command => 'ip link add name loop0 type dummy && ip addr add 172.24.5.1/24 dev loop0 && ip link set loop0 up',
|
|
||||||
}
|
|
||||||
}
|
|
||||||
default: {
|
default: {
|
||||||
fail("Unsupported neutron driver (${driver})")
|
fail("Unsupported neutron driver (${driver})")
|
||||||
}
|
}
|
||||||
@ -213,12 +205,6 @@ class openstack_integration::neutron (
|
|||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
if $driver == 'linuxbridge' {
|
|
||||||
$global_physnet_mtu = '1450'
|
|
||||||
} else {
|
|
||||||
$global_physnet_mtu = undef
|
|
||||||
}
|
|
||||||
|
|
||||||
class { 'neutron::logging':
|
class { 'neutron::logging':
|
||||||
debug => true,
|
debug => true,
|
||||||
}
|
}
|
||||||
@ -246,7 +232,6 @@ class openstack_integration::neutron (
|
|||||||
key_file => "/etc/neutron/ssl/private/${facts['networking']['fqdn']}.pem",
|
key_file => "/etc/neutron/ssl/private/${facts['networking']['fqdn']}.pem",
|
||||||
notification_topics => $notification_topics,
|
notification_topics => $notification_topics,
|
||||||
notification_driver => 'messagingv2',
|
notification_driver => 'messagingv2',
|
||||||
global_physnet_mtu => $global_physnet_mtu,
|
|
||||||
dhcp_agent_notification => $dhcp_agent_notification,
|
dhcp_agent_notification => $dhcp_agent_notification,
|
||||||
}
|
}
|
||||||
class { 'neutron::keystone::authtoken':
|
class { 'neutron::keystone::authtoken':
|
||||||
@ -424,14 +409,6 @@ Environment=OS_NEUTRON_CONFIG_FILES=${join($neutron_conf_files, ';')}",
|
|||||||
ovn_metadata_enabled => true,
|
ovn_metadata_enabled => true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'linuxbridge': {
|
|
||||||
class { 'neutron::agents::ml2::linuxbridge':
|
|
||||||
local_ip => $facts['networking']['ip'],
|
|
||||||
tunnel_types => ['vxlan'],
|
|
||||||
physical_interface_mappings => ['external:loop0'],
|
|
||||||
firewall_driver => 'iptables',
|
|
||||||
}
|
|
||||||
}
|
|
||||||
default: {
|
default: {
|
||||||
fail("Unsupported neutron driver (${driver})")
|
fail("Unsupported neutron driver (${driver})")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user