commit ce2ddcbf3f0cddeb1025f4aab224d78df4554630
Author: Yang JianFeng <email address hidden>
Date: Thu Nov 29 20:18:31 2018 +0800
Fix the bug about DHCP port whose network has multiple subnets.
When a subnet's enable_dhcp attribute is updated, we must restart
dhcp device. So,when we decide whether 'restart' or
'reload_allocations' in refresh_dhcp_helper function we only compare
the cidr of subnets which enabled dhcp.
The previous logic only calls 'restart' when deleting or adding a
subnet. This may cause the dhcp port not updated when the subnet's
enable_dhcp is updated to True.
Change-Id: Ic547946ac786c5fab82b4ee7078bf86483f51eb5
Closes-Bug: #1805824
(cherry picked from commit 9aa7af82210f1ffb6274399648962b65162e17d1)
Reviewed: https:/ /review. openstack. org/625152 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=ce2ddcbf3f0 cddeb1025f4aab2 24d78df4554630
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit ce2ddcbf3f0cdde b1025f4aab224d7 8df4554630
Author: Yang JianFeng <email address hidden>
Date: Thu Nov 29 20:18:31 2018 +0800
Fix the bug about DHCP port whose network has multiple subnets.
When a subnet's enable_dhcp attribute is updated, we must restart allocations' in refresh_dhcp_helper function we only compare
dhcp device. So,when we decide whether 'restart' or
'reload_
the cidr of subnets which enabled dhcp.
The previous logic only calls 'restart' when deleting or adding a
subnet. This may cause the dhcp port not updated when the subnet's
enable_dhcp is updated to True.
Change-Id: Ic547946ac786c5 fab82b4ee7078bf 86483f51eb5 b6274399648962b 65162e17d1)
Closes-Bug: #1805824
(cherry picked from commit 9aa7af82210f1ff