When the DHCP agent requests a port from a server, it asks
for fixed IPs from specific subnets. However, if the server
is doing auto ipv6 addressing, it may give it an extra IP
it never asked for. The previous logic was not expecting this
so it would fail to correctly setup the DHCP port.
This patch just ignores any IPs on subnets the DHCP agent
isn't servicing.
Reviewed: https:/ /review. openstack. org/364323 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e5339b4a3d7 9693a09e19322eb c804b5e1c765ec
Committed: https:/
Submitter: Jenkins
Branch: master
commit e5339b4a3d79693 a09e19322ebc804 b5e1c765ec
Author: Kevin Benton <email address hidden>
Date: Thu Sep 1 06:45:52 2016 -0700
Ignore extra subnet IPs in DHCP agent
When the DHCP agent requests a port from a server, it asks
for fixed IPs from specific subnets. However, if the server
is doing auto ipv6 addressing, it may give it an extra IP
it never asked for. The previous logic was not expecting this
so it would fail to correctly setup the DHCP port.
This patch just ignores any IPs on subnets the DHCP agent
isn't servicing.
Closes-Bug: #1618674 751fa98eee326bc 2acd2a16860
Change-Id: I1c26c85520258b