Neutron: Disable dhcp agent notification when ovn driver is used

... because we do not deploy dhcp agent when ovn driver is used.

Change-Id: Icf6555ad43500d6449338d0ea6519ebd341bcb1b
This commit is contained in:
Takashi Kajinami 2023-02-24 23:27:11 +09:00
parent 17d72d4262
commit da95feb8cf

View File

@ -109,9 +109,12 @@ class openstack_integration::neutron (
}
if $driver == 'ovn' {
$dhcp_agent_notification = false
$plugins_list = ['qos', 'ovn-router', 'trunk']
$providers_list = undef
} else {
$dhcp_agent_notification = true
$bgpvpn_plugin = $bgpvpn_enabled ? {
true => 'bgpvpn',
default => undef,
@ -178,6 +181,7 @@ class openstack_integration::neutron (
notification_topics => $notification_topics,
notification_driver => 'messagingv2',
global_physnet_mtu => $global_physnet_mtu,
dhcp_agent_notification => $dhcp_agent_notification,
}
class { 'neutron::client': }
class { 'neutron::keystone::authtoken':