]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Mitigate restriction for fixed ips per dhcp port
authorwatanabe isao <watanabe_isao@jp.fujitsu.com>
Tue, 30 Jun 2015 05:36:40 +0000 (14:36 +0900)
committerNGUYEN TUONG THANH <thanhnt@vn.fujitsu.com>
Thu, 31 Dec 2015 10:01:00 +0000 (17:01 +0700)
commit8f036fd34011bbf138815b21e2ef4c9760a5e0e6
tree577a84825b62e2d21e1af2142a17b0dca7b3e62f
parentd8a57788a1ea78aa7fcef0a93b175810de39411f
Mitigate restriction for fixed ips per dhcp port

When number of fixed ips per dhcp port exceeds max_fixed_ips_per_port,
a dhcp resync will be triggered.

The bug report stated how simply this issue can be triggered.
Moreover, "max_fixed_ips_per_port" value should be used for non-DHCP
port only and DHCP port is not affected by this parameter.

Change-Id: Iaa9ed6949383ba6a7ce0b3ffd9dcced663126317
Co-authored-by: NGUYEN TUONG THANH <thanhnt@vn.fujitsu.com>
Closes-Bug: #1179713
neutron/db/ipam_backend_mixin.py
neutron/db/ipam_non_pluggable_backend.py
neutron/db/ipam_pluggable_backend.py
neutron/tests/unit/db/test_db_base_plugin_v2.py