neutron/neutron/tests/unit/agent/dhcp
Yang JianFeng cc7e3e92fe 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 9aa7af8221)
2018-12-15 07:50:34 +00:00
..
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_agent.py Fix the bug about DHCP port whose network has multiple subnets. 2018-12-15 07:50:34 +00:00