Skip to content

Commit 5206387

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Filter subnets by "enable_dhcp" flag using the correct type" into stable/yoga
2 parents aaafcbe + 8e6c189 commit 5206387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_db_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ def _sync_subnet_dhcp_options(self, ctx, db_networks,
769769
LOG.debug('OVN-NB Sync DHCP options for Neutron subnets started')
770770

771771
db_subnets = {}
772-
filters = {'enable_dhcp': [1]}
772+
filters = {'enable_dhcp': [True]}
773773
for subnet in self.core_plugin.get_subnets(ctx, filters=filters):
774774
if (subnet['ip_version'] == constants.IP_VERSION_6 and
775775
subnet.get('ipv6_address_mode') == constants.IPV6_SLAAC):

0 commit comments

Comments
 (0)