cc7e3e92fe
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
|
||
---|---|---|
.. | ||
common | ||
dhcp | ||
l2 | ||
l3 | ||
linux | ||
metadata | ||
ovsdb | ||
windows | ||
__init__.py | ||
test_agent_extensions_manager.py | ||
test_resource_cache.py | ||
test_rpc.py | ||
test_securitygroups_rpc.py |